hashtopolis / server

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

Fix create supertask fails when crackerType != pretask.crackerType #971

Closed rixvet closed 1 year ago

rixvet commented 1 year ago

Instead of returning an object, it should return an ID instead.

Fixes: #969

zyronix commented 1 year ago

Looks good, could you please add something to the changelog?

This condition is only triggered when you for example create a supertask bet select the cracktype incorrectly. Eg, you want to run a task with the generic cracker, but the prestask inside the supertask were created with hashcat.

Shayan1191 commented 6 months ago

7bb1a134c656b61d0335ee123c065585c56541ba