hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
Some websites convert control characters. In that case a posted hash become useless.
Reply
Please, can you give me hcxcleanpmkiddb and hcxcleaneapoldb
Reply
Both scripts are very simple. They are part of the environment to clean up the database in a fast way. Therefore I use the PMKs from the potfile as rainbowtable:
cut -c -64 hashcat.archiv.pmk >> $HOME/WLAN/Passwortlisten/foundhashcat.pmk
hashcat.archiv.pmk is the potfile for hashmode 2500 and 16800

hashcat option -o "/tmp/hashcat.pmk" is used to prevent that hashcat flooding my terminal with founds. I don't need them here, because I only want to --remove already recovered networks from the archive hashfiles.

hcxcleanpmkiddb:

#!/bin/bash
export CUDA_CACHE_DISABLE=0
hashcat -m 16801 --logfile-disable -w 3 --remove --potfile-disable -o "/tmp/hashcat.pmk" "$HOME/WLAN/Hash/archiv/archiv.16800" "$HOME/WLAN/Passwortlisten/foundhashcat.pmk"


hcxcleaneapoldb:

#!/bin/bash
export CUDA_CACHE_DISABLE=0
hashcat -m 2501 --logfile-disable -w 3 --remove --nonce-error-corrections=2 --potfile-disable -o "/tmp/hashcat.pmk" "$HOME/WLAN/Hash/archiv/archiv.hccapx" "$HOME/WLAN/Passwortlisten/foundhashcat.pmk"

More scripts are here:
https://hashcat.net/forum/attachment.php?aid=660
read more here:
https://hashcat.net/forum/thread-6661-po...l#pid44824
Reply
(07-09-2019, 11:40 PM)ZerBea Wrote: Both scripts are very simple. They are part of the environment to clean up the database in a fast way. Therefore I use the PMKs from the potfile as rainbowtable:
cut -c -64 hashcat.archiv.pmk >> $HOME/WLAN/Passwortlisten/foundhashcat.pmk
hashcat.archiv.pmk  is the potfile for hashmode 2500 and 16800

hashcat option -o "/tmp/hashcat.pmk" is used to prevent that hashcat flooding my terminal with founds. I don't need them here, because I only want to --remove already recovered networks from the archive hashfiles.

hcxcleanpmkiddb:

#!/bin/bash
export CUDA_CACHE_DISABLE=0
hashcat -m 16801 --self-test-disable --advice-disable --logfile-disable -w 3 --remove --potfile-disable -o "/tmp/hashcat.pmk" "$HOME/WLAN/Hash/archiv/archiv.16800" "$HOME/WLAN/Passwortlisten/foundhashcat.pmk"


hcxcleaneapoldb:

#!/bin/bash
export CUDA_CACHE_DISABLE=0
hashcat -m 2501 --self-test-disable --advice-disable --logfile-disable -w 3 --remove --nonce-error-corrections=2 --potfile-disable -o "/tmp/hashcat.pmk" "$HOME/WLAN/Hash/archiv/archiv.hccapx" "$HOME/WLAN/Passwortlisten/foundhashcat.pmk"

More scripts are here:
https://hashcat.net/forum/attachment.php?aid=660
read more here:
https://hashcat.net/forum/thread-6661-po...l#pid44824


Sorry,  thank you
Reply
BTW:
All command line options (in the scripts) are advanced(!) options to perform deep analyses or test/improve hashcat code. As a non-coder or a non-analyst, I recommend to run hashcat with default options!
Reply