Rednote
GuidebooksTerminalCode
  • Welcome!
  • Utility
    • General
    • Server
    • Transferring File
      • Main
      • Code
      • Miscellaneous
    • Reverse & Bind Shells
      • Havoc
    • Metasploit
    • Service
      • FTP (21)
      • SSH (22)
      • DNS (53)
      • HTTP/HTTPS (80-443)
      • SMTP (25-465-587)
      • POP3 (110-995)
      • IMAP (143-993)
      • MySQL (3306)
      • MSSQL (1433-2433)
      • SMB (139-445)
      • RDP (3389)
      • WinRM (5985-5986)
      • WMI (135)
      • LLMNR & NBT-NS (5355-137)
      • NFS (111-2049)
      • SNMP (161-162)
      • VNC (5900)
      • Rsync (873)
      • R-Service (512-513-514)
      • IPMI (623)
      • Oracle TNS (1521)
  • Pentesting Process
    • Information Gathering
      • Passive
      • Active
      • OSINT
    • Vulnerability
    • Web Attacks
      • GENERAL
      • Crawling/Spidering & Fuzzing
      • Information Disclosure
      • Command Injection
      • Unrestricted File Upload
      • File Inclusion/Path Traversal
      • Request Smuggling
      • Clickjacking
      • Web Cache Poisoning
      • Web Cache Deception
      • Insecure Deserialization
      • Prototype Pollution
      • OAuth 2.0
      • JWT
      • SQLi
        • sqlmap
      • NoSQLi
      • GraphQL
      • XSS
      • SSRF
      • XXE
      • IDOR
      • API
      • SSTI
      • CSRF
      • CORS
      • AJP
      • SSI
      • ESI
      • XSLT
      • Cloud
      • LLM Prompt Security
    • Software Attacks
      • Binary
      • Shellcode
      • AV Evasion & Obfuscation
    • Network Attacks
      • ARP Poisoning
      • Local DNS Cache Poisoning
      • Baby Local DoS
    • Crypto Attacks
      • Utility
      • RSA
      • DSA/DSS
      • PRNG
        • LGC
        • MT
        • LFSR
    • Misc Attacks
    • Social Engineering
    • Password Cracking
      • Wordlist
      • Offline
      • Online
    • Pivoting & Tunneling
    • Local Enumeration
      • Linux
      • Windows
    • Privilege Escalation
      • Linux
        • Linux Privilege Escalation with Groups
        • Linux Privilege Escalation with Library
      • Windows
        • Windows Privilege Escalation with Groups and Privileges
        • Windows Privilege Escalation with DLL Hijacking
    • Active Directory
      • Enumeration
      • Abuse ACL
      • Extract Hash & Password
      • Pass The Hash
      • Pass The Ticket
      • Overpass the Hash
      • Relay Attack
      • Password Spraying Attack
      • AS-REP Roasting
      • Kerberoasting
      • Silver Ticket
      • Golden Ticket
      • DC Synchronization
      • AD Certificates
      • Attacking Domain Trusts
    • Reports
      • Bug Bounty Report
    • CVE
      • Linux
      • Windows
    • OTHER
      • CMS
        • WordPress
        • Joomla
        • Drupal
      • Tomcat
      • Jenkins
      • Splunk
      • Web Service
      • Navigating Python Objects
      • JavaScript Deobfuscation
  • Extra
    • My Books
    • My Exploits
    • Compiled Binaries
Powered by GitBook
On this page
  • Identify Hash
  • Cracking
  • hashcat
  • JohnTheRipper
  • Other

Was this helpful?

  1. Pentesting Process
  2. Password Cracking

Offline

Brute force on hashes.

Last updated 7 months ago

Was this helpful?

Identify Hash

Tool
Detail

hashcat --identify <HASH>

hashid -m -j <HASH> -m modes hashcat, -j format john

hash-identifier (inside type hash)

Cracking

hashcat -D <DEVICE> -m <TYPE> -a <ATTACKMODE> -r <RULE> <FILEtoCRACK> <WORDLIST/MASK>

Device: 1=CPU, 2=GPU AttackMode: 0=, 3= Type: Rule: Mask:

To see the results after cracking a file:

hashcat -m <TYPE> <FILEtoCRACK> --show
rm ~/.local/share/hashcat/hashcat.potfile

Very useful .

john --format=<FORMAT> --wordlist=<WORDLIST> --rules=<RULES> <FILEtoCrack>

Format:

john --list=formats

To see the results after cracking a file:

john --show <FILEtoCRACK>

Rule:

When your rule file is created then you have to add the name and append it to /etc/john/john.conf.

[List.Rules:<NAME_RULE>]
c $1 $3 $7 $!
c $1 $3 $7 $@
c $1 $3 $7 $#
sudo sh -c 'cat <NAME_RULE> >> /etc/john/john.conf'

When rules are written: if they are on the same line divided by space then they are applied together, if they are on separate lines then a new additional word is created.

rm ~/.john/john.pot

Very useful 2john.

ls /usr/share/john/
locate *2john*
./zip2john --help

es. unshadow /etc/passwd /etc/shadow > unshadowfile

Other

Tool
Detail

On hidden image files covered by passphrase. stegcracker <FILE> [<WORDLIST>]

Online Password Hash Cracker

hashcat
Wordlist
BruteForce
Wiki
Wiki
Wiki
Hashcat Utils
JohnTheRipper
Wiki
Wiki
hashcat
hashid
hash-identifier
stegcracker
crackstation