1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-28 17:38:43 +00:00
Commit Graph

295 Commits

Author SHA1 Message Date
Dávid Bolvanský
9d1ed97e07 Fixed negative numbers in json output 2022-03-27 12:37:56 +02:00
Jens Steube
308d8f227d
Merge pull request #3240 from davidbolvansky/hash-info-json
add json output for hash info
2022-03-26 18:43:25 +01:00
Dávid Bolvanský
32ab02c7bb add json output for hash info 2022-03-22 19:32:02 +01:00
philsmd
84cd48d721
fixed problem of negative values in terminal.c 2022-03-22 16:35:36 +01:00
Dávid Bolvanský
f018dd9263 json-encode device name 2022-03-21 09:25:26 +01:00
Dávid Bolvanský
50aea559c5 added device type 2022-03-21 08:55:16 +01:00
Dávid Bolvanský
100cd5fea4 status-json: also print device name 2022-03-21 08:55:16 +01:00
Dávid Bolvanský
672fb2de4b Do not use term colors if output is not terminal 2022-03-18 15:57:13 +01:00
philsmd
56bb1b9974
remove extra spaces in terminal.c 2022-02-27 10:24:08 +01:00
Gabriele Gristina
f890cd8134 Improved management of systems with multiple OpenCL platforms and show empty OpenCL platforms only in backend information mode 2022-02-19 21:17:56 +01:00
Chick3nman
c38bf29a82 Formatting change 2022-02-14 18:13:34 -06:00
Chick3nman
0066def1be Fix formatting 2022-02-14 18:10:46 -06:00
Chick3nman
af233b8f0c Implement new status message as 2 lines, variable output 2022-02-14 18:09:48 -06:00
Chick3nman
ff018b8586 Reformat Status Message 2022-02-14 17:39:58 -06:00
Chick3nman
037d2daa13 Change read-only, spacing fixes 2022-02-14 17:08:12 -06:00
Chick3nman
81138db5c5 Fix Typo in logic 2022-02-14 17:01:07 -06:00
Chick3nman
808e6fff2b Prepare "Net New" value for status, test initial status message format 2022-02-14 16:54:36 -06:00
Jens Steube
fea59e3a3a
Merge pull request #3167 from matrix/env_info
Added folder_config info to --backend-info/-I output, changed --backend-info/-I option handling
2022-02-13 22:05:16 +01:00
Gabriele Gristina
3064c63c71 User Options: Change --backend-info/-I option type, from bool to int 2022-02-13 12:33:11 +01:00
Gabriele Gristina
d79f8298a1 OpenCL Backend: show device_type in device list info on Apple Silicon 2022-02-12 02:46:35 +01:00
Gabriele Gristina
47134e363e Backend Info: Added folder_config info to output 2022-02-12 02:03:48 +01:00
Gabriele Gristina
490702fcfa Backends: added Metal host-code 2022-02-05 22:48:16 +01:00
Jens Steube
d4b7663d19 Fix warning on Linux
```
src/terminal.c: In function ‘backend_info’:
src/terminal.c:821:10: warning: unused variable ‘hw_model_len’
[-Wunused-variable]
  821 |   size_t hw_model_len = 0;
      |          ^~~~~~~~~~~~
```
2022-02-01 18:22:54 +01:00
Gabriele Gristina
c2cbb2938a Padding backend_info() output, updated changes.txt 2022-01-30 19:49:23 +01:00
Gabriele Gristina
3ce57b5d2a Added generic system info to backend_info() 2022-01-29 08:15:28 +01:00
Gabriele Gristina
c1b56a3018 Hash Info: show more information (Updated Hash-Format. Added Autodetect, Self-Test, Potfile and Plaintext encoding) 2022-01-16 14:48:49 +01:00
Gabriele Gristina
adfe942751 Fixed --hash-info example password output: force uppercase if OPTS_TYPE_PT_UPPER is set 2022-01-16 08:40:42 +01:00
Jens Steube
aff608fe29
Merge branch 'master' into fix_benchmarkEngine_plus_updated_statusCode 2022-01-15 14:10:59 +01:00
Gabriele Gristina
7650894e02 fixed bug in benchmark engine, updated negative status code 2022-01-11 04:58:30 +01:00
Pierre Pronchery
1cb24b0a3c Fix the build for NetBSD 2022-01-10 00:14:45 +01:00
Jens Steube
806257f2e6
Merge pull request #3068 from matrix/backend_info_add_localMemory_size
Backend Info: Added local memory size to output
2021-12-22 19:17:05 +01:00
b0lek
705dd16f50
Quotes removed from numbers and % sign removed. 2021-12-18 16:44:40 +01:00
Gabriele Gristina
450f9549b4 Backend Info: Added local memory size to output 2021-12-17 22:43:11 +01:00
b0lek
2b3162f49b
adding guess data into --status-json output 2021-12-17 22:07:28 +01:00
Jens Steube
ec98373719
Update terminal.c 2021-08-25 12:29:46 +02:00
TheWorkingDeveloper
a29f70c9f9
Adjusted format
This format matches the format used in benchmarks and looks clean in the format of
id - name
2021-08-24 17:17:36 +02:00
TheWorkingDeveloper
6008a8873e
Add hashcat mode to status
Hashcat mode displayed after the hash name.
https://github.com/hashcat/hashcat/issues/2945
2021-08-23 18:59:29 +02:00
Jens Steube
ea5ddee6e2 Add autotune event to inform the user about autotune is starting/stopping on startup
Fix uninitialized value in terminal.c
2021-08-05 17:18:10 +02:00
Jens Steube
cb69e2d413 Added some HIP version checks, fall back to OpenCL automatically
Switched HIP version check from driverVersion to runtimeVersion
Fixed syntax check of HAS_VPERM macro in several kernel includes causing invalid error message for AMD GPUs on Windows
Updated AMD driver requirements
Updated docs/changes.txt with missing changes from previous commits
Fixed invalid vector data type in Murmur Hash in -a 3 mode
Fixed uninitialized variable warning in src/hashes.c
Fixed broken support for --generate-rules-func-min
2021-08-04 20:49:22 +02:00
Jens Steube
72e307fbce
Merge pull request #2901 from hashcat/master
Backport changes
2021-07-25 10:57:39 +02:00
Jens Steube
5ffcaa980d HIP Backend: Added support to support HIP 4.4 and later, but added check to rule out older versions because they are incompatible 2021-07-23 16:04:34 +02:00
Rosen Penev
adaf3f293b make const char pointers actually const
const char* is a non const pointer that points to const data. Add
missing const.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-22 18:13:46 -07:00
Rosen Penev
a9ceb6377e add missing const
Fixes -Wwrite-strings issue.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-22 18:11:11 -07:00
Jens Steube
f9e74045b5 Commandline: Throw an error if separator character given by the user with -p option is not exactly 1 byte 2021-07-22 18:54:02 +02:00
Jens Steube
20f7febd4c Workaround too intensive optimization in -m 2000 using HIPRTC 2021-07-11 15:54:13 +02:00
Jens Steube
fde4770219 Add misssing HIP backend information in -I output 2021-07-11 14:47:48 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip 2021-07-10 21:34:09 +02:00
reger-men
ea7b74389f First draft HIP Version 2021-07-09 03:50:40 +00:00
Jens Steube
ce41316ac3 Status View: Include time and duration info when pausing and resuming 2021-07-01 21:33:14 +02:00
Jens Steube
701ad7c441 Fix segfault in --hash-info by avoid huge stack buffer allocation 2021-06-30 21:01:55 +02:00
Jens Steube
5bea13200f Add missing newline in warning message when using --force 2021-06-28 23:09:41 +02:00
Jens Steube
90f0e78b5b Add event about autodetection process start
Remove "..." substring from final messages
Add patient message on "..." startup messages
Add missing docs/changes.txt entry
2021-06-22 11:37:59 +02:00
Jens Steube
7e267b9b37
Merge pull request #2825 from matrix/hwmon_osx_v2
Add OSX HW Monitor initial support (2021)
2021-06-20 11:09:35 +02:00
Gabriele Gristina
1703d24c1a hide fan speed from hwmon output if not detected 2021-06-19 20:46:09 +02:00
Gabriele Gristina
3a6481da4e show all fans in hwmon output 2021-06-19 20:32:07 +02:00
Gabriele Gristina
09513ed78b fix starting message 2021-06-19 12:32:02 +02:00
Jens Steube
624994f920 Backend Information: Added new column showing the PCI Address per CUDA/OpenCL device to easier identify broken cards 2021-06-14 13:18:33 +02:00
Jens Steube
7fc0ac4ef1 Do not initialize backend devices in case --id is used and some bug fixes 2021-06-12 10:47:48 +02:00
Jens Steube
27503957aa Fix message on startup-mode in --backend-info mode 2021-06-09 13:25:25 +02:00
Gabriele Gristina
75d135bf7d fix for autodetect (1) 2021-06-06 12:29:07 +02:00
Gabriele Gristina
ced9b0c6f8 Added new feature: autodetect hash-mode 2021-06-05 22:11:18 +02:00
Jens Steube
0fd8de3a75 Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device) 2021-05-19 08:32:24 +02:00
Jens Steube
32b40d5c53 Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards 2021-05-05 22:53:04 +02:00
Jens Steube
6daea9c7c1 Fix compiler warning from new --hash-info section 2021-04-03 13:40:06 +02:00
Gabriele Gristina
82af37b93a Added salt type and slow hash info 2020-12-30 19:16:57 +01:00
Gabriele Gristina
77e328d659 Removed option --example-hashes, now is an alias of --hash-info 2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840 Added new option: --hash-info 2020-12-29 04:58:58 +01:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes 2020-06-13 11:19:00 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible 2020-05-14 19:21:59 +02:00
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
Adding escaping for --status-json
2020-05-14 09:44:10 +02:00
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added 2020-05-13 13:37:30 +02:00
Sein Coray
4a0757e251
added escaping to --status-json output 2020-05-11 23:22:47 +02:00
Jens Steube
33579ae3db Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly 2020-05-08 10:18:17 +02:00
philsmd
9264560a28 formatting: remove extra whitespace in terminal.c 2019-11-21 10:47:07 +01:00
Chick3nman
b1016aee62
Update Terminal.c
Increase verbosity for `--force` usage
2019-11-17 15:12:27 -06:00
Jens Steube
732ea73721 Add free memory to per device startup info (not only total and allocatable memory) 2019-11-14 12:47:05 +01:00
Rosen Penev
bd6c0e57e4 Change 0/1 to true/false
Found with clang-tidy
2019-09-11 18:36:52 -07:00
Jens Steube
1ecdffb580 Fix some code formatting 2019-08-06 11:26:56 +02:00
Chick3nman
0b0de6a283 Added Remaining digest and salt count to Status output
Added logic to show/hide salt count based on number of salts for remaining digests as well as recovered digests
2019-07-12 12:54:21 -05:00
Gabriele Gristina
c690e33fee (terminal) remove unused *rc* vars and cleanup 2019-07-10 16:55:50 +02:00
Gabriele Gristina
481c752456 No more compress functions, update example.dict.gz, remove some comments 2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c switch almost all FILE ops, potfile is the only missing 2019-06-26 19:06:46 +02:00
Gabriele Gristina
b2529af172 remove original commented code 2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
f0cker
3bb68e7981 Added brain status (tx/rx) for all devices 2019-06-15 22:46:40 +00:00
Jens Steube
f2b1dfea31
Merge pull request #2018 from Chick3nman/master
Add extra warning when using --force
2019-05-14 11:58:03 +02:00
Chick3nman
717b82c406
Add extra warning for --force
Warn users not to report issues when using --force in their command.
2019-05-10 06:43:50 -05:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +02:00
Jens Steube
495d89f831 Find alias devices across different backend API's 2019-05-01 07:27:10 +02:00
Jens Steube
6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant 2019-04-30 16:24:13 +02:00
Jens Steube
e3500ff4aa Add CUDA device attributes to -I 2019-04-30 13:38:44 +02:00
Jens Steube
d862458ab5 Begin renaming API specific variables in backend section 2019-04-29 10:21:59 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +02:00
magnum
009cf26a04 Mute a -Wformat warning and fix some whitespace noise while at it. 2019-04-05 08:52:35 +02:00
Jens Steube
cf8c815caf
Merge pull request #1975 from Chick3nman/master
Add --status-json flag
2019-04-03 09:18:16 +02:00
Chick3nman
fc1aa83541 Change logic for formatting with multiple devices when some are skipped 2019-04-02 16:53:59 -05:00
Chick3nman
1cf2a4fea6 Fix type missmatch 2019-04-02 16:23:05 -05:00
Chick3nman
dc1fc28733 Fix Formatting 2019-04-02 16:10:54 -05:00
Chick3nman
5b20662c7f Fix Formatting 2019-04-02 16:10:23 -05:00
Chick3nman
5e307603d6 Fix formatting 2019-04-02 16:06:18 -05:00