jsteube
e4bf86dcbe
Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
8 years ago
jsteube
c3fe5b40b1
Move folder specific functions into their own source file
8 years ago
jsteube
1902e6c2eb
Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube
0a5759ef1c
Move usage specific functions into their own source file
8 years ago
jsteube
21666f77b7
Move maskprocessor and statusprocessor specific functions into their own source file
8 years ago
jsteube
d15ae38723
Move hwmon specific functions into their own source file
8 years ago
jsteube
5dd5c15966
Move tty_*() specific functions into their own source file
8 years ago
jsteube
eb5e192df5
Move logfile() specific functions into their own source file
8 years ago
jsteube
3dc77ced14
More preparation for easier integration of:
...
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
8 years ago
jsteube
238b3e4401
Test failed, go back to #pragma once
8 years ago
jsteube
d86a92f2bf
Some test
8 years ago
jsteube
0fe3bc5cb9
system #include should go to header
8 years ago
jsteube
4b79ccd416
Preparation for easier integration of:
...
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
8 years ago
jsteube
ff376ce112
Moved bit operations out of shared.[hc] and created bitops.[hc]
...
based on 1aafa13e09
8 years ago
jsteube
d54b399561
add types for windows only in case _BASETSD_H was not set
...
based on 96ea03db72
8 years ago
jsteube
ddfd212513
Fix indents
8 years ago
jsteube
63c17cf2c1
replaced macros with enums and static const char types
...
based on a55052cc66
8 years ago
jsteube
61d119b068
Remove unused typedefs for windows build
...
Based on 96ea03db72
8 years ago
jsteube
8d661f7c40
replaced macros with enums and static const char types
...
based on 4323b4a70a
8 years ago
jsteube
6eb9e700f9
replaced macros with enums and static const char types
...
based on 75a3ab9d47
8 years ago
jsteube
d24c200dfe
moving macros out of function in cpu-*.c
...
based on 58b728230b
8 years ago
Jens Steube
a289c37ecf
Allow loading of bcrypt hashes with signature $2b$ (February 2014)
8 years ago
Jens Steube
54249835f4
Merge pull request #482 from neheb/master
...
Fix some more warnings.
8 years ago
Rosen Penev
e664139699
Fix missing prototypes
8 years ago
Rosen Penev
ed1ad9714d
Fix -Wmissing-declarations
8 years ago
jsteube
71a8459d85
Two new modes added:
...
* Added new hash-mode 14000 = DES (PT = $salt, key = $pass)
* Added new hash-mode 14100 = 3DES (PT = $salt, key = $pass)
This patch initial was created out of this PR: https://github.com/hashcat/hashcat/pull/452 which is now no longer required
I've replace the -a 3 kernel with a bitsliced version which is around 10 times faster
I've also added test.sh and test.pl patches, but some of the test scripts need to be fixed
8 years ago
Rosen Penev
aeee10fbeb
Fix -Wundef warnings
8 years ago
Rosen Penev
be47aebc24
Avoid float to double promotions
8 years ago
Rosen Penev
a0b89951c1
More sign conversion fixes
8 years ago
Jens Steube
bdecbbee1a
Merge pull request #446 from usernamestaken/master
...
CRAM_MD5 throws salt length exception when the issue is in the hash
8 years ago
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart
8 years ago
radix
004812819f
Add Custom.Chars to output window in the case of a user specifying -1, -2, -3, -4.
8 years ago
Rosen Penev
37eaafdabf
Fix GCC sign warnings
8 years ago
jsteube
d3a95a67ae
Fixed a bug where hashcat did not take into account how long it takes to prepare a session when auto-aborting with --runtime is in use
8 years ago
Jens Steube
f1cd53e335
Globally fix return parameter handling to not use brackets
8 years ago
Jens Steube
6ba0eb8b39
Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
...
Note, not all return codes from some of the subfunctions are uset yet, it would be too much changes at once
This is a preparation for https://github.com/hashcat/hashcat/issues/416
8 years ago
jsteube
49f693a1c9
Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube
96f2ade4bb
Replace DARWIN macro with __APPLE__
...
As discussed on https://github.com/hashcat/hashcat/pull/409
8 years ago
Jens Steube
d77c63a12c
Merge branch 'master' of https://github.com/hashcat/hashcat
8 years ago
Jens Steube
5909bbb7b7
Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without
8 years ago
Nikolai Lifanov
1a3b610601
add tty handling for FreeBSD
8 years ago
Nikolai Lifanov
a2663fb93a
include the right cl.h on FreeBSD
8 years ago
Moritz Kick
69122fb554
Make linux-build POSIX compatible
...
Also allow it to actually compile on musl-libc systems.
From glibc's termio.h:
/* Compatible <termio.h> for old `struct termio' ioctl interface.
This is obsolete; use the POSIX.1 `struct termios' interface
defined in <termios.h> instead. */
8 years ago
jsteube
8702d0e3e1
Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt
8 years ago
jsteube
4ed8977e48
Dynamic tmp_t length for scrypt
8 years ago
Jens Steube
3370820109
Merge pull request #392 from unix-ninja/master
...
Various refactor changes
8 years ago
Unix-Ninja
d8bb00cf77
Make POSIX limits.h explicit declaration
8 years ago
Unix-Ninja
2188a01ae9
Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
jsteube
115c95eb02
Use dedicated variables to control shutdown of parallel threads like keypress and monitoring
8 years ago
jsteube
0e68b2af25
Don't use device_processor_cores for scrypt
8 years ago
jsteube
6191e8bf79
Fix reset to automatic for NvAPI
8 years ago
jsteube
49811cfee1
Set fanspeed to automatic on shutdown
...
Increase retain temperature from 65c to 75c; Because GTX1080 hits its reference boost clocks of 1733mhz at 80c
8 years ago
Jens Steube
e7df9b112a
windows path update
8 years ago
Unix-Ninja
fce2363fec
Clean end-of-line output usage (not actually POSIX)
8 years ago
Jens Steube
1550b9de07
OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
8 years ago
Jens Steube
6d2aa559a6
Windows doesn't accept escape characters, falling back to old method for windows
8 years ago
Jens Steube
268b1e3ad0
Remove workaround with multiple include folders; Instead use a naive escape function
8 years ago
Jens Steube
8298cd4926
Drop -m 190, no reason to keep it
8 years ago
jsteube
4444c17ec6
Speed up startup time for --stdout by using an empty kernel
8 years ago
jsteube
07acd52ed4
Some optical change on startup
8 years ago
jsteube
d57ac912cc
Fix https://github.com/hashcat/oclHashcat/issues/374
...
Fix https://github.com/hashcat/oclHashcat/issues/375
8 years ago
jsteube
2bd49e6720
Added --gpu-temp-retain support for windows through nvapi
8 years ago
jsteube
9a970c0955
Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
jsteube
28505c350b
Add commandline support to override cpu spinning damper for nvidia runtime
8 years ago
jsteube
5542e46022
Added option --stdout to print candidates instead of trying to crack a hash
8 years ago
Jens Steube
4f0709b3c9
Another slow-hash improvement
8 years ago
jsteube
d275772b9f
Fix for 100% CPU burning loop workaround for slow hashes
8 years ago
jsteube
8abc42e346
Simple, but effective workaround to solve the 100% CPU burning loop bug in Nvidias OpenCL runtime, works Linux and Windows, 0% cpu (alsmost), 100% performance in comparison to CPU burning loop variant. Replaces old previous try with overwritten clock_gettime() function
8 years ago
Jens Steube
3022abf956
some axcrypt fixes
8 years ago
jsteube
b9eefd9b20
Added new hash-mode 13800 = Windows 8+ phone PIN/Password
8 years ago
jsteube
106e781a2f
Fix some workload balancing issue
8 years ago
jsteube
829289b109
Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune;
8 years ago
jsteube
2e706edc18
Do not show *throttle* in status display if the reason is unknown
8 years ago
jsteube
3e30b62bf6
Remove some ugly code from nvapi.h
8 years ago
jsteube
08934db58c
Add NvAPI_GPU_GetPerfPoliciesInfo() and NvAPI_GPU_GetPerfPoliciesStatus() for later use
8 years ago
jsteube
a3e6690a9c
Remove union in hm_attrs_t; Remove code related to threshold_slowdown which will be replaced with NvGetPerfPoliciesInfo()
8 years ago
jsteube
040bbd416a
More nvapi preparations and display skip reason in benchmark
8 years ago
jsteube
34bcbb3091
Prepare for reintegration of nvapi for checking thermal limit
8 years ago
jsteube
3c6296801a
Prepare for reintegration of nvapi for checking thermal limit
8 years ago
Jens Steube
7ba1322d7f
Redesign some of the kernel_power features like too small wordlist detection etc, now based on autotuning results
8 years ago
jsteube
d329451cc1
Here it is: --powertune-enable for nvidia -- Works on both linux and windows
8 years ago
jsteube
a23c0c4716
Added a ton of new NVML stuff
8 years ago
jsteube
d89a8a68d6
Finally got rid of NvAPI on Windows, replace with NVML
8 years ago
jsteube
19e36694da
Added support for --gpu-temp-retain for nvidia devices on windows
...
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
8 years ago
jsteube
8ffbeac954
Add NvAPI_GPU_GetPerfDecreaseInfo() -- but i doesn't work, so deactive it
8 years ago
jsteube
63de7cdca8
Add NvAPI support for PCIE Lanes
8 years ago
jsteube
72384c1fc3
Add NVML support for PCIE Lanes
8 years ago
Jens Steube
53a4e0cbb7
Add PCI-E Lanes to status display, if available
8 years ago
Jens Steube
3e6ae89297
Add ADL_Overdrive6_TargetTemperatureData_Get() which for some reason does not work
8 years ago
jsteube
3e4badd9b4
Send a notice to user in case the drivers temperature threshold for slowdown is reached and a performance drop is expected due to throttling
8 years ago
jsteube
3227ef167e
Added NvAPI support for querying current engine clock and current memory clock
8 years ago
jsteube
36def60bfa
Added NVML support for querying current engine clock and current memory clock
8 years ago
Jens Steube
e97fa06a7a
Added current engine clock and current memory clock to the status display (ADL only atm)
...
Automatically enable AMD powertune in benchmark-mode
8 years ago
radix
083c90a0ab
Update macros to match option --machine-readable
8 years ago
radix
2b2a0c585e
Change --status-automate to --machine-readble. The former didn't really illustrate the point of the command though the functionallity is great to have. Updated ASCII tables around options output.
8 years ago
radix
b0c158fba9
Helps to actually save files before trying to commit them.
8 years ago
jsteube
2dd8156d24
Introduce a true memset kernel, currently operates on 16 byte per item
8 years ago
jsteube
fd7bc2736d
More vendor related changes
8 years ago
jsteube
f5f9073f45
Better distinguish between platform vendor and device vendor
8 years ago
Jens Steube
2899f53a15
Move files from include/ to OpenCL/ if they are used within kernels
...
Rename includes in OpenCL so that it's easier to recognize them as such
8 years ago
Jens Steube
c6c865e32e
Some final fixes for d_return_buf refactorization; Initial kernels vor veracrypts SHA256 KDF (not working)
8 years ago
Jens Steube
37953cdc8f
Optimize handling of cracked hashes, was a bottleneck if too many at once
8 years ago
Jens Steube
5d5d1a5843
More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing
8 years ago
Jens Steube
d37b6c6c30
Prepare for VeraCrypt integration
8 years ago
jsteube
eea3424c38
Added SIMD code for all generic PBKDF2-HMAC-* modes
8 years ago
Jens Steube
5987029441
Added SIMD code for DCC2
8 years ago
Jens Steube
9d74f2958d
Added SIMD code for WPA/WPA2
8 years ago
Jens Steube
d0123e63b1
Add WinZip test.pl and test.sh
9 years ago
Jens Steube
0891989404
Fix WinZip multihash
9 years ago
Jens Steube
7a4ab2b42d
Prepare for WinZip integration
9 years ago
jsteube
e47030ed7d
Prepare to rename project into hashcat
...
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
9 years ago
jsteube
768ffbdad8
Remove OPENCL EXTENSION, failing on Intel OpenCL SDK
9 years ago
jsteube
4317ac60f4
Remove unroll access for Drupal for NV gpus
9 years ago
jsteube
c79bed3b7d
Prepare for a more dynamic #pragma unroll use
9 years ago
Jens Steube
8316210233
Unlock kernel_threads > 64
9 years ago
neheb
0397d4f0e0
Remove clang extension
...
It's only needed for using the static keyword. Since you removed those, clover builds it fine without it. Also removed the check since Mesa is considered IS_GENERIC now.
9 years ago
jsteube
9b3d18f87d
SIMD for slow hashes prototype
9 years ago
Jens Steube
aef8dc2b01
First working version of -m 13500
9 years ago
Jens Steube
9294aaccae
Merge pull request #311 from fgaudreault/master
...
Adding parser and basic kernels for -m 13500
9 years ago
Jens Steube
7cbce12ea7
Add platform vendor_id detection
9 years ago
Francois Gaudreault
96e60bfb05
Fixing minor definitions.
9 years ago
Jens Steube
42c83df959
Fix for 0H/s issue on different algorithms
9 years ago
Jens Steube
50ea3a88dd
Merge pull request #305 from neheb/master
...
Disable AMD optimizations for LLVM
9 years ago
Jens Steube
96ef261326
Increase benchmark accuracy by using a result based on the last meassured speed after benchmark values changed by less than 0.1% after kernel repeats
...
Goal is a "what you see is what you get" value compared to: "singlehash -a 3 ?b?b?b?b?b?b?b" -- both with the same fixed -u and -n values
As a positive side-effect, this decreases total benchmark runtime
Add speed_cnt_total and speed_ms_total as a preparation to get rid of SPEED_MAXAGE which produces 0H/s display on very slow-hash types
Replace some floats with double which can (theoretically) become really big
9 years ago
Mangix
530651e96a
Disable AMD optimizations for LLVM
9 years ago
Martin Lemay
8cf6607c87
Refactored 134 to 13500. Added esalt struct
9 years ago
Francois Gaudreault
2df81367df
Adding parser and basic kernels for -m 134
9 years ago
Jens Steube
444a5f4d52
Test fix for broken AMD support after https://github.com/hashcat/oclHashcat/pull/303
9 years ago
Mangix
2c9fcbf17e
Fix LLVM compilation for OpenCL kernels
...
Fix LLVM compilation for OpenCL kernels
Whoops
9 years ago
Fist0urs
2ce6fb997d
Increase max size of input line to 0x50000
9 years ago
Fist0urs
9e8b7a1d9a
-m 13400 Increased max kdb size to 300KB
9 years ago
Jens Steube
1bc9e3ec85
Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
...
Should fix https://github.com/hashcat/oclHashcat/issues/288
9 years ago
Michael Sprecher
0dcb762a8e
Added new hash mode -m 125 = ArubaOS
9 years ago
Fist0urs
34b8d89422
Added support of keyfiles within Keepass 1.x and Keepass 2.x
9 years ago
Jens Steube
09e971c938
Use a fixed path for the potfile rather than session depending
9 years ago
Jens Steube
3cd83a4ab9
Reverted an unnecessary change from https://github.com/hashcat/oclHashcat/pull/158
9 years ago
Fist0urs
52b17a602f
New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
9 years ago
Jens Steube
88fafeb928
Synchronize maximum output line size with input line size
9 years ago
Jens Steube
c4e6ffc346
Removed some unused macros
9 years ago
Jens Steube
00724b40d7
Merge pull request #280 from MestreLion/patch-1
...
use a GCC equivalent for __stdcall where applicable
9 years ago
Jens Steube
0fdebf904d
Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
9 years ago
Rodrigo Silva
34b9de9a24
use a GCC equivalent for __stdcall where applicable
...
GCC on 32-bit architectures has __attribute__((stdcall)) as
an equivalent to Windows __stdcall, so use it conditionally
instead of leaving it blank for all non-Windows platforms.
This may benefit all platforms where GCC or compatible
compilers are used, including (but not limited to) Linux.
9 years ago
philsmd
3c1e05aaf3
#234 : increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
9 years ago
Jens Steube
55cadb6834
Fix broken -m 1500 and -m 3000 in -a 3 mode
9 years ago
philsmd
4ede3c1f7e
#244 : ADL array out-of-bound fix
9 years ago
Fist0urs
b0f1cb8a98
New format -m 13300 AxCrypt in memory SHA1
9 years ago
Fist0urs
ad17fba9b6
New format -m 13200 AxCrypt
9 years ago
Jens Steube
efad2bafac
Evil Bug: Because of not-zeroing a buffer it's possible a hash was cracked but not reported as cracked because it was not in scope, but when it was in scope it was already marked as cracked and therefore not reported
9 years ago
Jens Steube
6bc98368ba
Get rid of old pw_cache mechanism to control host-based vector data-types
9 years ago
Jens Steube
990f973c48
Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
...
- DEVICE_TYPE_CPU
- DEVICE_TYPE_GPU
- DEVICE_TYPE_ACCELERATOR
Optimized IRIS GPU workaround settings
9 years ago
Jens Steube
96bde85378
Allow mixed settings auto and fixed values for parameter and inside tuningdb for loops and accel
9 years ago
magnum
a5be8a75ed
Allow and support vector-width 16, which is current maximum for
...
OpenCL. Closes #226 .
9 years ago
Fist0urs
c3dabdd69e
Initial commit
9 years ago
Jens Steube
0cbe2347cd
Merge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod
...
Get rid of hc_clEnqueueNDRangeKernel double call
9 years ago
Jens Steube
709f79a7da
Add option to repeat the kernel on the device NUM times to increase benchmark accuracy
9 years ago
Jens Steube
c09bc848f7
Autotuning engine prototype
9 years ago
Jens Steube
c0293928dd
Prepare for better autotuning capabilities
9 years ago
Gabriele 'matrix' Gristina
2a1d0d21ff
Get rid of hc_clEnqueueNDRangeKernel double call
9 years ago
Jens Steube
2dfe9200d6
Remove Wordload-Profiles from tuningdb, we can simply calculate it
9 years ago
jsteube
5c01349ba6
Update event handling to workaround event handling error in nvidia opencl runtime
9 years ago
Gabriele 'Matrix' Gristina
20ee62e196
Revert "Use per-device timer resolution in total_time calculations"
9 years ago
Jens Steube
02ad834c7f
Added new concept of a tuning database; tryout phase
9 years ago
Gabriele 'matrix' Gristina
523a7bfe93
Use CL_DEVICE_PROFILING_TIMER_RESOLUTION per-device value in total_time calculations
9 years ago
Jens Steube
9fc360e39d
Added the execution time of the running kernel to the status display
9 years ago
Gabriele 'matrix' Gristina
74be8e2e25
skip device if buildProgram() fail
9 years ago
Jens Steube
6d37c123a5
Merge branch 'master' of https://github.com/hashcat/oclHashcat
9 years ago
Jens Steube
ab5ecd8eaa
Fix some updated buffer sizes and new optimizer descriptions
9 years ago
Jens Steube
0362df07ed
Merge pull request #210 from gm4tr1x/hd4000v0
...
Fix SHA-3(Keccak) issue with HD4000 (issue #191 ) and reorder macro
9 years ago
Gabriele 'matrix' Gristina
225fc28dff
Fix SHA-3(Keccak) issue with HD4000 (issue #191 ) and reorder macro
9 years ago
Gabriele 'matrix' Gristina
e2db8afdf8
Add missing pthread_setaffinity_np for osx
9 years ago
Jens Steube
fa0e6fb78e
Merge pull request #204 from gm4tr1x/LoopAccelMod
...
gpu loops/accel per-device
9 years ago
Gabriele 'matrix' Gristina
fa7465aa86
gpu loops/accel per-device
9 years ago
Jens Steube
22834781f5
Hack in NvAPI_GPU_GetCoolerSettings(); Enables query fanspeed in percentage on windows
9 years ago
Gabriele 'matrix' Gristina
89e5ed2574
handling possible clEnqueueFillBuffer not found in opencl lib
9 years ago
Jens Steube
2381af313d
Some cleanups
9 years ago
Gabriele 'matrix' Gristina
e67eec1ae0
get rid of nvidia nvapi static linking
9 years ago
Gabriele 'matrix' Gristina
f3407cd7f4
HWMon mod
9 years ago
Gabriele 'matrix' Gristina
88087295b3
Removed deprecated and unused ADL function (ADL_DisplayEnable_Set)
9 years ago
Gabriele 'matrix' Gristina
0f159d42e6
Fixed HC_LOAD_FUNC macro
9 years ago
Jens Steube
b8285cbce2
Fix broken ADL on windows
9 years ago
Jens Steube
f256363448
Merge pull request #190 from gm4tr1x/fixLoopsAccelV3
...
Fixed loops/accel for 6800, 11300 and 11600 (osx)
9 years ago
Gabriele 'matrix' Gristina
d120ede655
Update ADL Library Loader
9 years ago
Gabriele 'matrix' Gristina
b542d4a431
Fixed loops/accel for 6800, 11300 and 11600 (osx)
9 years ago
Jens Steube
55d4904dd3
Merge pull request #185 from gm4tr1x/fixLoopsAccelv2
...
Fixed some gpu loops/accel settings
9 years ago
Gabriele 'matrix' Gristina
53faf6a24a
Fixed some gpu loops/accel settings
9 years ago
Jens Steube
6846348602
Use a different workaround for a catalyst bug which takes effect in sha512crypt
9 years ago
Gabriele 'matrix' Gristina
f9598f691d
Fixed CL_INVALID_WORK_GROUP_SIZE error with Apple CPU
9 years ago
Gabriele 'matrix' Gristina
d147d89f5e
cleanup unnecessary clGetProgramBuildInfo code
9 years ago
Jens Steube
060af27dd9
Merge branch 'master' of https://github.com/hashcat/oclHashcat
9 years ago
Jens Steube
eb60d6bb23
Remove MD4/MD5 *H1/*H2 functions and use original H functions. Modern compilers will find this easy optimization automatically
9 years ago
magnum
ce170ea980
Acquire an exclusive lock before writing to any file. Note that in
...
some cases we never explicitly unlock a file because fclose will do
it implicitly. Closes #172 .
9 years ago
Gabriele 'matrix' Gristina
3952fa7e06
Updated gpu accel for -m 6211 and default runtime value to 8
9 years ago
magnum
115d2b6a5a
Drop dependencies on non-distributable ADL/NVML headers. The needed glue
...
is copied into our respective local headers. Should close #120 .
9 years ago
Jens Steube
cae457df0c
Merge pull request #167 from gm4tr1x/issue84
...
Issue84
9 years ago
Jens Steube
9ec2c86cd0
Merge pull request #165 from gm4tr1x/gcc-warnings
...
Fixed gcc warnings
9 years ago
Jens Steube
9d5a757ae5
Merge pull request #157 from gm4tr1x/loops-accel
...
Improved osx support with custom kernel loops and gpu accel (issue #63 )
9 years ago
Gabriele 'matrix' Gristina
b7d3a7c5bc
Fixed gcc warnings
9 years ago
Gabriele 'matrix' Gristina
5bae9de3a3
Implemented OpenCL library loader
9 years ago
Gabriele 'matrix' Gristina
6ba392c0df
Modified as @jsteube request
9 years ago
Gabriele 'matrix' Gristina
6cbe3cee50
Cosmetix fix for types.h
9 years ago
Gabriele 'matrix' Gristina
dcc4b5a60f
Added custom OSX kernel loops and gpu accel default values
...
Disabled some not yet worked hash types in OSX
9 years ago
Jens Steube
20b0c23af1
Merge pull request #146 from gm4tr1x/master
...
Fixed some memory allocations and other small things
9 years ago
Jens Steube
1d3795a3ab
Converted _a3 kernels, use SIMD for CPU and GPU
9 years ago
Gabriele 'matrix' Gristina
076597fe01
Fixed some memory allocations and other small things
9 years ago
Jens Steube
bfc4495bd3
Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138
9 years ago
Gabriele 'matrix' Gristina
5da79e4411
Added support for build without ADL/NVML/NVAPI (issue #120 )
...
Added support for build OSX native binaries (issue #63 )
9 years ago
jsteube
e3c0c80b6f
Prepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and other hopefully stay unaffected
9 years ago
jsteube
5ae5a4bc25
Reorder device mapping
9 years ago
Jens Steube
63e06f582b
Prepare fix for datatypes, not final
9 years ago
Jens Steube
49d0767aa8
Run weak-hash checks only in straight-attack mode, this greatly reduces code complexity
9 years ago
Jens Steube
52d71de0d4
Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
9 years ago
Jens Steube
6b4e4c060a
Replace typedef for bool with stdbool.h
9 years ago
Jens Steube
0ff49c5b44
Fix segfault in related to weak-hash-check on CPU devices
...
Move typedef for bool datatype to common.h
9 years ago
Jens Steube
730044e26e
Added option --opencl-device-types to filter for specific OpenCL device types
9 years ago
philsmd
02cecce247
fixed hardware monitor: mapping between supported ADL devices and available GPU (and CPUs) fixed
9 years ago
Jens Steube
1d628ca6e0
The weak-hash-check feature didn't work for algorithms that made use of some automatic optimizer flags
...
We'll enforce a weak-hash-check on an _a0 kernel for them
9 years ago
jsteube
3cdee2e06e
We need an esalt to hold the unused IV otherwise the unique salt count becomes incorrect in multihash sitations
9 years ago
jsteube
f0a84a2410
Added new hash mode -m 13000 = RAR5
9 years ago
jsteube
332b3c35e5
Added new hash mode -m 12900 = Android FDE (Samsung DEK)
9 years ago
jsteube
e8229af09b
Fix for -m 1500, -m 3000: Missing "defined" keyword
...
Fix for -m 1000: MD4_H1 copy/paste error
Fix for -m 8900, -m 9300: Invalid value for device_processor_cores for CPU devices
Fix for -m 9100: Variable salt2 initializer needed some clauses for clearness
Temporary limit gpu_accel for CPU devices to 1 for development phase
Mark pocl as too bleeding edge for production use, recommend native drivers
Remove workarounds for pocl
Rename VENDOR_ID_UNKNOWN to VENDOR_ID_GENERIC in host code
Rename IS_UNKNOWN to IS_GENERIC in kernel code
9 years ago
jsteube
6e680aa31c
Workaround for either pocl or llvm fails and produces invalid optimized code
9 years ago
jsteube
331188167c
Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
9 years ago
jsteube
894140b816
Generate a more easy to read filename for cached kernels
9 years ago
jsteube
8baf705f6a
Preparation for distinguish between OpenCL device types at runtime (mostly for HMS)
9 years ago
jsteube
c4b1c8e7ca
small fix for unknown opencl platforms
9 years ago
jsteube
3b589e3aac
Prepare for allow other OpenCL platforms thans AMD and NVidia
9 years ago
jsteube
0428514f61
Extended support from 14 to 255 functions calls per rule on GPU
9 years ago
philsmd
d378319ea6
this patch makes it much clearer where the sessions under ~/.hashcat are located
9 years ago
jsteube
d008a45f3c
Activate reordering or files to help integration into linux distributions
...
Details can be found here: https://github.com/hashcat/oclHashcat/issues/20
9 years ago
jsteube
31292946e2
Fix some scrypt default values
9 years ago
jsteube
c17bf5e865
- Fixed PHY memory handling for scrypt based algorithms
...
- Bring back kernel exec timeout checking for NV
9 years ago
jsteube
84568e5b3d
Increase bcrypt speed for NV
9 years ago
jsteube
7be2c2fd8d
Fixed some speeds:
...
1800
3200
7100
7200
7400
8200
9300
9000
9600
11300
11600
9 years ago
jsteube
378258d789
Fix caching system for use with AMD and NV, drop BINARY_KERNEL define
9 years ago
jsteube
9115547601
Revert "Fix -m 10700"
...
This reverts commit 15da53da38
.
9 years ago
jsteube
15da53da38
Fix -m 10700
9 years ago
jsteube
91249942ab
Fix -m 1800 for NV
9 years ago
jsteube
9c392b472e
Removed useless comments
9 years ago
jsteube
c29c7c093f
Fix use of LOP3
9 years ago
Jens Steube
0f1ae86be9
Fix invalid VENDOR_ID for AMD
9 years ago
philsmd
cff683eac1
change in library loading: libnvidia-ml now does load dynamically only on NVidia systems
9 years ago
philsmd
3ab7a23cd5
fixed hardware monitor for amd/nv (one problem that is still there since last commit: dynamic loading of libnvidia-ml)
9 years ago
jsteube
0bf4e3c34a
- Dropped all vector code since new GPU's are all scalar, makes the code much easier
...
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
9 years ago
Jens Steube
586441fa25
Revert "Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported"
...
This reverts commit f230ed73dc
.
Some kernel require too much constant memory and do not compile anymore
9 years ago
Jens Steube
f230ed73dc
Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported
9 years ago
Jens Steube
1537390fae
Prepare reordering or files to help integration into linux distributions as discussed in https://github.com/hashcat/oclHashcat/issues/20
...
TODOS:
- Let oclHashcat actually use the new paths
- Find a better way for native compilation
- Replace /bin/cp with /usr/bin/install where it has to copy files recursive
9 years ago
jsteube
968265fffb
- Prepared for JIT use of hash-mode 1500, 8900 and 9300, works already on OpenCL (AMD)
...
- Changed PROMPT
9 years ago
philsmd
946b4a37d0
implements the enhancement mentioned in issue #10 (cancel on next checkpoint)
9 years ago
philsmd
ef548d3088
fixes issue #5 : formatting problem with tabs vs spaces
9 years ago
Jens Steube
5065474b4e
Initial commit
9 years ago