diff --git a/src/webattack/harvester/harvester.py b/src/webattack/harvester/harvester.py index b1ffdb62f..d9e6ae416 100644 --- a/src/webattack/harvester/harvester.py +++ b/src/webattack/harvester/harvester.py @@ -482,8 +482,12 @@ class SecureHTTPServer(HTTPServer): # activate the interface self.server_activate() + def shutdown_request(self,request): request.shutdown() + + def ssl_server(HandlerClass = SETHandler,ServerClass = SecureHTTPServer): # bind to all interfaces on 443 + import src.core.patched.socket server_address = ('', 443) # (address, port) # setup the httpd server httpd = ServerClass(server_address, HandlerClass) diff --git a/src/webattack/tabnabbing/tabnabbing.py b/src/webattack/tabnabbing/tabnabbing.py index 3d5109a12..1be374c3e 100644 --- a/src/webattack/tabnabbing/tabnabbing.py +++ b/src/webattack/tabnabbing/tabnabbing.py @@ -75,7 +75,7 @@ if attack_vector == "tabnabbing": filewrite1.write("\n") filewrite1.close() -# define webjackign or multi webjacking here +# define webjacking or multi webjacking here if attack_vector == "webjacking" or multi_webjacking == "on": filewrite1=file(setdir + "/web_clone/index.html", "w") filewrite1.write("