Keep connection alive while running hcxdumptool - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: Keep connection alive while running hcxdumptool (/thread-11082.html) |
Keep connection alive while running hcxdumptool - panyer - 10-20-2022 Hi, To run hcxdumptool you need to stop services that access wireless interfaces (like network monitor and wpa supplicant) and so you lose all connectivity to the box. I was wondering if it is possible to keep a wireless connection alive, using a second wireless interface, while running hcxdumptool. I tested to restart the services while capturing and it seems to work fine, interface 2 capturing and interface 1 connected. However, if I was remote connected I couldn't restart it, as remote session would be lost when services got stopped. Any ideas on how to do that? Thanks in advance RE: Keep connection alive while running hcxdumptool - ZerBea - 10-20-2022 Edit NetworkManager config to ignore the device that hcxdumptool use: https://wiki.archlinux.org/title/NetworkManager explained in chapter 7.7 Ignore specific devices use BPF code to ignore the second device which is used for remote control and the router to which it is connected Code: --bpfc=<file> : input kernel space Berkeley Packet Filter (BPF) code run hcxdumptool (with options --bpfc and -c where you have to exclude the channel of the remote connection) and ignore the warning that NetworkManager is alive. RE: Keep connection alive while running hcxdumptool - panyer - 10-20-2022 (10-20-2022, 10:40 AM)ZerBea Wrote: Edit NetworkManager config to ignore the device that hcxdumptool use: Thanks, for the tool and for the help. It worked! RE: Keep connection alive while running hcxdumptool - ZerBea - 10-21-2022 You're welcome. BTW: hcxdumtool (and hcxlabtool series) and hcxtools provide a solution for nearly every purpose, either by cascading the options or by cascading the tools itself or both. |