[BUG]: Download file via new API
zyronix opened this issue · comments
Version Information
master
Hashcat
No response
Description
In the old UI it was possible to download a wordlist or a rule file directly from the UI. This is very handy to for example check the contents of those file and maybe create a new version.
This could be done using:
http://localhost:8080/getFile.php?file=2
As we are moving stuff out of the code base it make sense to add this to the APIv2 aswell. I guess this would be a helper function? But any sugestion on implementation is welcome!