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
- Collects IP range from
StartIP.txt
andEndIP.txt
- Scans each IP address for open ports associated with CCTV systems
- 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
- Download
StartIP.txt
andEndIP.txt
from the following link:
https://onlytoolsbd.com/IP-List/ - 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
- Open Chrome or Firefox
- Type the IP address (e.g.,
http://103.25.55.89:81
) - Use default credentials like
admin/admin123
oradmin/admin
- Once logged in, navigate to the “Live” or “Channel” section to stream the feed
Method 2: Using DMSS Mobile App
- Install DMSS from Google Play Store
- Tap Add Device → IP/Domain
- Enter the IP and port (e.g., 37777)
- Use username:
admin
and password:admin123
- 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.