Hashtopolis Forum
Windows 10 Python Client Crashing - Printable Version

+- Hashtopolis Forum (https://hashtopolis.org)
+-- Forum: Support (https://hashtopolis.org/forum-1.html)
+--- Forum: Problems (https://hashtopolis.org/forum-2.html)
+--- Thread: Windows 10 Python Client Crashing (/thread-1822.html)



Windows 10 Python Client Crashing - hexag0ne - 01-07-2023

I've tested this on 3 different Windows 10 clients and I am gettting the same failure on each, see the debug, this happens as soon as I activate a client with task waiting, otherwise the client sits in the waiting state. 

I've also run this on an Ubuntu client and been successful.

This has also happened with two separate brand new hashtopolis servers setups.  The second was a clean install of Ubunutu with a brand new install of hashtopolis from github. I've also tried different version of Python (3.7, 3.10 and 3.11). The various Windows 10 clients are running different antivirus software, I've attempted disabling real time scanning and met with no success.  I've reached the end of the troubleshooting I capable of......help.


Server Version: 0.13.0
Server OS: Ubuntu 22.04
Client Version: s3-python-0.7.0
Client OS: Windows 10
Hashcat Version: 6.2.6
Task: #HL# -a 3 ?d?d?d?d?d?d
Hashtype: PBKDF2-HMAC-MD5
Number of hashes in list: 6

Config file:
{
  "files-path": "C:\\opt\\hashtopolis\\files",
  "crackers-path": "C:\\opt\\hashtopolis\\crackers",
  "hashlists-path": "C:\\opt\\hashtopolis\\hashlists",
  "zaps-path": "C:\\opt\\hashtopolis",
  "preprocessors-path": "C:\\opt\\hashtopolis\\preprocessors",
  "url": "http://10.10.30.212/api/server.php",
  "voucher": "",
  "token": "FENwWOnpG8",
  "uuid": "2ca76ef0-216b-41c6-aa05-893445ee13b0",
  "debug": true
}


C:\opt\hashtopolis>py --version
Python 3.11.1

C:\opt\hashtopolis>py hashtopolis.zip --debug
Found existing lock.pid, checking if python process is running...
Ignoring lock.pid file because PID is not existent anymore or not running python!
Starting client 's3-python-0.7.0'...
Configuration session cert to:
Collecting agent data...
{'action': 'updateInformation', 'token': 'FENwWOnpG8', 'uid': '2ca76ef0-216b-41c6-aa05-893445ee13b0', 'os': 1, 'devices': ['Intel® Core™ i7-6700K CPU @ 4.00GHz', 'Intel® HD Graphics 530', 'NVIDIA GeForce RTX 2060']}
Starting new HTTP connection (1): 10.10.30.212:80
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 51
b'{"action":"updateInformation","response":"SUCCESS"}'
{'action': 'login', 'token': 'FENwWOnpG8', 'clientSignature': 's3-python-0.7.0'}
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 134
b'{"action":"login","response":"SUCCESS","multicastEnabled":false,"timeout":30,"server-version":"0.13.0 (commit d8a5eb7 branch master)"}'
Login successful!
Hashtopolis Server version: 0.13.0 (commit d8a5eb7 branch master)
{'action': 'checkClientVersion', 'token': 'FENwWOnpG8', 'version': '0.7.0', 'type': 'python'}
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 67
b'{"action":"checkClientVersion","response":"SUCCESS","version":"OK"}'
Client is up-to-date!
Entering loop...
{'action': 'getFileStatus', 'token': 'FENwWOnpG8'}
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 62
b'{"action":"getFileStatus","response":"SUCCESS","filenames":[]}'
{'action': 'getTask', 'token': 'FENwWOnpG8'}
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 362
b'{"action":"getTask","response":"SUCCESS","taskId":1,"attackcmd":"#HL# -a3 ?d?d?d?d?d?d","cmdpars":" --hash-type=11900 ","hashlistId":1,"bench":30,"statustimer":5,"files":[],"crackerId":1,"benchType":"speed","hashlistAlias":"#HL#","keyspace":0,"usePreprocessor":false,"preprocessor":0,"preprocessorCommand":"","enforcePipe":false,"slowHash":true,"useBrain":false}'
Got task with id: 1
{'action': 'downloadBinary', 'token': 'FENwWOnpG8', 'type': 'cracker', 'binaryVersionId': 1}
http://10.10.30.212:80 "POST /api/server.php HTTP/1.1" 200 147
b'{"action":"downloadBinary","response":"SUCCESS","url":"https:\\/\\/hashcat.net\\/files\\/hashcat-6.2.6.7z","name":"hashcat","executable":"hashcat.exe"}'
Starting new HTTPS connection (1): hashcat.net:443
https://hashcat.net:443 "HEAD /files/hashcat-6.2.6.7z HTTP/1.1" 200 0
https://hashcat.net:443 "GET /files/hashcat-6.2.6.7z HTTP/1.1" 200 20951515
Downloading: [==================================================]

7-Zip (A) 9.20  Copyright © 1999-2010 Igor Pavlov  2010-11-18


Error:
cannot find archive
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\opt\hashtopolis\hashtopolis.zip\__main__.py", line 378, in <module>
  File "C:\opt\hashtopolis\hashtopolis.zip\__main__.py", line 202, in loop
  File "C:\opt\hashtopolis\hashtopolis.zip\htpclient\binarydownload.py", line 203, in check_version
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\opt\\hashtopolis\\crackers/temp'

C:\opt\hashtopolis>


RE: Windows 10 Python Client Crashing - hexag0ne - 01-11-2023

Ended up going through the bugs for 0.7.0 and found that the bug had been reported, in the interim we have just deployed the 0.6.1 agent with the --disable-update flag.