trufflehog
trufflehog copied to clipboard
URI detector should ignore `.local` TLD
.local is a special TLD that is reserved for link-local networking. The URI detector should ignore results for .local to be consistent with the existing behaviour of skipping local IPs.
Example
curl -X PROPFIND \
--url http://admin:[email protected]/remote.php/dav/files/admin/myfile.odt \
--data '<D:propfind xmlns:D="DAV:" xmlns:NC="http://nextcloud.org/ns">
<D:prop>
<NC:lock />
<NC:lock-owner-type />
<NC:lock-owner />
<NC:lock-owner-displayname />
<NC:lock-owner-editor />
<NC:lock-time />
</D:prop>
</D:propfind>'