Attacking DNS

May 25, 2024

# Nmap 7.94 scan initiated Sun May 26 15:40:52 2024 as: nmap -sC -sV -oN nmap -p 53 10.129.90.105
Nmap scan report for 10.129.90.105
Host is up (0.32s latency).

PORT   STATE SERVICE VERSION
53/tcp open  domain  ISC BIND 9.16.1 (Ubuntu Linux)
| dns-nsid: 
|_  bind.version: 9.16.1-Ubuntu
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Sun May 26 15:41:11 2024 -- 1 IP address (1 host up) scanned in 19.31 seconds

Change the resolvers.txt or just create a new one

./subbrute.py inlanefreight.htb -s ./names.txt -r ./resolvers-try.txt
sudo vim /etc/hosts
cat /etc/hosts
dig axfr hr.inlanefreight.htb @inlanefreight.htb

Last updated