We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7cff0 commit 353fa40Copy full SHA for 353fa40
Network_scanner/network_scanner.py
@@ -1,5 +1,10 @@
1
-import scapy.all as scapy
2
-import optparse
+try:
+ import scapy.all as scapy
3
+ import optparse
4
+except ImportError:
5
+ print("[+] packages not installed ")
6
+ print("try-> pip install scapy")
7
+ print("pip install optparse-pretty")
8
9
10
def get_arguments(): # function to pass input in console
0 commit comments