Last active
September 19, 2019 19:46
-
-
Save arnydo/0d6c1314c137cc5a905088c07371e47e to your computer and use it in GitHub Desktop.
Quickly check domain breaches against DeHashed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function check-dehashed ($dom) { | |
$url = "https://dehashed.com/search?query=%22{0}%22" -f $dom | |
($(iwr $url).AllElements | ?{$_.class -eq "d-block text _500"})[0] | select @{name="Domain";E={$dom}},@{Name="Results";E={[int]$_.InnerText}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment