Coder Social home page Coder Social logo

hikka's Introduction

#hikka — IP camera bruteforcer based on Hikvision SDK.


Building

I'm using a makefile, so you should be able to build it under Linux using this command:

make linux

You can also build it for Windows if you have a MinGW installed:

make windows

And you can make binaries for Linux and Windows by omiting a make target (it is useful for me as I distribute every build to people who don't know anything about compilers):

make

And now you have a build directory with compiled app.


How to compile:

apt install git golang-go mingw-w64
git clone https://github.com/blacksheepstudio/hikka
export GOPATH=$HOME/go
cd hikka && make

Usage

You can define some options:

  • -logins, -passwords — files where your logins and passwords are stored; it looks for «logins» and «passwords» by default;
  • -check — very useful, but still experimental option which allows to check a host before trying to log in (I did some reverse-engineering and I'm not really sure if everything is OK);
  • -shoots — a directory where pictures from cameras will be stored; it doesn't download pictures by default;
  • -threads — there's no multithreading until you define in how many threads you want to do a job;
  • -csv — write results to CSV file.

Please note that it is hardcoded to read IPs from file called “hosts”!

A typical cammand is:

hikka -threads 200 -check -shoots pics/

Here you go, kid.


TODO

  1. Export result to JSON, iVMS-compatible CSV and m3u playlist.
  2. Some features like checking PTZ- and microphone-enabled cameras.
  3. Rewrite bruteforcing routine to make it possible to bruteforce a single camera in multiple threads (there's a one thread for every camera now).

Bugs

There's some bugs in SDK library (memory leaks and cycling that can fuck up everything) and I can't do anything with it, but all in all it isn't that bad.


Contributing

I'm a newbie in Go and this is my first Go program, so the code and some practices may be ugly. Please tell me if you'll find something that I did in wrong way.

Feel free to contribute, yeah.

hikka's People

Contributors

superhacker777 avatar blacksheepstudio avatar megapro17 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.