fixed ctrl-c bug

This commit is contained in:
DanMcInerney 2014-01-05 13:41:49 -05:00
parent 5e922d1c6f
commit d81f7f96b0

View file

@ -1041,7 +1041,7 @@ def main(args):
print "[*] Router MAC: " + routerMAC print "[*] Router MAC: " + routerMAC
logger.write("[*] Router MAC: "+routerMAC+'\n') logger.write("[*] Router MAC: "+routerMAC+'\n')
except Exception: except Exception:
ac = raw_input = "[-] Router did not respond to ARP request for MAC, attempt to pull the MAC from the ARP cache? [y/n] " ac = raw_input("[-] Router did not respond to ARP request for MAC, attempt to pull the MAC from the ARP cache? [y/n] ")
if ac == 'y': if ac == 'y':
try: try:
print "[-] Router did not respond to ARP request for MAC, attempting to pull the MAC from the ARP cache" print "[-] Router did not respond to ARP request for MAC, attempting to pull the MAC from the ARP cache"