Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -X POST "https://account.shodan.io/login" \
- --cookie cjar --cookie-jar cjar \
- -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" \
- -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" \
- -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" \
- --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" \
- >./tmp.html
- curl --cookie cjar -L "https://www.shodan.io/" \
- >./tmp2.html
- curl --cookie cjar -L "https://www.shodan.io/search?query=netwave+ip+camera+country%3A%22FR%22"\
- > ./tmp3.html
- ------------------------------------------------------------------------------
- tmp.html : 302 Found
- The resource was found at /; you should be redirected automatically.
- tmp2.html > home page without being logged
- 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