API Reference
Class
TakeoverCnameAnalysis
Detects CNAME records pointing to cloud providers prone to subdomain takeover.
Inheritance
- Object
- TakeoverCnameAnalysis
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public TakeoverCnameAnalysis() #Methods
public async Task Analyze(String domainName, InternalLogger logger, CancellationToken ct = null) #Returns:
TaskQueries the domain CNAME and determines if it belongs to a risky provider.
Parameters
- domainName System.String
- logger DomainDetective.InternalLogger
- ct System.Threading.CancellationToken = null
public static Void LoadTakeoverList(String filePath) #Returns:
VoidLoads takeover provider list from a JSON file.
Parameters
- filePath System.String
- JSON array file path.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public DnsConfiguration DnsConfiguration { get; set; } #DNS configuration for lookups.
public Func<String, DnsRecordType, Task<DnsAnswer[]>> QueryDnsOverride { get; set; } #Override DNS query logic.
public Boolean CnameRecordExists { get; set; } #Indicates whether a CNAME record exists.
public String Target { get; set; } #CNAME target if found.
public Boolean IsTakeoverRisk { get; set; } #True when the CNAME points to a known takeover risk provider.
public virtual List<Assessment> Assessments { get; } #Gets the assessments value.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.