API Reference
Class
DirectoryExposureAnalysis
Scans common directories on a web server looking for inadvertent exposure.
Inheritance
- Object
- DirectoryExposureAnalysis
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
- Property DomainHealthCheck.DirectoryExposureAnalysis
- Property DirectoryExposureInfo.Raw
Accepted by parameters
- Method DirectoryExposureNarrative.Build
- Method Converters.Convert
Constructors
public DirectoryExposureAnalysis() #Methods
public async Task Analyze(String baseUrl, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskChecks the target host for exposed directories.
Parameters
- baseUrl System.String
- Base URL, e.g. http://example.com
- logger DomainDetective.InternalLogger
- Logger for verbose output.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public TimeSpan Timeout { get; set; } #HTTP client timeout for each request.
public String Subject { get; set; } #Subject of the check (normalized base URL).
public List<String> ExposedPaths { get; set; } #List of directories detected as accessible.
public virtual List<Assessment> Assessments { get; } #Gets the assessments value.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.