Closed PawanBhusal closed 7 years ago
the error are as follow code@code-hack:~/Desktop/hacking/netattack2$ ./netattack2.py from: can't read /var/mail/threading from: can't read /var/mail/time ./netattack2.py: line 10: syntax error near unexpected token "scapy.runtime"' ./netattack2.py: line 10:logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # scapy, please shut up..'
"scapy.runtime"' ./netattack2.py: line 10:
Somehow the shebang was not added to the netattack2.py file. Download the repo again and try it out, should work fine now.
Thanks for reporting.
the error are as follow code@code-hack:~/Desktop/hacking/netattack2$ ./netattack2.py from: can't read /var/mail/threading from: can't read /var/mail/time ./netattack2.py: line 10: syntax error near unexpected token
"scapy.runtime"' ./netattack2.py: line 10:
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # scapy, please shut up..'