GeorgeBanu
  • About me
  • Pentesting CheatSheets
    • Information Gathering
    • Ports Enumeration
      • FTP-21
      • SSH-22
      • Telnet-23
      • SMTP - 25,465,587
      • DNS-53
      • NetBIOS, SMB - 139,445
      • SNMP-161
      • MySQL-3306
      • RDP-3389
      • WinRM-5985
    • Web Cheat Sheet
    • Privilege Escalation
      • Linux Enumeration
      • Linux Privesc Techniques
    • Tricks
    • Template
  • TryHackMe Writeups
    • Starter
    • Dreaming
    • ColddBox: Easy
    • Ollie
    • Blog
    • KoTH Hackers
    • Brooklyn Nine Nine
    • Chill Hack
    • Undiscovered
    • Archangel
    • Jason
    • GLITCH
    • VulnNet: Node
    • Road
    • VulnNet:Internal
    • W1seGuy
  • CyberEDU Writeups
    • flag-is-hidden
    • file-crawler
    • reccon
    • this-file-hides-something
    • wifiland
    • old-tickets
    • inodat
    • pattern
    • ultra-crawl
  • eJPT
Powered by GitBook
On this page
  1. Pentesting CheatSheets
  2. Ports Enumeration

DNS-53

  • enumeration

# Simple whois scan
whois $domain
# DNS records
dig $domain +short # A records -> DNS IP lookup
dig $domain -t mx +short # MAIL records
dig $domain -t ns +short # NS, CNAME
  • subdomains

dig avfr $domain @10.10.10.10 # Zone transfer 
dig -t axfr $domain @$IP
sublist3r -d $domain
PreviousSMTP - 25,465,587NextNetBIOS, SMB - 139,445

Last updated 1 year ago