diff --git a/listener.py b/listener.py index 45581f1..5b42d87 100755 --- a/listener.py +++ b/listener.py @@ -130,7 +130,7 @@ def reset_interface(interface): try: subprocess.call(["ip", "link", "set", interface, "down"]) time.sleep(1) - subprocess.call(["iw", interface, "set", "type", "managed"]) + subprocess.call(["iw", interface, "set", "type", "monitor"]) time.sleep(1) subprocess.call(["ip", "link", "set", interface, "up"]) time.sleep(1) @@ -147,7 +147,7 @@ def main(): args = parser.parse_args() reset_interface(args.monitor_iface) - + print(f"[+] Starting passive observer.") print(f" Main interface: {args.main_iface}") print(f" Monitor interface: {args.monitor_iface}")