Guest User

Untitled

a guest
Oct 17th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #also, goes through each hacked site and sees if the entire bookmarks file
  2. #has at least one instance of it, so even if you bookmarked a bad domain
  3. #multiple times, it'll only show once here
  4.  
  5. $bookmarks = Get-Content .\bookmarks_10_17_16.html
  6. Get-Content .\jsmalwaresites.txt | % {
  7.     if ($bookmarks -match $_ ) {
  8.         "bookmarked compromised site " + $_
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment