trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

URI detector should ignore `.local` TLD

Open rgmz opened this issue 1 year ago • 1 comments

.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>'

rgmz avatar Dec 01 '24 15:12 rgmz