server
server copied to clipboard
[ENHANCEMENT]: Change error message if you upload an unsalted hashlist
Description
If you upload an unsalted hashlist and mark it as salted, the hashlist will be uploaded but a an error message appers "failed to upload hashlist" - We should rather have an error message appear like " hashlist partialy created".
The proper way to implement this would be to report back on the hashlist creation with numbers (e.g. valid hashes: xy, invalid hashes: ab). Additionally, we should check at the end of the hashlist uploading process, if any hash was added and if not, we delete the hashlist again and do not create an empty hashlist.