Handy Commands & Payloads
Commands and Payloads that I use the most to get the basics covered.
Nmap
nmap -f -D RND:10 -p- -Pn $TARGET
nmap -sC -sV -p $(nmap -f -D RND:10 -p- -Pn $TARGET | grep '^[0-9]' | cut -d '/' -f 1 | tr '\n' ',') $TARGETsudo nmap -Pn -p 3389 -ff -send-eth -script rdp-enum-encryption $IPTest SSL
testssl $URLNikto
nikto -host $URL
nikto -h $URL -O STATIC-COOKIE="Authorization: Bearer..."Nuclei
nuclei -u $URL
nuclei -u $URL -H "cookie: "
# Use secrets.yaml file for other authentication mechanismsNuclei Fuzzer
Directory Fuzzing
VHOST Fuzzing
SQLi
XSS Best Payloads
SQL Injection Payloads
NoSQL Injection Payloads
SSRF Payloads
XXE Payloads
SSTI Payloads
File Inclusion Payloads
CRLF Injection Payloads
Easy Vulnerabilities & Security Misconfigurations to Report
Security Headers
Cross-Origin Resource Sharing (CORS)
Cookie Attributes
Authentication & Session Management
File Handling
Access Controls
Web Server Configuration
Information Disclosure
Business Logic & Other Issues
Additional Points
Last updated