We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a2a97 commit 8cb4e55Copy full SHA for 8cb4e55
scapy/wifi-scanner/wifi_scanner.py
@@ -3,6 +3,7 @@
3
import pandas
4
import time
5
import os
6
+import sys
7
8
9
# initialize the networks dataframe that will contain all access points nearby
@@ -47,7 +48,7 @@ def change_channel():
47
48
49
if __name__ == "__main__":
50
# interface name, check using iwconfig
- interface = "wlan0mon"
51
+ interface = sys.argv[1]
52
# start the thread that prints all the networks
53
printer = Thread(target=print_all)
54
printer.daemon = True
0 commit comments