Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: How to input '-' charactor?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when using cudahashcat-plus64.exe to crack md5.

like cudahashcat-plus64.exe -m 0 -a 3 --force d:\2222222.md5 -?1?1?1?1?1 , string start with '-'
result is program report error!

help ! how can i define a string start with '-' to crack?
You can just use -- to mark the end of the parameters.
For instance:
Code:
cudahashcat-plus64.exe -m 0 -a 3 d:\2222222.md5 -- -?a?a?a?a?a

There are several other ways to do it, but most of them are more platform-dependent like the caret escape (^) under windows, or different types of quotes (' vs ").
But the end-of-parameter marker (--) should work cross-platform iirc

EDIT: why did you use ?1 if you didn't specify a --custom-charset1 (or short -1) ? see https://hashcat.net/wiki/doku.php?id=mask...m_charsets
OK, works.
Thanks a lot!