nesfit / fitcrack

A hashcat-based distributed password cracking system
https://fitcrack.fit.vutbr.cz/
Other
145 stars 30 forks source link

Use system hashcat on Linux #115

Open PerchunPak opened 6 months ago

PerchunPak commented 6 months ago

Hello, first of all, great software!

Can it be patched to allow using system installation of hashcat? That would be great, because currently it doesn't work on some weird distributions (like NixOS), even when hashcat installed from package manager works perfectly.

alpatron commented 6 months ago

Depends on if you want to change the Hashcat the Fitcrack server uses or the Hashcat the cracking hosts use.

If the Hashcat the server uses, then you could probably just hack it by replacing /webadmin/fitcrackAPI/hashcat/hashcat.bin in your Fitcrack install with a symlink to your Hashcat system installation. I don't think we use a modified version of hashcat, but I could be wrong; @ihranicky knows more. I don't guarantee that this will work, but I reckon it will probably work.

If you mean the Hashcat used by the cracking hosts, then I don't think there's an easy way to hack this in.

PerchunPak commented 6 months ago

If you mean the Hashcat used by the cracking hosts, then I don't think there's an easy way to hack this in.

Yeah, I mean exactly that. I am fine with patching source code and using a modified version of runner, which uses system hashcat instead of vendored. Is this possible? If yes, can you guide me on where I should start my hacking?