hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
Hi DKblue.
You're welcome. I know that ARG forum, well. There are nice posts inside about Fibertel's and Speedy's.

The solution for your problem is a simple bash script that:
disables NetworkManager and wpa_supplicant
enables monitor mode for the selceted device
brings interface up

and a second script that
disables monitor mode for selected device
brings interface up
enables NetworkManager and wpa_supplicant

I'm shure some UBUNTU/DEBIAN users can post their scripts here.

for an arch system:

makemonitor
---------------
#!/bin/sh
if test -z "$1"
then
for IFACE in `ls -1 /sys/class/net | grep ^wl`
do
printf "$IFACE "
cat /sys/class/net/$IFACE/address
done
printf "\nselect interface: "
read WLANDEV
else
WLANDEV=$1
fi
echo "deactivate monitor mode on $WLANDEV"
sudo ip link set $WLANDEV down
sudo iw dev $WLANDEV set type managed
sudo ip link set $WLANDEV up
sudo iw dev $WLANDEV info

echo "activate services"
sudo systemctl start NetworkManager.service
sudo systemctl start wpa_supplicant.service

killmonitor
-----------
#!/bin/sh

if test -z "$1"
then
for IFACE in `ls -1 /sys/class/net | grep ^wl`
do
printf "$IFACE "
cat /sys/class/net/$IFACE/address
done
printf "\nselect interface: "
read WLANDEV
else
WLANDEV=$1
fi
echo "deactivate services"
sudo systemctl stop NetworkManager.service
sudo systemctl stop wpa_supplicant.service
echo "activate monitor mode on  $WLANDEV"
sudo ip link set $WLANDEV down
sudo iw dev $WLANDEV set type monitor
sudo ip link set $WLANDEV up
sudo iw dev $WLANDEV info
Reply


Messages In This Thread
RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - by ZerBea - 12-07-2017, 10:52 AM
wlandump-ng vs hcxdumptool - by hulley - 02-10-2018, 10:26 PM