Web Cheat Sheet

Server version

  • To do

- Check if are known vulnerabilities
- Get versions, application, services, technologies etc.
- Source code review
- HTTPS -->certificate --> usernames, mail, subdomains
- Web Application Firewall (WAF)
  • tools

whatweb -a 1 $URL
whatweb -a 3 $URL
whatweb -a 4 $URL
nuclei -ut && nuclei -target http://$IP 
nikto --host $URL -C all -o recon/nikto.txt 

Content discovery

  • To do

Do a recursive search (not every tool do this automatically)
See default pages 
Use different wordlists 
Check every file you found (php,bak, html, py, txt, etc.)
Check for WAF
  • Default pages

  • Wordlists

  • Files and Folders Discovery

  • subdomains

  • Check if any WAF


Common Vulns

IDOR

SQLinjections

https://github.com/payloadbox/sql-injection-payload-list

For specific payloads, kindly utilize the provided link above.

  • SQLMap

These are commands that I commonly use

File upload

XML External Entity (XXE) and XSLT

Local File Inclusion

  • Common payloads

I usually do a manual enumeration to see how website responds to LFI attacks

  • Useful commands

  • Fuzzing parameter

  • Fuzzing for LFI

PHP Vulns

  • PHP Filters

  • PHP Session Poisoning

  • Phar Upload

  • PHP Wrappers

  • PHP Functions

  • Server Log Poisoning

  • Common RFI

Last updated