nmap lab - host:port scanning - htb

Short lab walk through of nmap training through HTB academy

Questions

Answer the question(s) below to complete this Section and earn cubes!

Target: 10.129.2.49

Find all TCP ports on your target. Submit the total number of found TCP ports as the answer.

Answer: 7

Enumerate the hostname of your target and submit it as the answer. (case-sensitive)

Answer: nix-nmap-default

Starting the scan to get a quick response of open ports

┌──(cscogin㉿SCOGIN-L7-WRKST)-[~]
└─$ sudo nmap -sS -Pn -p- 10.129.2.49
Starting Nmap 7.94SVN ( https://nmap.org ) at 2023-11-24 01:24 CST

Results

┌──(cscogin㉿SCOGIN-L7-WRKST)-[~]
└─$ sudo nmap -sS -Pn -p- 10.129.2.49
Starting Nmap 7.94SVN ( https://nmap.org ) at 2023-11-24 01:24 CST
Nmap scan report for 10.129.2.49
Host is up (0.050s latency).
Not shown: 65528 closed tcp ports (reset)
PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
110/tcp   open  pop3
139/tcp   open  netbios-ssn
143/tcp   open  imap
445/tcp   open  microsoft-ds
31337/tcp open  Elite

Nmap done: 1 IP address (1 host up) scanned in 24.17 seconds

Lets submit the answer 7 (the answer was correct, just not showing screen shots for labs unless necessary)

Now to answer the second question...

Enumerating the hostname:

Results - (Take a small potty break, warm up some food, check email, etc.)

Answer: (Also seen above) - nix-nmap-default

Last updated