HashCat bcrypt $2*$, Blowfish (Unix) Line-length exception

天涯浪子 提交于 2021-01-28 06:04:10

问题


Hello I attempting to use HashCat example hash to decrypt the example on their page using bcrypt $2*$, Blowfish (Unix)

Using the hash of there example:

$2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6

I am using this command on MAC

./hashcat -m 3200 $2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6

It gives me

Hash 'a-bash5.Kj0jZ0pEmm134uzrQlFvQJLF6': Line-length exception
No hashes loaded.

Thank you for your time!


回答1:


Try putting the hash inside a text file instead of pasting it into the command line. The whole file would just be $2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6, and then you can just pass that to hashcat, i.e. hashcat -m 3200 hash.txt.

If it keeps complaining about Line-length exception, make sure there are no spaces or newlines in the file.



来源:https://stackoverflow.com/questions/50198565/hashcat-bcrypt-2-blowfish-unix-line-length-exception

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!