Giter Club home page Giter Club logo

propoliot's Introduction

Overview

A fairly basic, fake MJPEG camera stream. Loads the "cam.jpg" file and attempts to make it "webcammy". It implements a basic day/night cycle and fake auto-gain spazzes.

Serves this on its own HTTP server on port 8080, though you can get it to use a different port by passing --port X.

$ ./cam.py --port 9000

Remember that on Linux you won't be able to use ports <1024 without some extra work. You may want to consider running this as a user with minimal privileges, perhaps within some kind of container, and port-forwarding the relevant ports (eg 80) to whichever port it is listening on.

This was originally forked from Trollcam, with the idea that it would be fun to create a minimalistic honeypot IP camera capable of being listed on shodan.io and convincing the more than mildly nosy.

Wishlist

  • Make camera model specific details something that can be configured, perhaps in a yaml config file.
  • Add support for RTSP
  • Output interesting information about accesses to the camera, in a format that can be munged with a script to give interesting stats on where those attempts originate from, and what form they take.

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.