From 6463a024a18570e6c688b22210c0570887bed9e1 Mon Sep 17 00:00:00 2001 From: g147 <26509147+g147@users.noreply.github.com> Date: Fri, 12 May 2023 09:52:10 +0530 Subject: [PATCH] added subdomain.center --- README.md | 2 +- resources/scripts/api/subdomaincenter.ads | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 resources/scripts/api/subdomaincenter.ads diff --git a/README.md b/README.md index fff843cfe..1dfdfcc53 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The OWASP Amass Project performs network mapping of attack surfaces and external | Technique | Data Sources | |:-------------|:-------------| -| APIs | 360PassiveDNS, Ahrefs, AnubisDB, BeVigil, BinaryEdge, BufferOver, BuiltWith, C99, Chaos, CIRCL, DNSDB, DNSRepo, Deepinfo, Detectify, FOFA, FullHunt, GitHub, GitLab, GrepApp, Greynoise, HackerTarget, Hunter, IntelX, LeakIX, Maltiverse, Mnemonic, Netlas, Pastebin, PassiveTotal, PentestTools, Pulsedive, Quake, SOCRadar, Searchcode, Shodan, Spamhaus, Sublist3rAPI, ThreatBook, ThreatMiner, URLScan, VirusTotal, Yandex, ZETAlytics, ZoomEye | +| APIs | 360PassiveDNS, Ahrefs, AnubisDB, BeVigil, BinaryEdge, BufferOver, BuiltWith, C99, Chaos, CIRCL, DNSDB, DNSRepo, Deepinfo, Detectify, FOFA, FullHunt, GitHub, GitLab, GrepApp, Greynoise, HackerTarget, Hunter, IntelX, LeakIX, Maltiverse, Mnemonic, Netlas, Pastebin, PassiveTotal, PentestTools, Pulsedive, Quake, SOCRadar, Searchcode, Shodan, Spamhaus, Sublist3rAPI, SubdomainCenter, ThreatBook, ThreatMiner, URLScan, VirusTotal, Yandex, ZETAlytics, ZoomEye | | Certificates | Active pulls (optional), Censys, CertCentral, CertSpotter, Crtsh, Digitorus, FacebookCT | | DNS | Brute forcing, Reverse DNS sweeping, NSEC zone walking, Zone transfers, FQDN alterations/permutations, FQDN Similarity-based Guessing | | Routing | ASNLookup, BGPTools, BGPView, BigDataCloud, IPdata, IPinfo, RADb, Robtex, ShadowServer, TeamCymru | diff --git a/resources/scripts/api/subdomaincenter.ads b/resources/scripts/api/subdomaincenter.ads new file mode 100644 index 000000000..f0ce28609 --- /dev/null +++ b/resources/scripts/api/subdomaincenter.ads @@ -0,0 +1,18 @@ +-- Copyright © by Jeff Foley 2017-2023. All rights reserved. +-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +-- SPDX-License-Identifier: Apache-2.0 + +name = "SubdomainCenter" +type = "api" + +function start() + set_rate_limit(2) +end + +function vertical(ctx, domain) + scrape(ctx, {['url']=build_url(domain)}) +end + +function build_url(domain) + return "http://api.subdomain.center/?domain=" .. domain +end