API: Subdomain Enumeration

Subdomain Enumeration is the process of finding sub-domains of a domain, this is an important phase in a recon.

URL Endpoint : https://api.n45ht.or.id/v1/subdomain-enumeration
Parameter : domain

Example:

#1

Request : https://api.n45ht.or.id/v1/subdomain-enumeration
Response :

{
  "response": "400",
  "message": "Missing Parameter Domain",
  "subdomains": null
}

#2

Request : https://api.n45ht.or.id/v1/subdomain-enumeration?domain=
Response :

{
  "response": "400",
  "message": "Invalid Domain Name",
  "subdomains": null
}

#3

Request : https://api.n45ht.or.id/v1/subdomain-enumeration?domain=n45ht.or.id
Response :

{
  "response": "200",
  "message": "OK",
  "subdomains": [
     "n45ht.or.id",
     "www.n45ht.or.id",
     "example-abc.n45ht.or.id",
     "example-xyz.n45ht.or.id"
  ]
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

Social Media

Advertisement

Tags

API Bug Bounty Capture The Flag Cross-site Scripting CTF ExifTool HTML JavaScript Open Redirection PHP SQL Injection VDP WAF Web Application Firewall XSS XSSR XSSRush