Blunder is an Easy box.

Tools

  • Nmap
  • Dirsearch
  • Cewl
  • Custom Python Script

Note: for ease of use, i just added the ip address of the machine to my hosts file.

Scanning

As usual the first step during solving any machine is the scanning. Scanning can be done through many tools, but Nmap is the beloved one.

Command:

nmap -Pn -sC -sV -v -T5  -oA Nmap/blunder blun

Used Tools

  1. Nmap
  2. Searchsploit
  3. Burb Suite
  4. FTP Client
  5. SmbClient

Scanning

As always we begin with scanning the target using beloved Nmap

nmap -sC -sV -T5 -v -oA Nmap/ServMon servmon.htb

This is my first write up for a HackTheBox Machine, it’s Traverxec.

Let’s start with scanning it. I do have my readymade script which first scan for all open ports, then do a service enumeration and other stuff on the opened ports.

Here is the scanning bash script:

#!/bin/bash
echo Grabbing ports...
ports=$(nmap -p- --min-rate 1000 -v -T4 $1 | grep ^[0-9] | cut -d '/' -f 1 | tr '\n' ',' | sed s/,$//)
echo Ports grabbed!
echo Scanning...
nmap -sC -v -sV -Pn -p $ports $1 $2 $3

Now i will run the below command:

portScanner.sh traverxec.htb

let’s…

Khaled Fawzy

Security Researcher

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