server icon indicating copy to clipboard operation
server copied to clipboard

Report error details on hashcat failures

Open tanc7 opened this issue 3 years ago • 2 comments

","hashlistId":1,"bench":30,"statustimer":5,"files":[],"crackerId":"1","benchType":"speed","hashlistAlias":"#HL#","keyspace":"0","usePreprocessor":false,"preprocessor":"0","preprocessorCommand":"","enforcePipe":false,"slowHash":false,"useBrain":false}'
Got task with id: 1
{'action': 'downloadBinary', 'token': 'REDACTEDVOUCHER', 'type': 'cracker', 'binaryVersionId': '1'}
http://REDACTEDHASHTOPOLISIP:80 "POST /api/server.php HTTP/1.1" 200 147
b'{"action":"downloadBinary","response":"SUCCESS","url":"https:\\/\\/hashcat.net\\/files\\/hashcat-6.2.5.7z","name":"hashcat","executable":"hashcat.bin"}'
{'action': 'getHashlist', 'token': 'REDACTEDVOUCHER', 'hashlistId': 1}
http://REDACTEDHASHTOPOLISIP:80 "POST /api/server.php HTTP/1.1" 200 98
b'{"action":"getHashlist","response":"SUCCESS","url":"getHashlist.php?hashlists=1&token=REDACTEDVOUCHER"}'
http://REDACTEDHASHTOPOLISIP:80 "GET /getHashlist.php?hashlists=1&token=REDACTEDVOUCHER HTTP/1.1" 200 None

{'action': 'checkClientVersion', 'token': 'REDACTEDVOUCHER', 'version': '0.6.0.10', 'type': 'python'}
http://REDACTEDHASHTOPOLISIP:80 "POST /api/server.php HTTP/1.1" 200 67
b'{"action":"checkClientVersion","response":"SUCCESS","version":"OK"}'
Client is up-to-date!
Got cracker binary type hashcat
CALL: ./hashcat.bin --version
{'action': 'getChunk', 'token': 'REDACTEDVOUCHER', 'taskId': 1}
http://REDACTEDHASHTOPOLISIP:80 "POST /api/server.php HTTP/1.1" 200 71
b'{"action":"getChunk","response":"SUCCESS","status":"keyspace_required"}'
CALL: ./hashcat.bin --keyspace --quiet  rockyou.txt new.hc22000   --hash-type=22000
**Error during keyspace measure: Command './hashcat.bin --keyspace --quiet  rockyou.txt new.hc22000   --hash-type=22000 ' returned non-zero exit status 255.**
{'action': 'clientError', 'token': 'REDACTEDVOUCHER', 'taskId': 1, 'chunkId': None, 'message': 'Keyspace measure failed!'}
http://REDACTEDHASHTOPOLISIP:80 "POST /api/server.php HTTP/1.1" 200 45
b'{"action":"clientError","response":"SUCCESS"}'

The error is Error during keyspace measure: Command './hashcat.bin --keyspace --quiet rockyou.txt new.hc22000 --hash-type=22000 ' returned non-zero exit status 255.

Is it failing to load a wordlist? Can I get a link to a post on how to give a client a cracking job? My agent command was #HL# rockyou.txt new.hc22000, I have also reversed the two arguments and got the same error.

Tried moving hashtopolis.zip to a new path, still same error after it downloaded the hashcat 6.2.5 binary and I have attempted to run the agent task with no arguments

tanc7 avatar Mar 20 '22 02:03 tanc7

Hi, i have same problem, and open issue and asked how to remove this parameter.

#749

ghost avatar Apr 06 '22 15:04 ghost

I understand the error hashtopolis now is providing is not the full context that hashcat gives normally. As a work arround, call the line manually to get the full error message.

zyronix avatar Apr 06 '22 19:04 zyronix