Magic Cookbook

last edited Sat, 10 Feb 2024 15:04:05 GMT
backlinks: null


cmd line stuff

IPs direct link to this section

curl ipinfo.io/54.90.107.240

Email direct link to this section

curl emailrep.io/john.smith@gmail.com

SSH Tunneling direct link to this section

ssh -L localport:127.0.0.1:remoteport user@host

Visualize like so: ssh -L 127.0.0.1:8080:127.0.0.1:80 user@host

SOCKS Proxy direct link to this section

SSH -D 8080 user@host

NMAP direct link to this section

nmap -Pn -sS -sV -O -T 2 [TARGET IP] -p1-65535 > nmap.txt

Priviliege Escalation direct link to this section

sudo -l 
ls -lah
id 
# view groups