Phase 1: Initial Reconnaissance

Step 1.1: Port Scanning

Open your terminal and execute:

sudo nmap -sC -sV <TARGET_IP> -oN nmap_scan.txt

Expected Output:

Starting Nmap 7.95 ( https://nmap.org )
Nmap scan report for <TARGET_IP>
Host is up (0.21s latency).
Not shown: 998 closed tcp ports (reset)
PORT   STATE SERVICE VERSION
22/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.13 (Ubuntu Linux; protocol 2.0)
80/tcp open  http    Apache httpd 2.4.52
|_http-title: Did not follow redirect to http://conversor.htb/
Service Info: Host: conversor.htb; OS: Linux

Step 1.2: Configure DNS Resolution

The scan reveals a hostname conversor.htb. Add it to your hosts file:

echo "<TARGET_IP> conversor.htb" | sudo tee -a /etc/hosts

Verify it's added:

tail -n 1 /etc/hosts

Expected Output:

<TARGET_IP> conversor.htb

Subscribe to keep reading

This content is free, but you must be subscribed to Andrés to continue reading.

Already a subscriber?Sign in.Not now

Keep Reading


No posts found