← Back to Tools
Reconnaissance

Shodan

The search engine for internet-connected devices — find exposed servers, webcams, and IoT.

Category
Reconnaissance
Platform
Linux / Kali
Type
CLI / Open Source
Skill Level
Beginner → Advanced

What is Shodan?

Shodan is a widely used tool in the Reconnaissance phase of penetration testing. It provides security professionals with the ability to gather intelligence, test systems, and identify weaknesses in a controlled, authorized environment.

⚠ Legal Notice

Only use this tool on systems you own or have explicit written authorization to test. Unauthorized use is a criminal offense under Pakistan's PECA 2016 and similar laws worldwide.

Installation

On Kali Linux, most tools are pre-installed. If not, use the following:

# Update package list first
sudo apt update

# Install Shodan
sudo apt install shodan -y

# Verify installation
shodan --version

Basic Usage

Start with these fundamental commands to get familiar with the tool:

# Basic syntax
shodan [options] [target]

# Get help
shodan --help

# Run a basic scan or operation
shodan -h

Common Use Cases

Tips & Best Practices

Always document your findings and commands during a test. Keep your tools updated and understand each flag before using it in a real engagement.