-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal server error using speed benchmark for Slowhash with bigger rulefile #836
Comments
Could you provide more information on how you are able to produce it? I guess based on the error message that you are doing something with rulesplitting? Could you give details on the task that you created? |
Client: CALL: './hashcat.bin' --keyspace --quiet '/home/files/All_Passwords.txt' -r '/home/files/rule.rule' --hash-type=26600 -w 4 -O But its work with Runtime Benchmark and i not received error |
Thanks for your post, could you tell me how you created this task? What options did you click on the task create page? |
Thanks, that helped. Could you tell me the line count of the rule file? Issue is probably caused by a large rule file with a slowhash causing the task engine to splitting up the task into multiple subtasks. Line 867 is missing the new lineCount parameter causing the exception. Fix is to implement the fileCount and pass the argument there.
|
line count rule file: 50000 |
i tried also with rules lines of 500 , same error comes out |
Also having this problem. I have 5 diffrent machines (clients) on the same task. The clients have small differences, but all are Windows based. Two of the clients are running a task (wordlist with large ruleset) - WORKING AS EXPECTED! but three of them seems to get this problem - NOT RUNNING THE TASK!
The apache-logs in the server is filled with the php-error that can be seen in the topic-starter post. I'm running Hashtopolis 0.13.0 commit 645c03a. Running on Ubuntu 22.04 LTS. (5.15.0-27-generic) EDIT:: EDIT2:: I had to do some modifications to the client since the Windows clients have some issues with path and escape:ing. |
* Add test for rulesplit bug. WIP * Add config for quickly debugging tests * Fix selecting specific test in vscode debugging * Fix config value couldn't be set to false through the userapi. * Add detection of bug #836 * Add todo * Adding fixed test * Fix test * Update changelog
Hashtopolis: 0.13.0 commit d8a5eb7 branch master
python3[42552]: {'action': 'sendBenchmark', 'token': 'deleted', 'taskId': 128785, 'type': 'speed', 'result': '8028160:13293759.171428569'}
python3[42552]: Resetting dropped connection: 192.168.0.3
python3[42552]: http://192.168.0.3:80 "POST /api/server.php HTTP/1.1" 500 0
python3[42552]: Status code from server: 500
[php:error] [pid 77044] [client 192.168.0.2:49652] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function DBA\File::__construct(), 6 passed in /var/www/hashtopolis/src/inc/utils/TaskUtils.class.php on line 867 and exactly 7 expected in /var/www/hashtopolis/src/dba/models/File.class.php:14\nStack trace:\n#0 /var/www/hashtopolis/src/inc/utils/TaskUtils.class.php(867): DBA\File->__construct()\n#1 /var/www/hashtopolis/src/inc/api/APISendBenchmark.class.php(56): TaskUtils::splitByRules()\n#2 /var/www/hashtopolis/src/api/server.php(141): APISendBenchmark->execute()\n#3 {main}\n thrown in /var/www/hashtopolis/src/dba/models/File.class.php on line 14
The text was updated successfully, but these errors were encountered: