mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
fix: remove switch prompt from download_found hashview option
The download_found option downloads already-cracked hashes (with cleartext passwords). These cannot be used for cracking, so the 'Switch to this hashfile for cracking?' prompt is inappropriate and confusing. The switch prompt is kept for download_left since those are uncracked hashes that can be cracked. - Remove the switch-to-cracking prompt from download_found flow - Add clarifying message that found hashes are already cracked - Align with intended behavior: download_left prompts to switch, download_found just downloads
This commit is contained in:
0
hashcat_debug/hashcat_debug_left_896_4677.log
Normal file
0
hashcat_debug/hashcat_debug_left_896_4677.log
Normal file
@@ -2703,22 +2703,7 @@ def hashview_api():
|
||||
print(f" File: {download_result['output_file']}")
|
||||
if selected_hash_type:
|
||||
print(f" Hash mode: {selected_hash_type}")
|
||||
|
||||
# Ask if user wants to switch to this hashfile
|
||||
switch = (
|
||||
input("\nSwitch to this hashfile for cracking? (Y/n): ")
|
||||
.strip()
|
||||
.lower()
|
||||
)
|
||||
if switch != "n":
|
||||
hcatHashFile = download_result["output_file"]
|
||||
if selected_hash_type:
|
||||
hcatHashType = str(selected_hash_type)
|
||||
else:
|
||||
hcatHashType = "1000" # Default to NTLM if unavailable
|
||||
print(f"✓ Switched to hashfile: {hcatHashFile}")
|
||||
print("\nReturning to main menu to start cracking...")
|
||||
return # Exit hashview menu and return to main menu
|
||||
print("\nFound hashes downloaded successfully. These are already cracked hashes.")
|
||||
|
||||
except ValueError:
|
||||
print("\n✗ Error: Invalid ID entered. Please enter a numeric ID.")
|
||||
|
||||
Reference in New Issue
Block a user