Fixed an ssl bug that would cause SSL to error out

This commit is contained in:
TrustedSec 2013-06-17 18:41:41 -04:00
parent 8f6cf42701
commit 1658eb7a35
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -75,7 +75,7 @@ if attack_vector == "tabnabbing":
filewrite1.write("</body>\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("<script>\n")