#hikavision-recover — password recovery tool via Hikvision SDK for IP Cameras
Install Kali Linux
Install Go Language
Install Go Language Color Addon
Setup Go Language
Install MinGw for Windows buildings
Download hikkavision-recover source and extract to Home directory
apt-get install golang
mkdir ~/workspace
echo 'export GOPATH="$HOME/workspace"' >> ~/.bashrc
source ~/.bashrc
go get github.com/fatih/color
apt-get install mingw-w64
cd ~/hikkavision-recover-master
make
And now you have a build
directory with compiled app for Windows and Linux
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:
hikkavision-recover -threads 200 -check -shoots pics/