Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cameradar not loading dictionaries ?? #315

Open
4 of 14 tasks
IdrisBouar opened this issue Mar 18, 2023 · 5 comments
Open
4 of 14 tasks

Cameradar not loading dictionaries ?? #315

IdrisBouar opened this issue Mar 18, 2023 · 5 comments
Assignees

Comments

@IdrisBouar
Copy link

IdrisBouar commented Mar 18, 2023

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:

  • I use the docker image ullaakut/cameradar
  • 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:
  • 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:
  • I use a specific commit:

Environment

My operating system:

  • Windows
  • OSX
  • Linux
  • Other

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

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

@Ullaakut Ullaakut self-assigned this Mar 20, 2023
@Ullaakut
Copy link
Owner

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

@IdrisBouar
Copy link
Author

IdrisBouar commented Apr 5, 2023

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

@Ullaakut
Copy link
Owner

Ullaakut commented Apr 6, 2023

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.

@IdrisBouar
Copy link
Author

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

@Ullaakut
Copy link
Owner

Ullaakut commented Apr 8, 2023

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants