This commit should resolve issues #106 and #109

Issue #106 was caused by a 'None' value being returned when BeEF was unable to detect the hooked browser's OS

Issue #109 was probably caused by locked resources when send() and sendp() where being called, adding in sleep() seems to have resolved the issue (at least on my machine)
This commit is contained in:
byt3bl33d3r 2015-06-06 14:20:54 +02:00
parent ffdb4ff55c
commit d56ce5447e
3 changed files with 21 additions and 19 deletions

View file

@ -40,7 +40,7 @@ class Spoof(Plugin):
self.dnscfg = self.config['MITMf']['DNS']
self.dhcpcfg = self.config['Spoof']['DHCP']
self.targets = options.targets
self.arpmode = 'rep' or options.arpmode
self.arpmode = options.arpmode or 'rep'
self.manualiptables = options.manualiptables
self.mymac = SystemConfig.getMAC(options.interface)
self.myip = SystemConfig.getIP(options.interface)