mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-24 13:33:04 +00:00
Fixed an ssl bug that would cause SSL to error out
This commit is contained in:
parent
8f6cf42701
commit
1658eb7a35
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue