Advertisement
Guest User

Untitled

a guest
Jul 17th, 2015
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.30 KB | None | 0 0
  1. curl -X POST "https://account.shodan.io/login" \
  2. --cookie cjar --cookie-jar cjar \
  3. -H "Origin: https://account.shodan.io" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" \
  4. -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36" -H "Content-Type: application/x-www-form-urlencoded" \
  5. -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" -H "Cache-Control: max-age=0" -H "Referer: https://account.shodan.io/login" -H "Connection: keep-alive" \
  6. --data "username=TEST&password=TEST&grant_type=password&continue=https"%"3A"%"2F"%"2Fwww.shodan.io"%"2Fsearch"%"3Fquery"%"3Dnetwave"%"2Bip"%"2Bcamera"%"2Bcountry"%"253A"%"2522FR"%"2522"%"26page"%"3D2&login_submit=Log+in" \
  7. >./tmp.html
  8. curl --cookie cjar -L "https://www.shodan.io/" \
  9. >./tmp2.html
  10. curl --cookie cjar -L "https://www.shodan.io/search?query=netwave+ip+camera+country%3A%22FR%22"\
  11. > ./tmp3.html
  12.  
  13. ------------------------------------------------------------------------------
  14. tmp.html : 302 Found
  15. The resource was found at /; you should be redirected automatically.
  16.  
  17. tmp2.html > home page without being logged
  18.  
  19. tmp3:html > the same (and error because i can't use filter without being logged, but that's normal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement