cameradar icon indicating copy to clipboard operation
cameradar copied to clipboard

Cameradar not loading dictionaries ??

Open IdrisBouar opened this issue 1 year ago • 5 comments

First, make sure that none of the open and closed issues is about the same issue as you are describing, and make sure to check the frequently asked questions in the README file. Then, replace the parts of this template that are between with the data relative to your issue.

If you're reporting a bug, use the template below. Otherwise, delete this template and write your issue normally.

Context

Please select one:

  • [X] I use the docker image ullaakut/cameradar
  • [x] I use my own build of the docker image
  • [ ] I use the pre-compiled binary
  • [ ] I use my own build of the binary
  • [ ] None of the above / I don't know

Please select one:

  • [ ] I use a specific version:
  • [X] I use the latest commit of the master branch
  • [ ] I use the latest commit of the develop branch
  • [ ] I use a forked version of the repository: <fork URL>
  • [ ] I use a specific commit:

Environment

My operating system:

  • [ ] Windows
  • [ ] OSX
  • [X] Linux
  • [ ] Other

OS version: <Kernel Linux 6.0.0-12parrot1-amd64 x86_64> OS architecture: <ParrotOS Debian>

Issue

When starting cameradar, i do not get prompted with the dictionaries loading process while using default dictonaries or loading custom ones (as showing in the image mounted)

What was expected

The display of the 'Loading Credentials dictionaries' process and 'Loading routes dictionaries' process when using default or custom dictionaries

What happened

docker run -t -v /tmp/dictionaries/:/tmp/ cameradar -r /tmp/routes -c /tmp/credentials.json -t (target) -p (port)
Loading credentials...ok
Loading routes...ok
Scanning the network...ok
✖ no stream found

Logs

If your issue is with Cameradar's binary or docker image, please run it with -v to print verbose logs, and paste them here:

<cameradar logs>

CameradarV4

IdrisBouar avatar Mar 18 '23 11:03 IdrisBouar

Hi @IdrisBouar.

The screenshot you provided indeed does load the default dictionaries, but in this screenshot no -c option was given to override the default path. Could you produce a screenshot where you run your own command (docker run -t -v /tmp/dictionaries/:/tmp/ cameradar -r /tmp/routes -c /tmp/credentials.json -t (target) -p (port)) and the logs say that it loaded the wrong dictionary?

As the issue template states, also please make sure you use the -v option so that we can see exactly what happens internally. Thank you

Ullaakut avatar Mar 20 '23 12:03 Ullaakut

Hello again @Ullaakut,

Sorry for the delay.

Here is a Screenshot of the executionon :

Linux parrot 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux

As i mentioned, i receive the same message when passing a custom dictionaries to the program. (Setting custom dictionaries Path is correct)

Screenshot at 2023-04-06 01-24-41

IdrisBouar avatar Apr 05 '23 22:04 IdrisBouar

But in this case you do not set any dictionaries, so it's normal that it does not load any. I want to see a screenshot where the command has a dictionnary path given to it, the -v option, and see the result.

A copy paste of the output also works instead of a screenshot.

Ullaakut avatar Apr 06 '23 16:04 Ullaakut

There you go:

#docker run -t -v /home/davinci/dependencies/libraries/cameradar/dictionaries/:/tmp/ cameradar -r /tmp/routes -c /tmp/credentials.json -t localhost
Loading credentials...ok
Loading routes...ok
Scanning the network...ok
✖ no stream found

IdrisBouar avatar Apr 06 '23 19:04 IdrisBouar

Please add the -v parameter to the cameradar command (not only the docker command) so that we get debug output and can see what goes wrong 🙏

Ullaakut avatar Apr 08 '23 19:04 Ullaakut