Cheat Sheet Hacking
  • 🌐Generic Ideas
    • File Transfer
    • Reverse Shell
    • Cracking Tricks
    • Tunneling and Port Forwarding
    • Reversing
    • OSINT
    • Phishing
  • 🐕‍🦺Port enumeration
    • Reconnaissance
    • 53 - DNS
    • 80,443 - Web
      • Identify php.ini file used
      • Exploitation
        • File Upload
        • XXS
    • 445 - SMB
    • 389, 636, 3268 - LDAP(S)
  • LINUX THINGS
    • Enumeration
    • Privilege Escalation
      • Writable $PATH
  • WINDOWS THINGS
    • Enumeration
    • Useful Commands
    • Active Directory Methodology
      • Commands to create AD environment
      • Attacks
        • Kerberos
          • User enumeration
          • ASREP-Roast
          • Kerberoasting
          • ASREP-Roast VS Kerberoasting
          • Golden Ticket
          • Resource Based Constrained Delegation
        • Secrets dump
        • Pass The Hash
        • Dump NTDS
        • Tickets
          • TGT
        • NTML Password Spray
        • LDAP Authentication
          • LDAP Pass-back
          • Rogue LDAP Server
        • SMB Relay (LLNMR, NTB-NS & WPAD)
        • NTLM Relay
        • Tools to exploit AD things
        • SCF Files
      • Kerberos
      • SAM & LSA secrets
      • Enumeration
        • BloodHound
        • PowerView
          • CheatSheet of Commands
        • Set DNS & DOMAIN
      • Resources
      • RunAs
      • Post Explotation
        • Persistence
        • Mimikatz
      • Common used tools
  • 🕳️Pivoting
    • Port Forwarding
    • Socks Forwarding
    • Routing
    • Web Fuzzing
    • Transfer files
    • Metasploit
      • Single Pivot
      • Double Pivot
    • Burp Suite
  • 🎛️Hardware
    • Physical attacks
  • 🌕Buffer Overflow
    • Introduction
    • Stack-Based
      • Introduction
        • Spiking
        • Fuzzing
        • Find Offset
        • Overwrite EIP
        • Find module
        • Find Badchars
        • Shellcode
  • 🐳Docker
    • Commands
    • Practical examples
  • 💡Useful things
    • Burp Suite
      • Proxy Activation
    • Linux Commands
    • Recreate multipart/form-data request
      • Python
      • HTML & netcat
    • TTY
    • Templates for reports (exams)
    • Tmux
    • Other cheat sheets
Powered by GitBook
On this page
  • Foothold
  • Fuzzing
  • Login
  • Injection
  • Generate errors
  • Playing with BurpSuite
  • Credentials bruteforce
  • Hydra
  • ffuf
  • Wfuzz
  • Bypass 403 Forbidden
  • Specific Software
  • Jenkins
  1. Port enumeration

80,443 - Web

Previous53 - DNSNextIdentify php.ini file used

Last updated 5 months ago

Foothold

  • source code

  • links

  • redirect

  • cookies

  • burpsuite

  • headers

Fuzzing

  • directories

  • files

  • files+extensions

  • subdomains

Login

  • default creds

  • credentials related to software

  • bruteforce

    • cupp

    • pydictor

    • crunch

Injection

  • IDOR

  • SQLi

    • SQL (PHP...)

    • NoSQL (Node...)

  • SSTI

  • XXE

  • XSS

  • Command Injection

  • Header Injection

Generate errors

  • Check resources showing input info

  • Symbols to cause errors

Playing with BurpSuite

  • send parameters empty

  • add symbols

  • change order of parameters

  • change content-type

  • content-type: if www-urlencoded ... change to application/json and format parameters

  • change http verbs (GET to POST, POST to OPTIONS, etc)

Credentials bruteforce

Hydra

hydra -L wordlist.txt -P wordlist.txt lanzand0nas.net http-post-form "/directory/master/login.php:username=^USER^&password=^PASS^:Wrong password for user admin" -d

ffuf

cat post-login.txt
POST /login.php HTTP/1.1
Host: 10.10.10.10
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
DNT: 1
[...]

username=FUZZ&password=s3cr3t
ffuf -c -w wordlist.txt -request post-login.txt -request-proto http

It will take the FUZZ word from the file and fuzzing over it.

Wfuzz

Bypass 403 Forbidden

Specific Software

Jenkins

From here

From here

From here

🐕‍🦺
shcheck
psudohash
password-permutor
statistically-likely-usernames
username-anarchy
password-stretcher
Header Based Injection
https://github.com/vanhauser-thc/thc-hydra
https://github.com/ffuf/ffuf
https://github.com/xmendez/wfuzz
https://github.com/devploit/nomore403
https://github.com/stevenvegar/Jenkins_scripts