'Nix manual enumeration

Assorted commands for Linux/'Nix manual enum

#Spawning a shell

# On victim
python -c 'import pty;pty.spawn("/bin/bash")'
Ctrl-z

# On attacker
echo $TERM # note down
stty -a # note down rows and cols
stty raw -echo # this may be enough
fg

# On victim
reset
export SHELL=bash
export TERM=xterm256-color
stty rows 38 columns 116

#Alternatives:
echo os.system('/bin/bash')
/bin/sh -i
perl: exec "/bin/sh";
ruby: exec "/bin/sh"
lua: os.execute('/bin/sh')

#SUID files

#Blind Files

#System

#Networking

#User accounts

#Obtain user's information

#Configs

#Determine Distro

#Installed packages

#Package sources

#Locating important files

Last updated