hashtopolis / server

Hashtopolis - distributed password cracking with Hashcat
GNU General Public License v3.0
1.42k stars 212 forks source link

building tests for agent #853

Closed zyronix closed 1 year ago

zyronix commented 1 year ago

Required test cases

Discussion:

zyronix commented 1 year ago

Solution to test against real server:

Temp fix:

Final solution:

zyronix commented 1 year ago

Regarding devcontainer for windows development based on the nanoserver image for example. This does not seem to be possible: https://github.com/microsoft/vscode-remote-release/issues/445

Possible workaround: Install OpenSSH into the container; connect with remote-ssh to the container.

Setup notes:

zyronix commented 1 year ago

Test with space -a3, this is a kinda special case. On the CLI you normally do this through quotes. For example:

./crackers/1/hashcat.bin -a3 -m0 4061727a2162d43085a7444fad8464c4 ?l?l?l" "l?l But quotes are escaped.

zyronix commented 1 year ago

Note: usePrince is already broken. As it is deprecated and replace with preprocessorCmds I am not investing time in fixing this.

zyronix commented 1 year ago

Note: no test needed for upgrade. No paths are involved here.

zyronix commented 1 year ago

Will be solved in https://github.com/hashtopolis/agent-python/pull/36