Martin Lemay
a1aef652c2
Fixed snprintf.
2016-04-25 09:32:41 -04:00
Francois Gaudreault
96e60bfb05
Fixing minor definitions.
2016-04-25 09:11:49 -04:00
jsteube
082b1504b1
Initial MESA support, needs more fixes
2016-04-25 13:51:18 +02:00
Jens Steube
dcbf665313
Use a more optimal salt value for descrypt benchmark
2016-04-24 18:08:11 +02:00
Jens Steube
42c83df959
Fix for 0H/s issue on different algorithms
2016-04-24 16:28:33 +02:00
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
2016-04-24 12:24:21 +02:00
Martin Lemay
89ebc48942
Fixed snprintf cast warnings
2016-04-24 14:29:19 -04:00
Francois Gaudreault
f76b9d0013
Adding Tests, fix one compile warning
2016-04-22 19:36:07 -04:00
Martin Lemay
39445340ae
Minor adj. and sanity check on pstoken_parse_hash().
2016-04-24 07:29:53 -04:00
Martin Lemay
f0535b1a52
ascii_digest additions.
2016-04-22 16:21:55 -04:00
Martin Lemay
1c8368d1cd
changed to OPTS_TYPE_PT_ADD80
2016-04-22 15:33:31 -04:00
Martin Lemay
ac35ab8111
esalt hex convertion.
2016-04-22 15:32:06 -04:00
Martin Lemay
8cf6607c87
Refactored 134 to 13500. Added esalt struct
2016-04-22 12:26:03 -04:00
Francois Gaudreault
2df81367df
Adding parser and basic kernels for -m 134
2016-04-21 13:22:05 -04:00
Jens Steube
37c40dcfb4
Accept \r as newline in thread_keypress()
2016-04-19 13:11:28 +02:00
Jens Steube
6fcf58e106
Fix for https://github.com/hashcat/oclHashcat/issues/302
2016-04-19 13:04:33 +02:00
Jens Steube
13b2758084
Added parameter --potfile-path to override default potfile path
2016-04-17 19:14:55 +02:00
Jens Steube
63ba540f2b
Add some additional information to error-text in read_restore()
2016-04-17 17:48:48 +02:00
Jens Steube
e6b9071b52
Cleanup -m 9800 kernels to latest standard
2016-04-17 15:49:02 +02:00
Jens Steube
fb6dec55af
Small fix related to 3cd83a4ab9
2016-04-17 11:00:53 +02:00
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
2016-04-17 10:44:14 +02:00
Jens Steube
0f73c778d5
Optimized -m 8300 (DNSSEC) cracking performance in -a 3 mode
2016-04-16 11:50:48 +02:00
Michael Sprecher
0dcb762a8e
Added new hash mode -m 125 = ArubaOS
2016-04-10 00:58:28 +02:00
Fist0urs
34b8d89422
Added support of keyfiles within Keepass 1.x and Keepass 2.x
2016-04-06 16:05:09 +02:00
jsteube
5f05fbf103
Prevent NV OpenCL runtime to cache kernels to ~/.nv by using an undocumented environment variable CUDA_CACHE_DISABLE
2016-04-03 17:39:33 +02:00
Jens Steube
09e971c938
Use a fixed path for the potfile rather than session depending
2016-04-03 15:46:05 +02:00
Jens Steube
2b6fc52c72
Merge pull request #286 from Fist0urs/Keepass
...
-m 13400 add missing 'break;' statement
2016-04-03 10:16:16 +02:00
Jens Steube
32fff7cd13
Merge pull request #285 from philsmd/pr-keepass-parser-fix
...
fixed some parser checks for new keepass format (-m 13400)
2016-04-03 10:15:14 +02:00
Fist0urs
a027805608
-m 13400 add missing 'break;' statement
2016-04-03 01:50:28 +02:00
philsmd
9ea2f5fef1
fixed some parser checks for new keepass format (-m 13400)
2016-04-02 18:16:08 +02:00
philsmd
b3dfd7057e
fixed -m 10200 = Cram MD5 parser: check for NULL pointers ASAP, check base64 input length
2016-04-02 18:05:08 +02:00
Fist0urs
c7cb30167f
Cosmetic change: add newline to --help
2016-04-02 15:49:02 +02:00
Fist0urs
52b17a602f
New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
2016-04-02 14:45:05 +02:00
Jens Steube
d0e7ee6824
Merge pull request #281 from philsmd/master
...
fixed base64_decode () input length validation for -m 8900
2016-04-02 13:36:03 +02:00
Jens Steube
88fafeb928
Synchronize maximum output line size with input line size
2016-03-31 16:12:13 +02:00
philsmd
9b75b245d5
fixed base64_decode () input length validation for -m 8900
2016-03-29 09:49:05 +02:00
Jens Steube
027631bdc8
Eventual patch for issue https://github.com/hashcat/oclHashcat/issues/279
2016-03-26 11:01:20 +01:00
Jens Steube
0fdebf904d
Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
2016-03-26 10:37:59 +01:00
philsmd
9a135de1c1
fixed problem with -m 5600 = NetNTLMv2 parser
2016-03-21 18:51:21 +01:00
philsmd
e7e5333d23
fixed -m 5500 parser, avoid strange crashes
2016-03-21 09:11:10 +01:00
philsmd
e179c53f19
fixed some parser checks to avoid crashes (-m 5300/5400)
2016-03-20 19:24:21 +01:00
philsmd
5174de48c9
fixed -m 133 = PeopleSoft (-a 0/-a 1 problem only) + added to test.sh
2016-03-16 09:11:54 +01:00
philsmd
3c2f8fb88b
added some checks to the -m 1711 = SSHA-512(Base64), LDAP {SSHA512} parser
2016-03-15 16:28:57 +01:00
Jens Steube
5d886658da
Merge pull request #270 from philsmd/pr-hlfmt-hash-len-check
...
added check for hash_len/hash_buf after calls to hlfmt_hash ()
2016-03-13 19:01:59 +01:00
philsmd
1699057516
show a warning if hlfmt_hash () fails
2016-03-13 18:21:27 +01:00
philsmd
b76495e0f5
also add check for NULL pointers
2016-03-13 17:42:12 +01:00
philsmd
27ef5885f4
added check for hash_len after calls to hlfmt_hash ()
2016-03-13 17:39:53 +01:00
philsmd
bc965c9c9b
fixed checks in -m 500 parser
2016-03-13 15:57:53 +01:00
philsmd
b755e5b6f3
added some checks to the -m 111 = nsldaps, SSHA-1(Base64), Netscape LDAP SSHA parser
2016-03-11 17:55:19 +01:00
Jens Steube
d7f8b356ef
Fix for #265 : hashcat_tuning.hctab wasn't installed automatically
2016-03-10 19:20:05 +01:00
philsmd
8634bde118
added additional check for max. ESSID length to prevent eventual crashes
2016-03-09 11:13:41 +01:00
philsmd
3c1e05aaf3
#234 : increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
2016-03-07 15:52:50 +01:00
Jens Steube
536f9c955e
Merge pull request #257 from philsmd/master
...
show autotuned kernel accel and kernel loop values only when debugging
2016-03-07 11:43:39 +01:00
Jens Steube
e71313b871
Fix invalid progress value and ETA in case of cracked salts
2016-03-07 11:38:00 +01:00
philsmd
73f897193e
show autotuned kernel accel and kernel loop values only when debugging
2016-03-06 17:25:05 +01:00
Jens Steube
4709550a57
Merge pull request #256 from philsmd/pr-cl-debug-buildlog
...
show build log whenever 'make DEBUG > 0' is set
2016-03-06 14:30:18 +01:00
philsmd
01a7adc12a
show build log whenever 'make DEBUG > 0' is set
2016-03-06 14:27:19 +01:00
Jens Steube
55cadb6834
Fix broken -m 1500 and -m 3000 in -a 3 mode
2016-03-06 14:24:21 +01:00
philsmd
6636cc144d
#245 : Makefile DEBUG fix
2016-03-06 12:03:08 +01:00
Fist0urs
b0f1cb8a98
New format -m 13300 AxCrypt in memory SHA1
2016-03-02 14:35:10 +01:00
Fist0urs
9811a21098
-m 13100 Fix overflow in input hash parsing
2016-03-02 10:31:54 +01:00
Fist0urs
ad17fba9b6
New format -m 13200 AxCrypt
2016-03-01 19:11:13 +01:00
philsmd
93a134e9b6
cast to uint is required with some gcc versions, otherwise we get a shift-negative-value warning
2016-02-27 19:56:20 +01:00
philsmd
0ea05ab292
minor: reformatting of recently changed code + use uint instead of unsigned int
2016-02-25 11:13:11 +01:00
philsmd
2ea295171c
this fixes the beta issue #163 (-d and --opencl-platforms not within valid range)
2016-02-24 19:50:05 +01:00
Jens Steube
31ee4e67d1
Merge pull request #237 from gpuhash/master
...
Fairly strict stamping of WPA salt components
2016-02-24 15:56:02 +01:00
Jens Steube
531f72c905
Fix this evil bug, pw->i is u32, not u8
2016-02-23 21:24:03 +01:00
gpuhash
541f231c23
Minor bugfix
2016-02-23 22:01:55 +03:00
gpuhash
d56394c849
Fairly strict stamping of WPA salt components
2016-02-23 21:31:18 +03:00
Jens Steube
8c89ef0490
Ensure a minimum length for password candidates in autotune
2016-02-23 18:51:28 +01:00
Jens Steube
2236bb972c
We still need on initial testrun in autotune
2016-02-23 15:36:06 +01:00
Jens Steube
01c847ba94
Do not use values that can actually crack a hash in autotune
2016-02-23 15:00:56 +01:00
Jens Steube
75c6d28a5f
Fix missing memset after previous fix
2016-02-23 10:52:02 +01:00
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
2016-02-23 10:36:43 +01:00
Jens Steube
61f87b2981
Try to load libOpenCL.so.1 if libOpenCL.so was not found
2016-02-23 07:57:52 +01:00
Jens Steube
f9834f3dfa
Zero pws_buf before reuse
2016-02-22 21:33:33 +01:00
Jens Steube
e6e5005a6b
Revert "Zero pws_buf before reuse"
...
This reverts commit b409e5e9e1
.
2016-02-22 21:32:38 +01:00
Jens Steube
b409e5e9e1
Zero pws_buf before reuse
2016-02-22 21:20:16 +01:00
Jens Steube
6c10ca5853
Fix use of find_kernel_power_div()
2016-02-22 12:50:04 +01:00
Jens Steube
6bc98368ba
Get rid of old pw_cache mechanism to control host-based vector data-types
2016-02-22 11:57:37 +01:00
Jens Steube
ec869595d1
Add auto-append for 0x01 and 0x80 in ATTACK_MODE_HYBRID2
2016-02-22 10:36:04 +01:00
Jens Steube
bb732686b1
Autotune should respect --quiet parameter
2016-02-21 18:23:04 +01:00
Jens Steube
9a128ce667
Fix force_jit_compilation usage
2016-02-21 13:30:28 +01:00
Jens Steube
7190dcf855
Prepare NEW_SIMD_MODE for -a 1 kernels
2016-02-20 16:13:06 +01:00
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
2016-02-20 00:58:22 +01:00
Fist0urs
62bed36638
Add verification of checksum for -m 13100
...
This avoid collisions by arc4'ing all data then hmac-md5
when valid ASN1 structures headers are found.
Performance should not be impacted.
2016-02-19 23:12:46 +01:00
Jens Steube
96bde85378
Allow mixed settings auto and fixed values for parameter and inside tuningdb for loops and accel
2016-02-19 18:58:03 +01:00
Jens Steube
14fe45b1f0
Simplify steps for autotune
2016-02-18 14:44:44 +01:00
Jens Steube
a83622faaf
Fix final autotune balancing
2016-02-18 13:04:25 +01:00
Jens Steube
f05944395a
Move fake word generation to try_run() to avoid unwanted caching
2016-02-18 10:49:23 +01:00
magnum
a5be8a75ed
Allow and support vector-width 16, which is current maximum for
...
OpenCL. Closes #226 .
2016-02-18 08:51:45 +01:00
magnum
998605ef89
Simplify code. No change in functionality at all.
2016-02-17 18:24:35 +01:00
philsmd
8298afa462
minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)
2016-02-17 11:02:40 +01:00
Fist0urs
c3dabdd69e
Initial commit
2016-02-16 16:34:46 +01:00
Jens Steube
4bc02e5ac8
Replace OpenCL event's with own timers, this saves us a thread-pair spawned on nvidia's OpenCL runtime and doesn't affect others
2016-02-15 22:27:30 +01:00
Jens Steube
c44b50c2e2
Use CL_DEVICE_NATIVE_VECTOR_WIDTH_* instead of CL_DEVICE_PREFERRED_VECTOR_WIDTH_*
2016-02-15 21:19:41 +01:00
Jens Steube
1af0f9c67b
Fix autotune in -i mode
2016-02-15 21:08:16 +01:00
jsteube
bbadabe278
Fix another source of 0H/s in benchmark mode
2016-02-15 20:32:01 +01:00
Jens Steube
0cbe2347cd
Merge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod
...
Get rid of hc_clEnqueueNDRangeKernel double call
2016-02-15 18:56:03 +01:00
Jens Steube
709f79a7da
Add option to repeat the kernel on the device NUM times to increase benchmark accuracy
2016-02-15 17:42:09 +01:00
Jens Steube
eaf7a7cb2f
Final balance meassurements for autotune
2016-02-15 14:57:03 +01:00
Jens Steube
a9e3ef0576
In benchmark-mode, do not depend any longer on a fixed time, better use a single iteration instead
2016-02-15 12:38:54 +01:00
Jens Steube
8af57d55f4
Disable GPU-Temp monitoring during benchmark
2016-02-14 20:15:14 +01:00
jsteube
f1e0cd6d56
Autotune: 200 loops should be fine for a start
2016-02-14 20:07:16 +01:00
Jens Steube
515385c57d
Add dedicated steps for loops and accel
2016-02-14 18:23:21 +01:00
Jens Steube
72e0553e44
Fixed a missing condition
2016-02-14 15:50:29 +01:00
Jens Steube
c09bc848f7
Autotuning engine prototype
2016-02-14 15:45:52 +01:00
Jens Steube
c0293928dd
Prepare for better autotuning capabilities
2016-02-13 16:07:58 +01:00
Gabriele 'matrix' Gristina
2a1d0d21ff
Get rid of hc_clEnqueueNDRangeKernel double call
2016-02-12 17:11:23 +01:00
Gabriele 'matrix' Gristina
c97dbf56cb
Fix bug in weak_hash_check(), wrong kernel_loops assigned
2016-02-12 14:04:13 +01:00
Jens Steube
2dfe9200d6
Remove Wordload-Profiles from tuningdb, we can simply calculate it
2016-02-11 14:16:08 +01:00
Jens Steube
10dc25f807
Merge pull request #217 from magnumripper/master
...
Use device's preferred vector width, not its native one.
2016-02-11 10:08:57 +01:00
jsteube
5c01349ba6
Update event handling to workaround event handling error in nvidia opencl runtime
2016-02-11 09:54:50 +01:00
magnum
162bc25a3d
Use device's preferred vector width, not the native one. Also, don't
...
assume vector width for 'long' is half of that for 'int'.
2016-02-10 23:43:08 +01:00
Gabriele 'Matrix' Gristina
20ee62e196
Revert "Use per-device timer resolution in total_time calculations"
2016-02-10 22:31:43 +01:00
Jens Steube
02ad834c7f
Added new concept of a tuning database; tryout phase
2016-02-10 20:40:21 +01:00
Jens Steube
8d85b7539d
Fixed a bug in line counter: Conditional jump or move depends on uninitialised value
2016-02-10 16:56:51 +01:00
Jens Steube
e80541d6dd
Check for allocatable device-memory depending on kernel_accel amplifier before trying to allocate
2016-02-10 13:31:04 +01:00
Gabriele 'matrix' Gristina
523a7bfe93
Use CL_DEVICE_PROFILING_TIMER_RESOLUTION per-device value in total_time calculations
2016-02-09 21:48:18 +01:00
Jens Steube
9fc360e39d
Added the execution time of the running kernel to the status display
2016-02-09 20:01:50 +01:00
Gabriele 'matrix' Gristina
74be8e2e25
skip device if buildProgram() fail
2016-02-07 21:20:10 +01:00
Jens Steube
6d37c123a5
Merge branch 'master' of https://github.com/hashcat/oclHashcat
2016-02-06 23:22:38 +01:00
Jens Steube
ab5ecd8eaa
Fix some updated buffer sizes and new optimizer descriptions
2016-02-06 23:22:26 +01:00
Jens Steube
952c20e0f8
Merge pull request #211 from gm4tr1x/issue150
...
Fixed "VENDOR_ID" format (probably relate with issue #150 )
2016-02-06 22:08:34 +01:00
Gabriele 'matrix' Gristina
91fae7e49a
Fixed bug in 8900 (probably relate with issue #150 )
2016-02-06 19:36:00 +01:00
Gabriele 'matrix' Gristina
e2db8afdf8
Add missing pthread_setaffinity_np for osx
2016-02-06 18:00:04 +01:00
Gabriele 'matrix' Gristina
5953130062
Fix clEnqueueNDRangeKernel() error -54
2016-02-06 15:40:22 +01:00
Jens Steube
8650212b80
Remove Workload display in benchmark, remove unused variable
2016-02-05 17:26:51 +01:00
Jens Steube
fa0e6fb78e
Merge pull request #204 from gm4tr1x/LoopAccelMod
...
gpu loops/accel per-device
2016-02-05 17:17:04 +01:00
Gabriele 'matrix' Gristina
fa7465aa86
gpu loops/accel per-device
2016-02-05 15:27:09 +01:00
Jens Steube
22834781f5
Hack in NvAPI_GPU_GetCoolerSettings(); Enables query fanspeed in percentage on windows
2016-02-05 11:28:31 +01:00
Jens Steube
6c5938201b
Revert "Merge pull request #202 from magnumripper/master"
...
This reverts commit 28edfbd654
, reversing
changes made to b6f10a2a81
.
2016-02-04 23:32:18 +01:00
magnum
947a927ed2
Do not silently ignore -w2 for -b. Closes #201 .
2016-02-04 23:20:37 +01:00
magnum
68dbaa6f8a
Bugfix: putenv(3) was used with a stack variable, that's a no-no.
2016-02-04 22:49:34 +01:00
Gabriele 'matrix' Gristina
89e5ed2574
handling possible clEnqueueFillBuffer not found in opencl lib
2016-02-04 21:06:19 +01:00
Jens Steube
2381af313d
Some cleanups
2016-02-04 15:47:52 +01:00
Jens Steube
4d2be9073e
Consolidate hardware monitoring interface status on startup
2016-02-04 15:07:38 +01:00
Gabriele 'matrix' Gristina
74db620d51
Add missing memset and update ext_nvapi.c header
2016-02-04 13:36:52 +01:00
Jens Steube
e01038083c
Update Makefile and BUILD.md
2016-02-04 09:44:52 +01:00
Gabriele 'matrix' Gristina
e67eec1ae0
get rid of nvidia nvapi static linking
2016-02-03 20:53:00 +01:00
Gabriele 'matrix' Gristina
f3407cd7f4
HWMon mod
2016-02-02 01:14:33 +01:00
Gabriele 'matrix' Gristina
88087295b3
Removed deprecated and unused ADL function (ADL_DisplayEnable_Set)
2016-02-01 15:39:44 +01:00
Jens Steube
f256363448
Merge pull request #190 from gm4tr1x/fixLoopsAccelV3
...
Fixed loops/accel for 6800, 11300 and 11600 (osx)
2016-02-01 08:08:20 +01:00
Jens Steube
102dee00eb
Merge pull request #192 from gm4tr1x/ADL_LibraryLoader
...
Update ADL/OpenCL Library Loader
2016-02-01 08:08:13 +01:00
Gabriele 'matrix' Gristina
d120ede655
Update ADL Library Loader
2016-01-31 23:48:38 +01:00
jsteube
d0d3507dc2
Fix TI series detection
2016-01-31 22:53:28 +01:00
jsteube
21525b74e1
Remove more unnecessary libOpenCL*.a related stuff
2016-01-31 22:01:32 +01:00
Gabriele 'matrix' Gristina
b542d4a431
Fixed loops/accel for 6800, 11300 and 11600 (osx)
2016-01-31 21:48:08 +01:00
Gabriele 'matrix' Gristina
dcb4888dd5
Remove unnecessary libOpenCL*.a from Makefile
2016-01-31 19:48:40 +01:00
Jens Steube
55d4904dd3
Merge pull request #185 from gm4tr1x/fixLoopsAccelv2
...
Fixed some gpu loops/accel settings
2016-01-31 18:27:21 +01:00