Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 353fa40

Browse files
Update network_scanner.py
1 parent 3a7cff0 commit 353fa40

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎Network_scanner/network_scanner.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import scapy.all as scapy
2-
import optparse
1+
try:
2+
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")
38

49

510
def get_arguments(): # function to pass input in console

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /