How to Install and Use Shodan Hacker Search Engine in Kali Linux Terminal

Man

Professional
Messages
3,085
Reaction score
623
Points
113
Hello everyone, dear friends!
We have mentioned the hacker search engine Shodan on the channel many times, but we have always talked about using the Shodan website. In this article, we will show you how to install and use Shodan in the Kali Linux terminal.

Installing Shodan on Kali Linux​

Before installing Shodan, you need to install dependencies.

  • To do this, run the following commands:
Code:
sudo apt install python python3 python-pip python3-pip
sudo apt install python-setuptools python3-setuptools

0b3426c2-1dda-4e53-89c9-3067f98089d8.png


  • Now let's install Shodan:
Code:
sudo pip install shodan

8772ea54-0f2e-49b9-b847-4e02cad27430.png


  • After installation, I decided to test it and executed the command:
Code:
shodan count microsoft iis 6.0

To which I received an error. The search engine refuses to work without the API, which can be found on the site, in your profile.

336d6610-ca04-4f53-a026-564eeb992a1c.png


  • Now we go back and add the API using the command:
Code:
shodan init key_api

2a3e2c4e-7b89-4292-89ad-456b524fe83b.png


Using Shodan in Kali Linux Terminal​

  • To scan a specific IP address, use the command:
Code:
shodan scan submit --force IP

65fbf686-386c-4154-bc1b-3dd2ca0a818a.png


  • To search for a specific host:
Code:
shodan host IP

969e9ecf-ee61-4466-b2c5-4c27b526d26c.png


  • Everything else can be found in the help.

That's all for today. I recommend you use Shodan in the Kali terminal, because it's much more convenient than the site and saves a lot of time.
 
Top