Enumeration
Find information before we attack
curl -is -X OPTIONS m4lwhere.org # Find all supported options for an HTTP Server
curl -s --head m4lwhere.org | grep -i server # Find out what server info is provided by the server
curl -d "param1=value¶m2=value" https://m4lwhere.org/resource.cgi # Send parameters with curl
# Below: Test all available HTTP methods for a site
for i in GET HEAD POST PUT DELETE TRACE OPTIONS; do echo "====Trying $i method===="; curl -X $i https://m4lwhere.org --head; doneSpidering
wget -r -P /tmp --no-check-certificate https://m4lwhere.org # Manual spidering of site using wget, saves to local disk
wget -e robots=off # Will spider items in robots.txt, without will ignore it
export https_proxy=https://127.0.0.1:8080 # Sets the proxy to a Burp instance running, useful to spider all info into Burp as well
cewl https://m4lwhere.org # Gather a unique list of all words on a page, spiders to linked pages
cewl -d 3 -m 5 -w words.txt https://m4lwhere.org # Depth of 3 pages, words min 5 chars long, output to file words.txt
cewl -d 5 -m 3 -w wordlist --with-numbers https://m4lwhere.org # Depth of 5, min 3 char words, includes words with numbers in them!Fuzzing
Vhost Enumeration
Identify Components
Check list
References
Last updated