n00bn3tw0rk:~#

Try Harder!.

View on GitHub

Hackmyvm - Gift

After spawning up the target machine, we do an fping to get target IP

image

since ...62 and *..*.119 are my AP and my machine’s address respectively, Target IP should be 192.168.8.179 Added IP to /etc/hosts with name gift.hmv

ran full nmap scan on target IP and found ssh and http open..

image

ran dirb and nikto on http for hidden directories but found nothing except index.html

image

Checked browseer on port 80, http and found this;

image

Since i could do nothing to port 80, http at the moment… I started shooting at port 22, ssh. made a user wordlist of two users ‘gift’, and ‘root’ then i bruteforced with ncrack using the user wordlist and rockyou as password wordlist. Then i landed a hit.

image

root:simple

I ‘ssh-ed’ into machine and got root access straight up and found user and root flag. image