Identify if its possible to perform a zone transfer and submit the TXT record as the answer. (Format: HTB{…})?
Folks can you help me with that?
I added to /etc/hosts as
My command: dig axfr ns.inlanefreight.htb @generatedip
Identify if its possible to perform a zone transfer and submit the TXT record as the answer. (Format: HTB{…})?
Folks can you help me with that?
I added to /etc/hosts as
My command: dig axfr ns.inlanefreight.htb @generatedip
First dig axfr target_host @target_ip
In the output from your dig axfr
command, the A records are entries that map hostnames to their corresponding IPv4 addresses. Each A record indicates the association between a specific hostname and its IP address.
Like:
dc1.internal.inlanefreight.htb. 604800 IN A 10.129.34.16
dc2.internal.inlanefreight.htb. 604800 IN A 10.129.34.11
mail1.internal.inlanefreight.htb. 604800 IN A 10.129.18.200
ns.internal.inlanefreight.htb. 604800 IN A 10.129.34.136
vpn.internal.inlanefreight.htb. 604800 IN A 10.129.1.6
ws1.internal.inlanefreight.htb. 604800 IN A 10.129.1.34
ws2.internal.inlanefreight.htb. 604800 IN A 10.129.1.35
wsus.internal.inlanefreight.htb. 604800 IN A 10.129.18.2
than:
dig axfr one_of_the_fqdns_in_some_a_records @target_ip