1 2 3 4 5 6 7 |
(Invoke-WebRequest 'https://www.exploit-db.com/google-hacking-database/').AllElements | %{$_.href | Select-String https://www.exploit-db.com/ghdb/} | %{ $buscar=((Invoke-WebRequest $_.tostring()).AllElements | Where class -eq "w-pagehead").outerText $buscar $url='https://www.google.es/search?q='+$buscar (Invoke-WebRequest $url).AllElements | Where Class -eq "sd" | %{$_.innerText} Start-Sleep -Seconds 10 } |