Skip to content

Scripts

9 Topics 49 Posts

Share and discuss scripts that help automate hash cracking and related tasks. Zero tolerance for malicious content.
Follow Posting Template:
https://forum.hashpwn.net/post/68

  • rulest - GPU Rules Extractor

    29
    0 Votes
    29 Posts
    2k Views
    A1131A
    Changelog Latest update — CELF optimization Improved Batch small CELF exact-scoring workloads where safe to reduce repeated GPU calls. Expanded CELF profiling to distinguish upper-bound checks, exact scoring, and result recording. Improved live CELF progress reporting with selection and runtime statistics. Retained the existing greedy selection behavior and scoring logic. RULEST Control Center Added Password-protected access with session management. LAN access for other devices on the same network. GPU/OpenCL diagnostics and controls for Token Strip and Genetic Algorithm stages. Live logs, current-phase monitoring, and log clearing. File uploads for BASE, TARGET, and optional seed rules. Automatic cleanup of uploaded input files after a run stops or finishes. Improved Updated dark interface and application branding. Clearer run controls and progress information. [image: 1793742677024-rulest1.jpg] [image: 1793742699163-rulest2.jpg]
  • Hashcat Rule Ranker – GPU-accelerated ranking of Hashcat rules

    5
    0 Votes
    5 Posts
    116 Views
    A1131A
    Added: Cost-weighted CELF (--cost-alpha) for postprocess Priority = gain / max(1, token_count)**cost_alpha Prefers shorter rules when coverage is similar Default 0.0 = same behavior as before Batched exact GPU scoring New kernel score_exact_batch_kernel scores up to 64 rules in one dispatch Controlled by RANKER_EXACT_BATCH env var (default: 64) Fewer GPU round-trips during CELF resolve Timing/profiling helpers in celf_select_recompute_gpu (upper-bound, seed-exact, exact-batch phases) Changed: Round 1 is now exact-scored (no longer trusts the raw upper-bound alone) Heap entries store (-priority, rule_index, raw_gain) — reported gains stay as raw coverage counts Cached OpenCL sub-regions in _score_single_recording (less overhead per chunk)
  • RCR - RuleFlow Chain Runner

    hashcat hashcat rules rules generator
    1
    0 Votes
    1 Posts
    161 Views
    No one has replied
  • Concentrator - Unified Hashcat Rule Processor

    6
    0 Votes
    6 Posts
    939 Views
    A1131A
    Using concentrator on debugged Hashcat rules
  • Emails rules extractor

    3
    0 Votes
    3 Posts
    987 Views
    A1131A
    https://hcrt.pages.dev/email-rule-extractor
  • Quick Way to Crack VB 2611 Salts

    2
    0 Votes
    2 Posts
    1k Views
    A1131A
    #!/bin/bash # simple script to save your time on file operations while cracking vBulletin < 3.8.5 hashes without salts using hashcat # popular types of vBulletin salt - ?a?a?a, ?h?h?h?h?h?h, ?d?d?d?d?d # download hashgen - https://github.com/cyclone-github/hashgen (used to convert $[HEX] hashes with colon-containing salts and generating hashed wordlist) # Function to read file paths with validation read_file_path() { local prompt="$1" local result_var="$2" local path while true; do read -r -p "$prompt" path if [ -f "$path" ]; then # Use eval to set the variable passed by name eval "$result_var=\"$path\"" break else echo "ERROR: File not found: $path. Please try again." fi done } echo "--- Interactive vBulletin Salt Cracker Configuration ---" # --- Input Acquisition --- # 1. Hash list path read_file_path "Enter the path to the hash list (e.g., hashlists/main.txt): " HASHLIST_PATH # 2. Wordlist path read_file_path "Enter the path to the wordlist (e.g., wordlists/top1000.txt): " WORDLIST_PATH # 3. Mask (optional, with default value) read -r -p "Enter the mask for salt cracking (e.g., ?h?h?h?h?h?h) [Default: ?a?a?a]: " CRACKING_MASK if [ -z "$CRACKING_MASK" ]; then CRACKING_MASK="?a?a?a" fi # Generate dynamic paths WORDLIST_BASENAME=$(basename "$WORDLIST_PATH") HASHED_WORDLIST_PATH="md5_wordlists/${WORDLIST_BASENAME}.md5" echo "--- Settings Confirmed ---" echo "Hash List: $HASHLIST_PATH" echo "Word List: $WORDLIST_PATH" echo "Mask: $CRACKING_MASK" echo "Hashed Word List Output: $HASHED_WORDLIST_PATH" echo "------------------------------" sleep 2s # --- Tool Verification --- if ! command -v hashcat &> /dev/null; then echo "ERROR: hashcat not found. Ensure it is in your PATH." exit 1 fi if [ ! -f ./hashgen ]; then echo "ERROR: The ./hashgen file was not found. Ensure it is in the current directory and is executable." exit 1 fi # --- STEP 1: Potfile Cleanup --- echo "--- STEP 1: Cleaning potfile ---" if [ -f "hashed.pot" ]; then echo "Creating backup: hashed.pot -> hashed.pot.bak" cat hashed.pot >> hashed.pot.bak 2>/dev/null else echo "hashed.pot not found, skipping backup." fi echo '' > hashed.pot sleep 3s # --- STEP 2: Generate Hashed Wordlist --- echo "--- STEP 2: Generating hashed wordlist ---" mkdir -p md5_wordlists ./hashgen -m 0 -w "$WORDLIST_PATH" -o "$HASHED_WORDLIST_PATH" sleep 3s # --- STEP 3: Crack Salts --- echo "--- STEP 3: Cracking salts (Mode -m0 -a6) ---" hashcat -d1 -m0 -a6 -w4 --hwmon-temp-abort=95 --potfile-path=hashed.pot "$HASHLIST_PATH" "$HASHED_WORDLIST_PATH" "$CRACKING_MASK" --remove sleep 3s # --- STEP 4: Prepare Hashes for Wordlist Cracking --- echo "--- STEP 4: Preparing hashes for cracking (m2611 format) ---" sleep 3s # 1. Process NON-HEX lines (already cracked passwords) # Corrected format: HASH:PLAINTEXT (Single colon) grep -v HEX hashed.pot | sed 's/^\(.\{65\}\)/\1:/' | cut -d: -f1,3 | sed -E 's/^(.{32}):(.*)$/\1:\2/' > 2611_to_crack.txt sleep 3s echo "Converting HEX strings" # 2. Convert HEX strings grep HEX hashed.pot | cut -d: -f2 > hex.tmp grep HEX hashed.pot | cut -d: -f1 > hash.txt ./hashgen -m plaintext -w hex.tmp -o hex.txt sleep 3s # 3. Combine HEX hashes and append to 2611_to_crack.txt # Corrected format: HASH:HEX_SALT (Single colon) paste -d : hash.txt hex.txt | sed -E 's/^(.{32}):(.*)$/\1:\2/' >> 2611_to_crack.txt sleep 3s echo "Deleting temporary files" # 4. Remove temporary files rm -f ./{hash.txt,hex.txt,hex.tmp} sleep 3s # --- STEP 5: Crack Hashes with Wordlist (Mode -m2611) --- echo "--- STEP 5: Cracking hashes with wordlist -a0 -m2611 ---" hashcat -d1 -m2611 -a0 -w4 --potfile-path=hashcat.pot.salted 2611_to_crack.txt "$WORDLIST_PATH" sleep 3s # --- STEP 6: Export Cracked Hashes --- echo "--- STEP 6: Writing/Appending last cracked hashes into file ---" hashcat -d1 -m2611 -a0 -w4 -O --hwmon-temp-abort=95 --hwmon-disable --potfile-path=hashcat.pot.salted 2611_to_crack.txt --show > 2611_cracked.txt sleep 3s echo "Done." Preview
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Nvidia CUDA-toolkit linux installer script

    1
    2 Votes
    1 Posts
    598 Views
    No one has replied
  • Vast.ai Hashtopolis Agent Setup Script

    1
    1 Votes
    1 Posts
    656 Views
    No one has replied