8000 Feature Request: Allow Editing of Templates · Issue #37 · f0cker/crackq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature Request: Allow Editing of Templates #37

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

Open
hkelley opened this issue Jul 23, 2023 · 1 comment
Open

Feature Request: Allow Editing of Templates #37

hkelley opened this issue Jul 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hkelley
Copy link
hkelley commented Jul 23, 2023

Describe the feature
Allow existing templates to be edited or cloned. Sometimes a template needs just a small change, e.g. timeout and running a whole new job with fresh (not in the potfile) hashes can be time consuming.

Documented steps for modifying the on-disk JSON files would be and adequate workaround.

@f0cker f0cker added the enhancement New feature or request label Jul 23, 2023
@f0cker
Copy link
Owner
f0cker commented Jul 23, 2023

Thanks for raising this. The template json files are stored in /var/crackq/logs/templates and the file names are hex representations of the uuid. So if you go to 'Q Task' from the home dashboard in the GUI you will see a list of available templates and their corresponding UUIDs, you can usually eyeball the hex version of the UUID or you can use the following python snippet if you prefer:

python3 -c 'import uuid; uuid_string = "your uuid";  uuid.UUID(uuid_string).hex'

Note that you can't add template files here directly, it needs to be linked to a database entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
0