def initialize(self, options): self.options = options from core.sslstrip.URLMonitor import URLMonitor from core.servers.DNS import DNSChef from core.utils import iptables if iptables().dns is False: iptables().DNS(self.config['MITMf']['DNS']['port']) URLMonitor.getInstance().setHstsBypass() DNSChef().setHstsBypass()
def test_DNSChef(self): from core.logger import logger logger.log_level = logging.DEBUG from core.servers.DNS import DNSChef DNSChef().start()
print "|_ Sergio-Proxy v0.2.1 online" print "|_ SSLstrip v0.9 by Moxie Marlinspike online" #Start mitmf-api from core.mitmfapi import mitmfapi print "|" print "|_ MITMf-API online" mitmfapi().start() #Start the HTTP Server from core.servers.HTTP import HTTP HTTP().start() print "|_ HTTP server online" #Start DNSChef from core.servers.DNS import DNSChef DNSChef().start() print "|_ DNSChef v{} online".format(DNSChef.version) #Start the SMB server from core.servers.SMB import SMB SMB().start() print "|_ SMB server online\n" #start the reactor reactor.run() print "\n" shutdown()