Giter VIP home page Giter VIP logo

cctv-image-capture's Introduction

๐Ÿ“Œ CCTV Capture Script

The CCTV Capture Script is a Python application designed to scan a local network for CCTV cameras, capture network traffic from these cameras, and extract real images from the captured data. The script uses Nmap for network scanning, Scapy for packet sniffing, and PyShark for parsing and extracting images.

๐Ÿ“ Requirements

  • Python 3.x
  • Nmap
  • Scapy
  • PyShark
  • A network with CCTV cameras connected

๐Ÿš€ Getting Started

  1. Clone this repository to your local machine.

  2. Install the required dependencies using pip:

  3. Configure the script:

  • Specify the CCTV ports you want to monitor in the CCTV_PORTS list.
  • Set the subnet to scan for CCTV cameras in the SUBNET variable.
  • Add any desired image formats to the IMAGE_FORMATS list.
  1. Run the script:

python main.py

๐Ÿ” Network Scan

The script will start by scanning the specified subnet for CCTV cameras on the designated ports. If any CCTV cameras are detected, their IP addresses and open ports will be displayed.

๐Ÿ“ท Capture Images

The script will then capture network traffic from the identified CCTV cameras and store it in a PCAP file named captured_images.pcap.

๐ŸŽฅ Extract Real Images

After capturing network traffic, the script will extract real images from the captured data. These images will be saved in the captured_images directory. Images matching the specified image formats will be identified, and their filenames will be in the format real_captured_<number>.<format>.

๐Ÿ’ก Tips

  • Ensure that you have the necessary permissions (sudo) to run Nmap and capture network traffic.
  • Make sure to have CCTV cameras active on the network with accessible image data.
  • Check the log files for any errors or issues during the capture process.

๐Ÿ›‘ Stopping the Capture

To stop the capture process, press Ctrl + C.

๐Ÿ“‚ Captured Images

The extracted images will be saved in the captured_images directory. This directory will be automatically created if it does not exist.

๐Ÿ“ Note

Please try to fix this shit this script is fucked up so bad just pull a request pls ๐Ÿฅบ

๐Ÿšง Disclaimer

No disclaimer lol use this script whenever u want.

๐Ÿ“ง Contact

For any questions, issues, or feedback, please contact [[email protected]].

Happy CCTV capturing! ๐Ÿ“น๐Ÿ“ธ

cctv-image-capture's People

Contributors

adameladeb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.