Skip to content

Instantly share code, notes, and snippets.

@LaurenceJJones
Last active September 20, 2021 21:00
Show Gist options
  • Save LaurenceJJones/a8f83f42b956ae09ba0eb945ad060fcb to your computer and use it in GitHub Desktop.
Save LaurenceJJones/a8f83f42b956ae09ba0eb945ad060fcb to your computer and use it in GitHub Desktop.
List of commands on unix for testing in command injection
&
alias
apt
apt-get
aptitude
aspell
at
awk
basename
base32
base64
bash
bc
bg
bind
break
builtin
bzip2
cal
caller
case
cat
cd
cfdisk
chattr
chgrp
chmod
chown
chpasswd
chroot
chkconfig
cksum
cmp
comm
command
continue
cp
cpio
cron
crontab
csplit
curl
cut
date
dc
dd
ddrescue
declare
df
diff
diff3
dig
dir
dircolors
dirname
dirs
dos2unix
dmesg
dpkg
du
echo
egrep
eject
enable
env
eval
exec
exit
expect
expand
export
expr
false
fdformat
fdisk
fg
fgrep
file
find
fmt
fold
for
fsck
ftp
function
fuser
gawk
getopts
grep
groupadd
groupdel
groupmod
groups
gzip
hash
head
history
hostname
htop
iconv
id
if
ifconfig
ifdown
ifup
import
install
iostat
ip
jobs
join
kill
killall
less
let
link
ln
local
locate
logname
logout
look
lpc
lpr
lprm
lsattr
lsblk
ls
lsof
lspci
man
mapfile
mkdir
mkfifo
mkfile
mknod
mktemp
more
most
mount
mtools
mtr
mv
mmv
nc
netstat
nft
nice
nl
nohup
notify-send
nslookup
open
op
passwd
paste
Perf
ping
pgrep
pkill
popd
pr
printenv
printf
ps
pushd
pv
pwd
quota
quotacheck
ram
rar
rcp
read
readarray
readonly
rename
return
rev
rm
rmdir
rsync
screen
scp
sdiff
sed
select
seq
set
shift
shopt
shuf
shutdown
sleep
slocate
sort
source
split
ss
ssh
stat
strace
su
sudo
sum
suspend
sync
tail
tar
tee
test
time
timeout
times
tmux
touch
top
tput
traceroute
trap
tr
true
tsort
tty
type
ulimit
umask
unalias
uname
unexpand
uniq
units
unix2dos
unrar
unset
unshar
until
useradd
userdel
usermod
users
uuencode
uudecode
vi
vmstat
w
wait
watch
wc
whereis
which
while
who
whoami
write
xargs
xdg-open
xz
yes
zip
.
Run
!!
last
###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment