Useful commands

HTTP ServerOne line

python -m SimpleHTTPServer 8000 # Python 2.x

python -m http.server 8000 # Python 3.x

updog # pretty interface

Steganography

Find images information

identify -verbose
pngcheck [image]
zsteg [image] # detects stegano data hidden in PNG & BMP


steghide extract -sf [filename]
stegseek [file] [wordlist] # bruteforce steghide passphrase

Web

Attaque SQL

sqlmap -u "http://172.16.128.39:8080/student_grade/index.php?student_id=" --tables -D Dysto_School -T student

Website request command line

curl -v [url]
curl -v -X POST [url]
wget [url]

Forensic Investigation

volatility
testdisk

Hidden files extraction

binwalk -e

Windows

Find the Wi-Fi password using CMD

netsh wlan show profile <ESSID> key=clear