pack2
pack2 copied to clipboard
option to extract exhausted masks from a hashcat logfile
Option to extract masks with a specific exit status from a hashcat potfile. The exit status could be an optional parameter, with exhausted masks (status 5) the default.
In other words, the Rust equivalent of this crude shell example, which extracts all exhausted masks (status 5):
$ egrep -h "mask_ctx->mask|status-after-work" ~/.hashcat/sessions/blah*.log \
| cut -f3- \
| egrep -B 1 'status-after-work.*5$' \
| grep '>mask' \
| awk '{print $2}'
It would also be useful if multiple logfiles (globbed) could be accepted.