second implementation of the HTTP server, you can now define shares for the SMB server in the config file, added an option to switch between the normal SMB server and the Karma version.

removed some useless code (left over from the responder plugin), serverResponseStatus hook now returns a dict (tuple was causing errors)
This commit is contained in:
byt3bl33d3r 2015-05-30 15:00:41 +02:00
commit 14580f1589
14 changed files with 806 additions and 920 deletions

View file

@ -179,12 +179,12 @@ print "|_ DNSChef v{} online".format(DNSChef.version)
#Start the HTTP Server
from core.servers.http.HTTPServer import HTTPServer
HTTPServer.getInstance().start()
print "|_ HTTPserver online"
print "|_ HTTP server online"
#Start the SMB server
from core.servers.smb.SMBserver import SMBserver
print "|_ SMBserver online (Impacket {})\n".format(SMBserver.impacket_ver)
SMBserver().start()
print "|_ SMB server online [Mode: {}] (Impacket {}) \n".format(SMBserver.getInstance().server_type, SMBserver.getInstance().impacket_ver)
SMBserver.getInstance().start()
#start the reactor
reactor.run()