Martin Lemay
d9889727e6
Removed SHA1 optimization.
2016-04-25 09:33:43 -04:00
Martin Lemay
a1aef652c2
Fixed snprintf.
2016-04-25 09:32:41 -04: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
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
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
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
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
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
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
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
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
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
0ea05ab292
minor: reformatting of recently changed code + use uint instead of unsigned int
2016-02-25 11:13:11 +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
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
magnum
a5be8a75ed
Allow and support vector-width 16, which is current maximum for
...
OpenCL. Closes #226 .
2016-02-18 08:51:45 +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
c09bc848f7
Autotuning engine prototype
2016-02-14 15:45:52 +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
02ad834c7f
Added new concept of a tuning database; tryout phase
2016-02-10 20:40:21 +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
Gabriele 'matrix' Gristina
e2db8afdf8
Add missing pthread_setaffinity_np for osx
2016-02-06 18:00:04 +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
Gabriele 'matrix' Gristina
f3407cd7f4
HWMon mod
2016-02-02 01:14:33 +01:00
Gabriele 'matrix' Gristina
d120ede655
Update ADL Library Loader
2016-01-31 23:48:38 +01:00
Gabriele 'matrix' Gristina
5d4160dc8c
Fixed gcc warnings about missing field initializers
2016-01-30 14:59:26 +01:00
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 .
2016-01-29 16:48:19 +01:00
Gabriele 'matrix' Gristina
9eefb4bcd7
Fixed get_profile_dir and get_session_dir byte missing bug
2016-01-27 19:29:51 +01:00
magnum
f5d6f9b6d4
Do not create a kernel cache file if build failed. Also disregard any
...
existing cache files with size of zero. Should close #164 .
2016-01-27 18:39:45 +01:00
Gabriele 'matrix' Gristina
6ba392c0df
Modified as @jsteube request
2016-01-26 12:07:19 +01:00
Gabriele 'matrix' Gristina
dcc4b5a60f
Added custom OSX kernel loops and gpu accel default values
...
Disabled some not yet worked hash types in OSX
2016-01-24 22:48:01 +01:00
Gabriele 'matrix' Gristina
58359f3b7e
Fixed 'buf' initialization for windows
2016-01-24 17:20:01 +01:00
Jens Steube
0997ae029e
Remove NO-BREAK SPACE character (utf8) from sources
2016-01-24 17:08:49 +01:00
Jens Steube
9c89b58f76
Merge pull request #153 from gm4tr1x/missingcheck
...
Added missing check for in_len in _old_apply_rule function
2016-01-24 16:24:57 +01:00
Jens Steube
d275748c7c
Merge pull request #152 from gm4tr1x/buf
...
Optimized memset calls and also some initializations
2016-01-24 16:24:10 +01:00
Gabriele 'matrix' Gristina
17d885ffa4
Added missing check for in_len in _old_apply_rule function
2016-01-24 15:13:43 +01:00
Gabriele 'matrix' Gristina
3abacf515c
Optimized memset calls and also some initializations
2016-01-24 13:25:47 +01:00
Gabriele 'matrix' Gristina
8d891ef0ba
Avoid sprintf
2016-01-24 13:05:02 +01:00
Gabriele 'matrix' Gristina
076597fe01
Fixed some memory allocations and other small things
2016-01-21 17:20:02 +01:00
Gabriele 'matrix' Gristina
5da79e4411
Added support for build without ADL/NVML/NVAPI (issue #120 )
...
Added support for build OSX native binaries (issue #63 )
2016-01-20 20:55:09 +01:00
philsmd
751a364125
#137 : fixes padding for base64_encode () and base64_decode()
2016-01-19 22:32:20 +01:00
philsmd
e1ae2538c6
cosmetic fix: some fixed typos e.g. to -> too
2016-01-19 20:47:18 +01:00
philsmd
5e92020180
buffer overflow fix for -m 8900 = scrypt
2016-01-19 19:04:52 +01:00
Gabriele 'matrix' Gristina
29636ca0a3
Re-fix ascii_digest
2016-01-17 22:10:19 +01:00
Gabriele 'matrix' Gristina
e9bc4caed3
Fixed a buffer overflow in ascii_digest for hash type 8300
2016-01-17 18:52:25 +01:00
jsteube
9fb506f15f
Fixed out of bounds access in -m 11300
2016-01-15 23:25:24 +01:00
jsteube
5ae5a4bc25
Reorder device mapping
2016-01-15 17:23:07 +01:00
Jens Steube
63e06f582b
Prepare fix for datatypes, not final
2016-01-15 17:16:43 +01:00
Jens Steube
f3b85a6363
Fix some clang compiler warnings
2016-01-14 21:45:11 +01:00
jsteube
d3981ee66a
Fix missing cast to uint
2016-01-14 20:42:07 +01:00
philsmd
cbe6be9246
set default iteration count for -m 2100 = DCC2 to 10240
2016-01-14 00:14:43 +01:00
jsteube
e7e6c4da17
Do not use OpenCL CPU devices by default to avoid slow GPU synchronization, user needs to explicitly enable them using --opencl-device-type
...
If a platform like pocl is filtered by any of the filter mechanism do not request the user to use --force
2016-01-13 20:27:26 +01:00
Jens Steube
52d71de0d4
Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
2016-01-13 17:10:40 +01:00
Jens Steube
730044e26e
Added option --opencl-device-types to filter for specific OpenCL device types
2016-01-12 00:44:28 +01:00
philsmd
02cecce247
fixed hardware monitor: mapping between supported ADL devices and available GPU (and CPUs) fixed
2016-01-12 00:30:28 +01:00
jsteube
3cdee2e06e
We need an esalt to hold the unused IV otherwise the unique salt count becomes incorrect in multihash sitations
2016-01-09 21:35:29 +01:00
jsteube
f0a84a2410
Added new hash mode -m 13000 = RAR5
2016-01-09 20:34:12 +01:00
jsteube
332b3c35e5
Added new hash mode -m 12900 = Android FDE (Samsung DEK)
2016-01-09 00:49:54 +01:00
jsteube
331188167c
Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
2016-01-05 08:26:44 +01:00
jsteube
0428514f61
Extended support from 14 to 255 functions calls per rule on GPU
2016-01-03 19:49:47 +01:00
philsmd
d378319ea6
this patch makes it much clearer where the sessions under ~/.hashcat are located
2016-01-03 17:11:36 +01:00
jsteube
d008a45f3c
Activate reordering or files to help integration into linux distributions
...
Details can be found here: https://github.com/hashcat/oclHashcat/issues/20
2016-01-03 00:40:31 +01:00
jsteube
7807eb6f2d
Fix -m 7800 for NV
2015-12-30 00:29:39 +01:00
philsmd
286bde422b
limit the salt length of -m 22 = Juniper Netscreen/SSG (ScreenOS) to 10
2015-12-27 09:48:52 +01:00
philsmd
cff683eac1
change in library loading: libnvidia-ml now does load dynamically only on NVidia systems
2015-12-15 20:34:07 +01:00
philsmd
3ab7a23cd5
fixed hardware monitor for amd/nv (one problem that is still there since last commit: dynamic loading of libnvidia-ml)
2015-12-15 18:41:11 +01:00
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
2015-12-15 12:04:22 +01:00
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
2015-12-13 18:46:21 +01:00
Jens Steube
f230ed73dc
Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported
2015-12-13 14:54:39 +01:00
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
2015-12-13 12:21:36 +01:00
Jens Steube
c460b554d0
- Fixed a bug related to --restore if the User
...
- Updated readme, we actually need catalyst 15.7 (for the binary package) because of OpenCL 2.0
2015-12-11 19:27:07 +01:00
philsmd
feeb44882b
allow both enabling and disabling of restore point update (implemented with issue #10 )
2015-12-07 23:51:51 +01:00
jsteube
968265fffb
- Prepared for JIT use of hash-mode 1500, 8900 and 9300, works already on OpenCL (AMD)
...
- Changed PROMPT
2015-12-07 21:37:12 +01:00
philsmd
946b4a37d0
implements the enhancement mentioned in issue #10 (cancel on next checkpoint)
2015-12-07 18:31:45 +01:00
philsmd
ef548d3088
fixes issue #5 : formatting problem with tabs vs spaces
2015-12-06 11:29:29 +01:00
Jens Steube
5065474b4e
Initial commit
2015-12-04 15:47:52 +01:00