jsteube
0309afc273
OpenCL Device: Do a check on available constant memory size and abort if it's less than 64kB
8 years ago
jsteube
34aac18faf
OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.60 is detected which is known to be broken
8 years ago
jsteube
351a1f1ffc
Remove some old debugging
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
Jens Steube
07c89833c9
Added hash-mode 14800 = iTunes Backup >= 10.0
8 years ago
philsmd
6fe0173a79
#965 : new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip
8 years ago
jsteube
8257883ec1
Added hash-mode 14600 = LUKS
8 years ago
Gabriele Gristina
b66d53bca1
Filter out OpenCL Intel Runtime broken check on Apple
8 years ago
jsteube
78d73e64fe
Workaround added for Intel OpenCL runtime: GPU support is broken, skip the device unless user forces to enable it
8 years ago
jsteube
33aeae6090
For CYGWIN prefer to use "opencl.dll" (installed by drivers) instead of optional "cygOpenCL-1.dll"
8 years ago
jsteube
45479978c4
Fix some warning messages
8 years ago
jsteube
89d0d99bdb
Shader Model version message is confusing users, rename it to CUDA version
8 years ago
jsteube
72af615e8b
WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected
8 years ago
jsteube
e4ba40dd7e
OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken
8 years ago
jsteube
72599fd109
Fixed kernel loops in leading to slower performance in --increment mode
8 years ago
jsteube
0d31ee3b53
Alternative --progress-only in case of multiple salts cracking
8 years ago
jsteube
367024da3f
Fix --progress-only in case of multiple salts cracking
8 years ago
jsteube
ec5610271a
New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
jsteube
cc1dca7a2b
Fixed double free (actually, double fclose()) in opencl.c
8 years ago
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
8 years ago
Rosen Penev
f5f17997b2
Fix cppcheck warnings
8 years ago
Rosen Penev
96783ed7a3
Fix compilation for native Cygwin
8 years ago
jsteube
f6e0f1494a
Add a warning using beignet driver
8 years ago
Gabriele Gristina
49b44da588
Request build log only if size > 1 (v2)
8 years ago
jsteube
e77c029dad
Fixed event_log_warning() format in debug builds
8 years ago
jsteube
ed149fdd52
More benchmark fixes
8 years ago
jsteube
a56aa30754
Fix reported speed for slow hashes which was broken somewhere between hashcat (v3.10-809-g7fe575e) to hashcat (v3.10-820-g899413f)
8 years ago
jsteube
ac8c4d946a
Fix benchmark of extreme slow hashes, updated changes.txt
8 years ago
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
8 years ago
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
jsteube
38514895b3
Rewrite some calls to clGetProgramInfo() to make scan-build happy
8 years ago
jsteube
6efe557cdc
Fix cached kernel checksum building on oversized device version or driver version strings
8 years ago
jsteube
0c55626689
Remove kernel exec timeout detection, should no longer occur due to autotune
8 years ago
jsteube
dc2689a996
Move skipped_temp check out of main loop
8 years ago
Gabriele Gristina
6af37ecc10
Prevent exit from benchmark mode if all devices are skipped (OSX)
8 years ago
Jens Steube
1321cbdcf8
Merge pull request #599 from neheb/master
...
Sign fixes
8 years ago
jsteube
105513e307
On OSX, unset device_param->skipped back to true in case skipped_temp is set to true
8 years ago
jsteube
72e39a7ec0
Try to use true and false in case we're handling a bool data-type just as kind of a hint it's a bool
8 years ago
Gabriele Gristina
28ec87aa2b
Skip unstable hash modes (OSX only)
8 years ago
jsteube
888fbdafe7
Using platform vendor name is better than using device vendor name when it comes whatever to use builtin amd_bytealign() or hand-written version because pocl uses its own platform vendor name but uses AMDs device vendor name
8 years ago
jsteube
d62d0d8a71
Fix some error messages
8 years ago
Rosen Penev
c13ef5aacd
Fix formats found by cppcheck
8 years ago
jsteube
c254138c21
Fix some code in opencl.c to make cppcheck happy
8 years ago
jsteube
536dcef7eb
Replaced all calls to strtok() with strtok_r() to ensure thread safety
8 years ago
jsteube
8645571a7c
Improve CPU detection on AMDGPU-Pro
8 years ago
Rosen Penev
22abb22c13
Fix a few printf formats
8 years ago
jsteube
01171a7b3b
Moved OpenCL requirement from v1.1 to v1.2
8 years ago
Gabriele Gristina
dff72bbfb3
Fix clang warning on OSX
8 years ago
jsteube
98b6371cd7
No more branch needed to check cracked after moving check for speed only above
8 years ago
jsteube
f178769863
Do not wait for the progress mutex to read and store speed timer
8 years ago
jsteube
a3190986d4
Added a missing error check after using run_kernel_bzero()
8 years ago
jsteube
bc26cae58c
Add some safety check for AMDGPU-Pro driver in combination with non-root user
8 years ago
Jens Steube
15100059fa
Fix Intel OpenCL runtime version check
8 years ago
jsteube
80a4f234f5
Update OpenCL runtime- and driver-requirements
...
Update changes.txt
8 years ago
jsteube
9eb9543cda
Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro
8 years ago
jsteube
e63bc4d328
Query PCI-Express bus/device/function and store for later use
8 years ago
jsteube
42bcb8bdc8
Revert "Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it"
...
This reverts commit 96e963b0d0
.
8 years ago
jsteube
96e963b0d0
Testwise commit, this could be a problem but never actually created a problem. Need to keep an eye on it
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
8 years ago
Jens Steube
25bc960a09
Merge pull request #560 from matrix/fix_string_format
...
Fix string format
8 years ago
Gabriele Gristina
f500727bd8
Fix string format
8 years ago
Gabriele Gristina
6bf5ee95a6
Fix resource leak
8 years ago
jsteube
df8a9ab5e5
Support mixed kernel thread count for mixed kernels in the same source file
...
Get rid of one global kernel_threads variable
Recognize reqd_work_group_size() values from OpenCL kernels and use them in host if possible
Fix some white spaces
Remove unused weak* kernels
Rename hashconfig_enforce_kernel_threads() to hashconfig_get_kernel_threads() - we do not enforce anymore
Rename hashconfig_enforce_kernel_loops() to hashconfig_get_kernel_loops() - we do not enforce anymore
Add some missing checks for --quiet
8 years ago
jsteube
05634fe727
Do not run any caching rounds in autotune in DEBUG mode if -n and -u are specified
8 years ago
jsteube
636d953996
Move out all use of event_log_info() from library code to main.c or terminal.c
8 years ago
jsteube
e26b08f61f
Move opencl_info() to terminal.c
8 years ago
jsteube
001ba8a655
Replace some printf() in opencl.c with event_log_info()
8 years ago
jsteube
5906f1ab54
Fix some format string for 64 bit
8 years ago
jsteube
824654e2fb
Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I
8 years ago
jsteube
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube
2005f5d193
Remove terminal.h where's it's not needed
8 years ago
jsteube
df521d664b
Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube
b044271b01
Move more status display calculate logic into separate functions
8 years ago
jsteube
f8a6d156eb
Add some more returncode checks
8 years ago
jsteube
d2bcb19740
Fix some rc check
8 years ago
jsteube
7383bb14f5
Add some more returncode checks
8 years ago
jsteube
694de36694
Print warnings in yellow and errors in red
8 years ago
jsteube
91979bff69
Mark OpenCL devices as listing
8 years ago
jsteube
017555e257
Fix some log levels
8 years ago
jsteube
191269f4f0
Add --speed-only mode
8 years ago
jsteube
ef80e3f074
Some newline fixes
8 years ago
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube
ebc26ecac5
Fix some log levels in opencl.c
8 years ago
jsteube
20832d29d6
Do not reset innerloop_left and outerloop_left too early so we can access it from status display
8 years ago
jsteube
af9de0a7b7
Fix some error string formats
8 years ago
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube
27bec8be13
Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube
42677df2a6
Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube
14248d38e3
Update tuning_db.c function parameters
8 years ago
jsteube
a5e83c27c3
Update wordlist.c function parameters
8 years ago
jsteube
a97e31881c
Update interface.c function parameters
8 years ago
jsteube
0579f93402
Update opencl.c and autotune.c function parameters
8 years ago
jsteube
15d2f9b11e
Add some reserved scratch buffer for innerloop combinator instead of reallocating each time
8 years ago
jsteube
c1aba9e314
Reset innerloop_* and outerloop_* variables when no longer needed
8 years ago
jsteube
eeb8210951
Added the current first and last password candidate test queued for execution per device on status view
8 years ago
coolbry95
a78fd4e915
changed uint to u32
8 years ago
jsteube
d80653b014
Fix some clSetKernelArg() size error that caused slow modes to not work anymore in -a 1 mode
8 years ago
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube
743dba56db
Replaced timer macros with inlines
8 years ago
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
8 years ago
jsteube
ae0300dabb
Rename kernel read and write function and make them static
8 years ago
jsteube
af1701c765
Fix some memleaks on shutdown
8 years ago
jsteube
6bc0d94f56
Make opencl support modular
8 years ago
jsteube
a5800b41f4
Rename hash_management.c to hashes.c
8 years ago
jsteube
ed571a3ec8
Remove unneeded includes
8 years ago
jsteube
c53de67cd4
Remove some unneeded mutex
8 years ago
jsteube
133c9295f5
Cleaned up data_t, only contexts left
8 years ago
jsteube
12a2d6d2a0
Move more stuff to status_ctx_t
8 years ago
jsteube
831ef1490b
Prepare status_ctx_t
8 years ago
jsteube
84f96c4dda
Add cpt_ctx_t
8 years ago
jsteube
e12abeb9de
Add inner2_loop()
8 years ago
jsteube
1cf4b2a093
Fix a bug on CPU-only systems
8 years ago
jsteube
7191780296
Make use of hwmon_ctx_t
8 years ago
coolbry95
ac1792f943
change id numbers to add one to be consistent with the rest of hashcat output
8 years ago
jsteube
f8d538413e
Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_*
8 years ago
jsteube
c3338f0a9a
Fix -m 8900 bug
8 years ago
jsteube
94680cb311
Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t
8 years ago
jsteube
48917b5843
Move tmp size and hook size to hashconfig_init()
8 years ago
jsteube
ce02b3c54f
Add hashconfig_enforce_kernel_loops ()
8 years ago
jsteube
47f027d249
Created hashconfig_kernel_thread_force()
8 years ago
jsteube
c71f1bfb0c
Introduct combinator_ctx_t
8 years ago
jsteube
8dea3d2eb9
Fix optimizers values in kernel_params_mp_*
8 years ago
jsteube
67dd2e9b67
Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube
edd50de047
Add opencl_session_update_mp() and opencl_session_update_mp_rl()
8 years ago
jsteube
eeccb01998
Add opencl_ctx_devices_reset()
8 years ago
jsteube
69ad06ec12
Fix some casts
8 years ago
jsteube
75682a5008
Get rid of local_free() and global_free(), no longer required
8 years ago
jsteube
54a4ea3db2
Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube
59ebe10b07
Move functions from filenames.c to opencl.c and shared.c
8 years ago
jsteube
3279607a4e
Some better newline handling
8 years ago
jsteube
6fef4a53fb
Add goodbye_screen()
8 years ago
jsteube
62b97a6fe6
Move loading rules into outer loop
8 years ago
jsteube
8c6907a3d7
Move force_jit_compilation initialization to opencl_session_begin() as it depends on hash_mode
8 years ago
jsteube
ca48c49575
Move OpenCL device initialization to outer loop
8 years ago
jsteube
1e2869e8bd
Fix benchmark unwanted exit with long running kernels
8 years ago
jsteube
b6f966970b
Move all bitmap related host code into bitmap.c
8 years ago
jsteube
f9ec232b9b
Get rid of attack_kern variable in data. context
8 years ago
jsteube
f1d93d576a
Get rid of attack_mode variable in data. context
8 years ago
jsteube
3da185a3c8
Get rid of wordlist_mode variable in data. context
8 years ago
jsteube
5b0835258c
Get rid of hex_wordlist variable in data. context
8 years ago
jsteube
21d852b194
Get rid of benchmark variable in data. context
8 years ago
jsteube
e4b4855fbd
Get rid of status* variables in data. context
8 years ago
jsteube
1c9027cb03
Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context
8 years ago
jsteube
458d6b37f9
Fix benchmark crashing
8 years ago
jsteube
1cc4358820
Introduce folder_config_t
8 years ago
jsteube
c008b11de3
Make more use of new user_options_t*
8 years ago
jsteube
ced3b3b82f
Move global mux_counter variable into opencl_ctx_t
8 years ago
jsteube
3adbf3d0d5
Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube
9daf139fef
Refactor devices_status to have better thread control
8 years ago
Gabriele Gristina
fdbc44ce6c
Add option for show opencl info and exit
8 years ago
jsteube
caeedd5646
Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown
8 years ago
jsteube
a0f6ed6832
Introduce hashes_t; not finishe yet
8 years ago
jsteube
7ce2f2ff19
Introduce opencl_ctx_t; not finished yet
8 years ago
jsteube
bc75ba70a1
Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
8 years ago
jsteube
376e12efe6
Move debugfile related stuff to debugfile.c
8 years ago
jsteube
bd5bc294e6
Move loopback related stuff to loopback.c
8 years ago
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
8 years ago
jsteube
b7906f6b93
Move outfile specific functions into their own source file
8 years ago
jsteube
63b47eebc9
Prepare move potfile specific functions into their own source file
8 years ago
jsteube
26172af89d
Introduce hashconfig_t
8 years ago
jsteube
18534fcdeb
Move stdout specific functions into their own source file
8 years ago
jsteube
e3d0cd0bdd
Move more functions out of shared.c
8 years ago
jsteube
80d7dce9b5
Move more functions out of shared.c
8 years ago
jsteube
8dd57b715b
Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago