Skip to content

Script hostmap-crtsh does not return just subdomains #2183

@nnposter

Description

@nnposter

The script is described as

Finds subdomains of a web server by querying Google's Certificate Transparency logs database (https://crt.sh).

At the moment the script reports all hostname-like identities where the input/target hostname is present somewhere in the identity. Specifically, the script does not verify that a returned identity is truly a subdomain of the target hostname.

As an example, one of the returned identities for google.com is google.com.gr. An even more egregious example is that www.google.com returns www.google.com-----------------r.reflectiz.com.

I am inclined to fix this but first I am soliciting feedback whether there are users that use the script to fish out domains that are not strictly subdomains. One possibility is to control the script behavior with a script argument.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions