epixoip
6ff51e1070
Workaround for NVML and WSL2 shim
3 years ago
Gabriele Gristina
77e328d659
Removed option --example-hashes, now is an alias of --hash-info
4 years ago
Gabriele Gristina
3ed1f0d840
Added new option: --hash-info
4 years ago
philsmd
e59f61e8cf
cosmetic: minor code style fixes
4 years ago
Rosen Penev
a6edb84157
Fix extra semicolon warnings
...
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
5 years ago
Jens Steube
ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
...
bools
5 years ago
Rosen Penev
bd6c0e57e4
Change 0/1 to true/false
...
Found with clang-tidy
5 years ago
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
5 years ago
Rosen Penev
98e17d5774
Run through clang-tidy's readability-uppercase-literal-suffix
...
1 and l are visually similar and can be confused. This also changes u to U
for consistency.
5 years ago
Gabriele Gristina
3161aec3da
fix the comments :)
5 years ago
Gabriele Gristina
5679ca3344
Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
5 years ago
Gabriele Gristina
5d3ed3e754
Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments
5 years ago
Gabriele Gristina
481c752456
No more compress functions, update example.dict.gz, remove some comments
5 years ago
Gabriele Gristina
398c89c75c
switch almost all FILE ops, potfile is the only missing
5 years ago
Gabriele Gristina
084ea69b3b
Fix missing hc_fread switch to new format
5 years ago
Jens Steube
3c4f4df771
Rename some more variables
5 years ago
Jens Steube
e3500ff4aa
Add CUDA device attributes to -I
5 years ago
Jens Steube
d862458ab5
Begin renaming API specific variables in backend section
5 years ago
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
6 years ago
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
6 years ago
R. Yushaev
074fad9fef
Correct buffer size parameter in snprintf calls
...
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
6 years ago
jsteube
1156cf7207
Fixed invalid hardware monitor detection in benchmark mode
...
Fixes https://github.com/hashcat/hashcat/issues/1787
6 years ago
Jens Steube
2aff01b20e
Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
6 years ago
RAN1
40cc9b948f
hwmon_ctx_init: return on speed_only and progress_only
6 years ago
RAN1
ec1b6442b1
Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
6 years ago
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
7 years ago
Rosen Penev
6b0ee145c4
Fix missing stuff
7 years ago
Rosen Penev
3ba84f17f1
More clang tidy fixes
7 years ago
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
jsteube
bb2118a290
Workaround added for NVidia NVML library: If libnvidia-ml.so couldn't be load try again using libnvidia-ml.so.1
7 years ago
sgroat
21efc80975
fix string
8 years ago
Royce Williams
be4cf9ef67
more event_log_* standardization
8 years ago
Royce Williams
067372f5ce
more event_log_* standardization
8 years ago
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
...
Also miscellaneous fixes here and there.
8 years ago
Timo Juhani Lindfors
289744e7a3
Fix spelling of MHz
8 years ago
Rosen Penev
a1619f640d
Add ADL support to Cygwin
8 years ago
jsteube
0aca372ce8
Hardware Monitor: In case NVML initialization failed, do not try to initialiaze NVAPI or XNVCTRL because they both depend on NVML
8 years ago
philsmd
5ea1bd2a99
minor: the step value should never be zero
8 years ago
jsteube
ce5117631e
Hardware Monitor: Fixed several memory leaks when no AMDGPU-Pro hardware monitor sensor is found
8 years ago
jsteube
9b14a3f853
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
8 years ago
jsteube
15f9a3ad83
Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found
8 years ago
jsteube
85aba06e6f
Renamed some variables which 'shadow' another variable or function
8 years ago
Jens Steube
6cf3763eb5
Merge pull request #1044 from neheb/master
...
Fix more cppcheck warnings
8 years ago
Rosen Penev
a3d04a40b0
Fix more cppcheck warnings
8 years ago
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
8 years ago
Rosen Penev
ee0911c26e
Add NVML and NVAPI support to Cygwin
8 years ago
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
...
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
8 years ago
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
8 years ago