achillean / shodan-python

The official Python library for Shodan
https://developer.shodan.io
Other
2.52k stars 569 forks source link

CLI reasults are diffrent from site reasults #157

Closed lordofwarz closed 2 years ago

lordofwarz commented 3 years ago

Hello,

When I make a search on the site it return 1M reasults but when I move the same keyword to CLI it just return 0 or any small number

the search is for example : port:443 /org:"Cloudflare, Inc."/country:"JP" On site : http://i.prntscr.com/ejXW0zu-RTOFkKTpLPkOXQ.png On CLI : http://i.prntscr.com/S2ynRo2wS26jNItjspqMWg.png Thanks in advance!!

achillean commented 2 years ago

You need to wrap your CLI in 2 sets of quotes. The first one is interpreted by Bash so it never gets sent to the API.