Scan IP CCTV Cameras Using Your Android Phone

How to Scan IP CCTV Cameras Using Your Android Phone (Step-by-Step Guide)

In this tutorial, you’ll learn how to use your Android phone to scan IP CCTV cameras using a Termux-based tool. This tool helps you identify active IP addresses and detect connected CCTV cameras by scanning open ports.

Disclaimer: This tool is strictly for educational and ethical network testing purposes. Accessing any camera without permission is illegal and punishable by law.


What You Can Do with This Tool

  • Scan multiple IP addresses simultaneously
  • Detect open ports to identify live CCTV camera feeds
  • View real-time scanning progress
  • Complete the entire process on Android using Termux
  • Automatically save detected camera IPs in a text file

How the Tool Works

  1. Collects IP range from StartIP.txt and EndIP.txt
  2. Scans each IP address for open ports associated with CCTV systems
  3. Saves the active camera IPs in a text file for easy access

Step-by-Step Usage Instructions

Step 1: Install Termux on Android

Download Termux from this link:
https://f-droid.org/en/packages/com.termux/

Step 2: Install Required Packages

pkg update -y
pkg upgrade -y
pkg install python -y
pkg install python2 -y
pkg install git -y
pkg install clang
pip install --upgrade pip

Step 3: Clone the Camera Scanner Tool

git clone https://github.com/W8SOJIB/W8CameraHack
cd W8CameraHack

Step 4: Install Python Dependencies

pip install -r requirements.txt

Prepare the IP Range Files

  1. Download StartIP.txt and EndIP.txt from the following link:
    https://onlytoolsbd.com/IP-List/
  2. Move the files to the tool’s working directory:
cp /sdcard/StartIP.txt /sdcard/EndIP.txt W8CameraHack/

Set Up the Tool

Run the setup script:

bash setup.sh

When prompted, press Y for all confirmations.


Start Scanning for IP Cameras

python W8CameraHack.py
  • The default number of threads is 300.
  • For faster phones, you can use 500 or even 1000 threads for quicker scanning.

Understanding IP Range Format

An IP block like 100.64.1.0/24 represents all addresses from 100.64.1.0 to 100.64.1.255, totaling 256 IPs.

The tool uses your custom StartIP and EndIP files to determine the scan range.


Where to Find Detected Cameras

After scanning, open the following file:

cd W8CameraHack
cat cameras_found.txt

This file stores all the IP addresses where CCTV cameras were successfully detected.


How to View Live CCTV Feeds

Method 1: Using a Web Browser

  1. Open Chrome or Firefox
  2. Type the IP address (e.g., http://103.25.55.89:81)
  3. Use default credentials like admin/admin123 or admin/admin
  4. Once logged in, navigate to the “Live” or “Channel” section to stream the feed

Method 2: Using DMSS Mobile App

  1. Install DMSS from Google Play Store
  2. Tap Add Device → IP/Domain
  3. Enter the IP and port (e.g., 37777)
  4. Use username: admin and password: admin123
  5. If the connection is successful, select a channel to watch the live video

Why This Tool is Powerful

  • Supports bulk scanning using customizable IP ranges
  • Automatically saves active camera IPs
  • Compatible with any Android device
  • Perfect for ethical hacking and network penetration testing learners

Quick Summary

Feature Description
IP Range Define scan range with StartIP & EndIP
Fast Multi-IP Scan Quickly scan hundreds or thousands of IPs
Auto Save Found camera IPs saved in cameras_found.txt
Live Feed Access View live CCTV using browser or app

Important Reminder

This tool is for educational purposes only. Do not use it to access anyone’s camera without proper authorization. Unauthorized access is a criminal offense.

Leave a Reply

Your email address will not be published. Required fields are marked *