hashcat

File write

This executable can write data to local files.
  1. CommentAppend data to the end of the output file, creating if does not exist.
    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/wordlist
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    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