TryHackMe-Wgel CTF

Look for open ports

First of all we are going to scan the box for open ports , you can use any port scanner but here I am using nmap,it’s going to take some time while scanning because we scan for every open port on the box.

nmap -T4 -A -p-
22/tcp open  ssh     OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 2048 94:96:1b:66:80:1b:76:48:68:2d:14:b5:9a:01:aa:aa (RSA)
| 256 18:f7:10:cc:5f:40:f6:cf:92:f8:69:16:e2:48:f4:38 (ECDSA)
|_ 256 b9:0b:97:2e:45:9b:f3:2a:4b:11:c7:83:10:33:e0:ce (ED25519)
80/tcp open http Apache httpd 2.4.18 ((Ubuntu))

Port 80

nikto -h

Result of Nikto

Result of Dirbuster

Port 22

First of all change the file permissions because it won’t allow to execute this file.

nc -lvp 4444



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store