hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
can be done by bash scripts, too.

Quick and dirty solution:
Code:
#!/bin/bash

while read -r line;
do
    printf $line | awk 'BEGIN { FS = "*" } ; { printf $4 ":" }'
    printf $line | awk 'BEGIN { FS = "*" } ; { print $6 }' | perl -pe 's/(..)/chr(hex($1))/ge'
done < example2.22000

will print:
Code:
aef50f22801c:8381533406003807685881523

That is the real advantage of the new hash line. You can do everything, running bash commands (pearl, python, or what ever you want).

https://www.tutorialspoint.com/awk/index.htm
https://www.tutorialspoint.com/perl/index.htm
https://www.tutorialspoint.com/unix_commands/bash.htm
Reply


Messages In This Thread
wlandump-ng vs hcxdumptool - by hulley - 02-10-2018, 10:26 PM
RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - by ZerBea - 03-27-2020, 09:53 PM