Tricks
Reverse Shell Tricks
Spawning a TTY Shell
python -c 'import pty; pty.spawn("/bin/sh")'echo os.system('/bin/bash')/bin/sh -iperl —e 'exec "/bin/sh";'perl: exec "/bin/sh";ruby: exec "/bin/sh"lua: os.execute('/bin/sh')exec "/bin/sh":!bash:set shell=/bin/bash:shell!shDouble characters
Shell upgrade
PowerShell Tricks
Invoke-Mimikatz
Ubuntu disable firewall
Cron job
Cron file
Search for interesting files
SUID
weevely
Port knocking with nc
Shellshock
Quick add Admin and RDP
Nmap list all scripts
Forward traffic from a laptop's wlan0 to eth0
Kudos, References and Further Reading
Last updated
Was this helpful?