hashcat
File write
This executable can write data to local files.
- This function can be performed by any unprivileged user.
echo -n DATA | tee /path/to/wordlist | md5sum | awk '{print $1}' >/path/to/hash hashcat -m 0 --quiet --potfile-disable -o /path/to/output-file --outfile-format=2 --outfile-autohex-disable /path/to/hash /path/to/wordlistThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo -n DATA | tee /path/to/wordlist | md5sum | awk '{print $1}' >/path/to/hash hashcat -m 0 --quiet --potfile-disable -o /path/to/output-file --outfile-format=2 --outfile-autohex-disable /path/to/hash /path/to/wordlist