Comments (6)
Thanks for reporting it! I've just pushed a fix to the develop
branch.
from crackerjack.
That's a great idea and I like the profile approach.
Thanks for the recommendation, I'll see what I can do.
from crackerjack.
I pushed this feature to the develop
branch - if you have time give it a go and let me know if there are any issues. Profile creation is in the admin panel under "Device Profiles", and you will see a select box in the "Hashcat" session setup step. If a profile is deleted or disabled, the fallback will use all GPUs available (as it does now).
Don't forget to run the db migration for this, instructions at: https://github.com/ctxis/crackerjack/blob/master/docs/installation.md#update-to-latest-version (but checkout the develop
instead of the master
branch)
from crackerjack.
Heya, when you clone a fresh version of the develop branch and attemp to log in after creating an admin account, you get the following stack trace:
Traceback (most recent call last):
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__
return self.wsgi_app(environ, start_response)
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/tmp/crackerjack/venv/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/tmp/crackerjack/app/controllers/home.py", line 26, in index
errors = healthcheck.run(provider)
File "/tmp/crackerjack/app/lib/base/healthcheck.py", line 12, in run
sessions = provider.sessions()
File "/tmp/crackerjack/app/lib/base/provider.py", line 39, in sessions
self.device_profiles()
File "/tmp/crackerjack/app/lib/base/provider.py", line 148, in device_profiles
return DeviceProfileManager(hashcat.get_detected_devices())
File "/tmp/crackerjack/app/lib/hashcat/manager.py", line 518, in get_detected_devices
output = self.shell.execute([self.hashcat_binary, '-I', '--force'], user_id=0, log_to_db=False)
File "/tmp/crackerjack/app/lib/base/shell.py", line 21, in execute
output = subprocess.run(command, stdout=subprocess.PIPE).stdout.decode().strip()
File "/usr/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: ''
This is probably caused by the healthcheck assuming that the hashcat binary has been set, but it hasn't yet (the admin has to log on first and go to settings).
from crackerjack.
I've pushed this to master, let me know if there are any issues with it. Thanks.
from crackerjack.
Yep, it all looks good. Thanks!
from crackerjack.
Related Issues (20)
- Re-implement settings page HOT 1
- Stop logging "ps" command
- Problems getting LDAP authentication working HOT 4
- Hashcat Mask File Support HOT 4
- The version of jquery bundled with crackerjack is old and vulnerable HOT 2
- version.php not updated HOT 1
- Bug: LDAP doesn't set simple mode properly HOT 2
- Error when creating a new user HOT 4
- Status not updated to finished when using hashkiller-dict HOT 4
- Could not find any devices. Check manually if hashcat -I returns your installed GPUs. HOT 3
- 500 Internal Server Error: HOT 7
- Fake Error message when starting a session HOT 2
- Impossible to use already cracked passwords by crackerhack HOT 1
- Could not get the supported hashes from hashcat HOT 1
- sqlalchemy version issue HOT 2
- No progress displayed during dictionnary cache building
- LDAP: Add filter based on memberOf HOT 2
- Keeps on running hashcat -I HOT 4
- Supported for hashcat 6.2.6 latest HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crackerjack.