Explorar el Código

Actually use LISTEN_PORT

RichardG867 hace 10 años
padre
commit
9ce596ce00
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      waybackproxy.py

+ 2 - 1
waybackproxy.py

@@ -218,7 +218,8 @@ class Handler(SocketServer.BaseRequestHandler):
 
 def main():
 	"""Starts the server."""
-	server = ThreadingTCPServer(('', 8888), Handler)
+	server = ThreadingTCPServer(('', LISTEN_PORT), Handler)
+	print '[-] Now listening on port {0}'.format(LISTEN_PORT)
 	try:
 		server.serve_forever()
 	except KeyboardInterrupt: # Ctrl+C to stop