OSCP Cheatsheet
  • Reference List
  • Basic
  • Methodology
    • Basic Scans
    • Service Enumeration
      • TCP: HTTP(S) - 80 / 443
      • TCP: SMB - 139 / 445
      • TCP: FTP - 21
      • TCP/UDP: DNS - 53
      • TCP: SSH - 22
      • TCP/UDP: LDAP - 389 / 636 / 3268
      • TCP/UDP: Kerberos - 88
      • UDP: SNMP - 161
      • TCP: SMTP - 25
      • TCP: RDP - 3389
      • TCP: RPC - 135 / 593
      • TCP: Evil-WinRM - 5985 / 5986
      • TCP: MYSQL - 3306
      • TCP: MSSQL - 1433
      • TCP: Confluence - 8090
    • Extras
  • File Transfer
  • KeePass Database
  • Shells
  • Enumeration
    • Linux
    • Windows
    • Git
  • Privilege Escalation
    • Linux
      • Abusing Cron Jobs
      • Abusing Password Authentication
      • Abusing Setuid Binaries and Capabilities
      • Abusing Sudo
      • Exploits
    • Windows
      • Service Binary Hijacking
      • DLL Hijacking
      • Unquoted Service Paths
      • Scheduled Tasks
      • Exploits
  • Port Forwarding
    • Linux
    • Windows
  • Attacks
    • Public Exploits
    • User Creation
    • Password Cracking
      • Custom Rules
      • Custom Password List
    • Phishing
    • SQLi
  • Active Directory
    • Enumeration
    • Attack
    • Lateral Movement
    • Persistence
Powered by GitBook
On this page
  1. Attacks
  2. Password Cracking

Custom Password List

Pattern

crunch <Minimum Length> <Maximum Length> -t <Pattern> > custom_password.txt

NOTE: For pattern apply the following

@ Lowercase letters (a-z)

, Uppercase letters (A-Z)

% Numbers (0-9)

^ Symbols

EXAMPLE:

crunch 6 6 -t Lab%%% > wordlist.txt # Generate Lab000 to Lab999

All lowercase 6-character passwords

crunch 6 6 abcdefghijklmnopqrstuvwxyz -o lower6.txt

All numeric 4-digit PINs

crunch 4 4 0123456789 -o pinlist.txt

Uppercase + digits, 8 characters

crunch 8 8 -f /usr/share/crunch/charset.lst mixalpha-numeric -o upnum8.txt

Custom pattern: prefix + digits

crunch 6 6 -t SEC%%% > sec_digits.txt

Specific charset (letters + numbers)

crunch 5 5 -o passlist.txt -t @@@%%

PreviousCustom RulesNextPhishing

Last updated 20 days ago