4 ms·
If it's what was on the PHP Fog Sucks website, it worked something like this (I may be misremembering a step): 1. Use the post-deploy hook to chmod /home/ubunt
by nbpoole 16y ago
If it's what was on the PHP Fog Sucks website, it worked something like this (I may be misremembering a step):
1. Use the post-deploy hook to chmod /home/ubuntu/.ssh so that it could be written to.
2. Upload a PHP shell, use it to write your public key into /home/ubuntu/.ssh/authorized_keys, and get the public IP of the EC2 instance.
3. SSH into the box, sudo su will get you root.
- getsat 16y agoOk, thanks. I was wondering if there was some other root exploit at play, not just bad system configuration.