Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Continued troubleshooting API issues
#6
Here is the debug output from the client:

Got cracker binary type hashcat
{'action': 'getChunk', 'token': 'fQ4cjQiAgH', 'taskId': 24}
http://52.15.120.70:80 "POST /api/server.php HTTP/1.1" 200 63
b'{"action":"getChunk","response":"SUCCESS","status":"benchmark"}'
Benchmark task...
CALL: ./hashcat64.bin --machine-readable --quiet --runtime=30 --restore-disable --potfile-disable --session=hashtopolis -p " " ../../hashlists/1 -a 0 ../../files/example.dict --hash-type=9400 -o ../../hashlists/1.out
started benchmark
{'action': 'clientError', 'token': 'REDACTED', 'taskId': 24, 'chunkId': None, 'message': 'nvmlDeviceGetFanSpeed(): Not Supported'}
http://REDACTED "POST /api/server.php HTTP/1.1" 200 45
b'{"action":"clientError","response":"SUCCESS"}'
{'action': 'clientError', 'token': 'REDACTED', 'taskId': 24, 'chunkId': None, 'message': 'No hashes loaded.'}
http://REDACTED "POST /api/server.php HTTP/1.1" 200 45
b'{"action":"clientError","response":"SUCCESS"}'
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "hashtopolis.zip/__main__.py", line 338, in <module>
File "hashtopolis.zip/__main__.py", line 217, in loop
File "hashtopolis.zip/htpclient/hashcat_cracker.py", line 390, in run_benchmark
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 45: invalid start byte


I also noticed something weird in the database. I browsed over to the hash table and noticed that hashes I uploaded through the web interface look like this:

oldoffice$0*0e62d7b435b9a5a02edbccdec499fb...


While ones pushed through the API (both in python and powershell) look like this:

¡÷âqí´Ó½´×o5ën÷‡µnºßÝㇶó§4߶ùi­ݾ}...


I'm wondering if some weird encoding is the culprit.
Reply


Messages In This Thread
Continued troubleshooting API issues - by vbabson - 08-04-2019, 03:19 AM
RE: Continued troubleshooting API issues - by vbabson - 08-08-2019, 04:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)