Domain Detective

API Reference

Class

DirectoryExposureAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

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.

Accepted by parameters

Constructors

Methods

public async Task Analyze(String baseUrl, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Checks the target host for exposed directories.

Parameters

baseUrl System.String requiredposition: 0
Base URL, e.g. http://example.com
logger DomainDetective.InternalLogger requiredposition: 1
Logger for verbose output.
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.

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.

{{ include "footer" }}