Ullaakut / cameradar

Cameradar hacks its way into RTSP videosurveillance cameras
MIT License
4.11k stars 516 forks source link

mass scan ? #300

Closed ouchnet closed 1 year ago

ouchnet commented 3 years ago

Hi, I used your tool on my network and it seems to works great ! But I had a question, is this possible to scan a list of ip (mass scan) with a txt file ? I searched for answers on forums, but I found nothing ... Thanks for your answer :)

Ullaakut commented 3 years ago

Hi @ouchnet ,

Yes it is possible, as written in the documentation of this repository :) no need to look on forums, all of the information is here.

Instead of writing an IP as the target, simply specify a file path which contains newline-separated IPs, ranges and/or net masks.

ouchnet commented 3 years ago

Hi, which flag shoud I used for mass scan ? cause when I used -t "iplistpath", I only got : [Nmap Warning] Failed to resolve "iplistpath" [Nmap Warning] WARNING: No targets were specified, so 0 hosts scanned.

I'm using the docker image

Ullaakut commented 3 years ago

As described in the README file:

Running cameradar with an input file, logs enabled on port 8554

docker run -v /tmp:/tmp --net=host -t ullaakut/cameradar -t /tmp/test.txt -p 8554

Source

In your case, if the file you want to access is in your current working directory, you'll need to mount that directory in the Docker container and give the path to this file as the -t option of Cameradar (⚠️ not to be confused with the -t option of docker run which is used to specify that the command should allocate a pseudo-tty.

Ullaakut commented 1 year ago

Duplicate of #303