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

Help running on Ubuntu 22.04 #4

Closed
ste94pz opened this issue Oct 5, 2023 · 2 comments
Closed

Help running on Ubuntu 22.04 #4

ste94pz opened this issue Oct 5, 2023 · 2 comments

Comments

@ste94pz
Copy link

ste94pz commented Oct 5, 2023

Hi, could you help me to run it on Ubuntu? I tried with this command line, but it always shows the help and it says "Not enough arguments for bruteforce"

./run.sh --inputs 0x0123456789ABCDEF,0x123456789ABCDEF0,0x23456789ABCDEF01 --mode=5 --learning-type=8 --start=0x3456789ABCDEF012

Thank you, and sorry if this is a stupid question.

@X-Stuff
Copy link
Owner

X-Stuff commented Oct 6, 2023

Hello, yes sorry about that.
The entrypoint in dockerfile might not be quite correct.

In fact every time you launching ./run.sh <args> you invoking something like

/app/CudaKeeloq --help <args>

since --help argument has bigger priority it executes instead of bruteforce

Luckily you can override entrypoint like this:

DOCKER_ARGS="--entrypoint ./CudaKeeloq" ./run.sh  --inputs 0x0123456789ABCDEF,0x123456789ABCDEF0,0x23456789ABCDEF01 --mode=5 --learning-type=8 --start=0x3456789ABCDEF012

This should help.

X-Stuff added a commit that referenced this issue Oct 6, 2023
X-Stuff added a commit that referenced this issue Oct 6, 2023
CUDA Updated to 12.2
Issue #4 fixed
@X-Stuff
Copy link
Owner

X-Stuff commented Oct 6, 2023

Version updated to 0.1.2
Checkout master, rebuild docker image, and you will be able to use it as you initially wanted: ./run.sh <args>

@X-Stuff X-Stuff closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants