mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 14:47:22 -07:00
Version2 initial commits
This commit is contained in:
@@ -20,12 +20,6 @@ make install
|
||||
```git clone https://github.com/trustedsec/hate_crack.git```
|
||||
* Customize binary and wordlist paths in "config.json"
|
||||
* Make sure that at least "rockyou.txt" is within your "wordlists" path
|
||||
|
||||
```$ python wordlist_optimizer.py
|
||||
usage: python wordlist_optimizer.py <input file list> <output directory>
|
||||
|
||||
$ python wordlist_optimizer.py wordlists.txt ../optimized_wordlists
|
||||
```
|
||||
-------------------------------------------------------------------
|
||||
## Project Structure
|
||||
Core logic is now split into modules under `hate_crack/`:
|
||||
@@ -48,7 +42,6 @@ usage: python hate_crack.py <hash_file> <hash_type> [options]
|
||||
```
|
||||
|
||||
Common options:
|
||||
- `--task <N>`: Run a specific menu task number (e.g., 1, 93).
|
||||
- `--download-hashview`: Download hashes from Hashview before cracking.
|
||||
- `--weakpass`: Download wordlists from Weakpass.
|
||||
- `--hashmob`: Download wordlists from Hashmob.net.
|
||||
@@ -1977,7 +1977,6 @@ def main():
|
||||
parser.add_argument('--download-all-torrents', action='store_true', help='Download all available Weakpass torrents from cache')
|
||||
parser.add_argument('--weakpass', action='store_true', help='Download wordlists from Weakpass')
|
||||
parser.add_argument('--hashmob', action='store_true', help='Download wordlists from Hashmob.net')
|
||||
parser.add_argument('--task', metavar='TASK', help='Run a menu task by number (e.g., 1, 93)')
|
||||
parser.add_argument('--debug', action='store_true', help='Enable debug mode')
|
||||
add_common_args(parser)
|
||||
args = parser.parse_args()
|
||||
@@ -2035,10 +2034,6 @@ def main():
|
||||
weakpass_wordlist_menu()
|
||||
sys.exit(0)
|
||||
|
||||
if args.task and not (args.hashfile and args.hashtype) and not args.download_hashview:
|
||||
print("Error: --task requires <hashfile> <hashtype> or --download-hashview to supply hashes.")
|
||||
sys.exit(1)
|
||||
|
||||
if args.hashfile and args.hashtype:
|
||||
hcatHashFile = resolve_path(args.hashfile)
|
||||
hcatHashType = args.hashtype
|
||||
@@ -2171,13 +2166,6 @@ def main():
|
||||
"98": show_readme,
|
||||
"99": quit_hc
|
||||
}
|
||||
if args.task:
|
||||
task = str(args.task).strip()
|
||||
if task not in options:
|
||||
print(f"Invalid task: {task}. Valid options are: {', '.join(sorted(options.keys(), key=int))}")
|
||||
sys.exit(1)
|
||||
options[task]()
|
||||
sys.exit(0)
|
||||
while 1:
|
||||
print("\n\t(1) Quick Crack")
|
||||
print("\t(2) Extensive Pure_Hate Methodology Crack")
|
||||
|
||||
Reference in New Issue
Block a user