mirror of
https://github.com/DanMcInerney/LANs.py.git
synced 2025-07-06 13:02:20 -07:00
fixed ctrl-c bug
This commit is contained in:
parent
5e922d1c6f
commit
d81f7f96b0
1 changed files with 1 additions and 1 deletions
2
LANs.py
2
LANs.py
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue