Movatterモバイル変換


[0]ホーム

URL:


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

Commit8cb4e55

Browse files
committed
fixed wifi scanner code
1 parent68a2a97 commit8cb4e55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎scapy/wifi-scanner/wifi_scanner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
importpandas
44
importtime
55
importos
6+
importsys
67

78

89
# initialize the networks dataframe that will contain all access points nearby
@@ -47,7 +48,7 @@ def change_channel():
4748

4849
if__name__=="__main__":
4950
# interface name, check using iwconfig
50-
interface="wlan0mon"
51+
interface=sys.argv[1]
5152
# start the thread that prints all the networks
5253
printer=Thread(target=print_all)
5354
printer.daemon=True

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp