- Fixed Responder plugin calling wrong var

- Modified output
This commit is contained in:
byt3bl33d3r 2015-03-10 23:26:32 +01:00
parent 8b6e5e99d4
commit 68c9c7e1bd
4 changed files with 15 additions and 12 deletions

View file

@ -2503,10 +2503,6 @@ def start_responder(options, ip_address, config):
AnalyzeICMPRedirect() AnalyzeICMPRedirect()
print "[*] NBT-NS, LLMNR & MDNS Responder v%s by Laurent Gaffie online" % VERSION
if AnalyzeMode:
print '[*] Responder is in analyze mode. No NBT-NS, LLMNR, MDNS requests will be poisoned\n'
start_message = "Responder will redirect requests to: %s\n" % ip_address start_message = "Responder will redirect requests to: %s\n" % ip_address
start_message += "Challenge set: %s\n" % NumChal start_message += "Challenge set: %s\n" % NumChal
start_message += "WPAD Proxy Server: %s\n" % WPAD_On_Off start_message += "WPAD Proxy Server: %s\n" % WPAD_On_Off

View file

@ -131,8 +131,7 @@ rootLogger.addHandler(fileHandler)
##################################################################################################### #####################################################################################################
#All our options should be loaded now, pass them onto plugins #All our options should be loaded now, pass them onto plugins
print "[*] MITMf v%s started... initializing plugins" % mitmf_version print "[*] MITMf v%s online... initializing plugins" % mitmf_version
print "[*] sergio-proxy v%s online" % sergio_version
load = [] load = []
@ -170,10 +169,9 @@ else:
if hasattr(p, 'plugin_reactor'): if hasattr(p, 'plugin_reactor'):
p.plugin_reactor(strippingFactory) #we pass the default strippingFactory, so the plugins can use it p.plugin_reactor(strippingFactory) #we pass the default strippingFactory, so the plugins can use it
print "\n[*] sslstrip v%s by Moxie Marlinspike running..." % sslstrip_version print "|"
print "|_ Sergio-Proxy v%s online" % sergio_version
if args.hsts: print "|_ SSLstrip v%s by Moxie Marlinspike running..." % sslstrip_version
print "[*] sslstrip+ by Leonardo Nve running..."
reactor.run() reactor.run()

View file

@ -19,15 +19,22 @@ class Responder(Plugin):
self.options = options self.options = options
self.interface = options.interface self.interface = options.interface
RESP_VERSION = "2.1.2"
try: try:
config = options.configfile['Responder'] config = options.configfile['Responder']
except Exception, e: except Exception, e:
sys.exit('[-] Error parsing config for Responder: ' + str(e)) sys.exit('[-] Error parsing config for Responder: ' + str(e))
DnsCache.getInstance().setCustomAddress(self.ip_address) DnsCache.getInstance().setCustomAddress(options.ip_address)
for name in ['wpad', 'ISAProxySrv', 'RespProxySrv']: for name in ['wpad', 'ISAProxySrv', 'RespProxySrv']:
DnsCache.getInstance().setCustomRes(name, self.ip_address) DnsCache.getInstance().setCustomRes(name, options.ip_address)
print "| |_ NBT-NS, LLMNR & MDNS Responder v%s by Laurent Gaffie online" % RESP_VERSION
if options.Analyse:
print '| |_ Responder is in analyze mode. No NBT-NS, LLMNR, MDNS requests will be poisoned'
t = threading.Thread(name='responder', target=start_responder, args=(options, options.ip_address, config)) t = threading.Thread(name='responder', target=start_responder, args=(options, options.ip_address, config))
t.setDaemon(True) t.setDaemon(True)

View file

@ -18,4 +18,6 @@ class HSTSbypass(Plugin):
except Exception, e: except Exception, e:
sys.exit("[-] Error parsing config for SSLstrip+: " + str(e)) sys.exit("[-] Error parsing config for SSLstrip+: " + str(e))
print "| |_ SSLstrip+ by Leonardo Nve running"
URLMonitor.getInstance().setHstsBypass(config) URLMonitor.getInstance().setHstsBypass(config)