1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +00:00
Commit Graph

302 Commits

Author SHA1 Message Date
jsteube
a4f40ac226 Added old potfile detection, show warning message 2016-12-31 13:52:35 +01:00
jsteube
8a47c32537 Fixed display screen to show input queue when using custom charset or rules 2016-12-31 13:37:26 +01:00
Jens Steube
b0ff13b496 Truecrypt/Veracrypt: Use CRC32 to verify headers instead of fuzzy logic, greatly reduces false positives from 18:2^48 to 3:2^64 2016-12-31 02:10:10 +01:00
jsteube
9f64f9e705 Removed *throttled* message from NVML as this created more confusion than it helped 2016-12-29 19:07:05 +01:00
jsteube
4a81601c0a Reenabled automatic status screen display in case of stdin used 2016-12-29 13:05:29 +01:00
jsteube
07078e8c14 Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries 2016-12-28 14:05:26 +01:00
jsteube
45aae6a178 Switched matching ADL device with OpenCL device by using PCI bus, device and function 2016-12-28 10:51:39 +01:00
Jens Steube
f22836b35e Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function 2016-12-27 19:20:27 +01:00
Jens Steube
c77c9ff72e Switched matching NvAPI device with OpenCL device by using PCI bus, device and function 2016-12-27 17:41:29 +01:00
Jens Steube
2c82e53d38 Switched matching NVML device with OpenCL device by using PCI bus, device and function 2016-12-27 14:44:12 +01:00
jsteube
fa5b5d298d Hash Parser: Improved error detection of invalid hex characters where hex character are expected 2016-12-23 14:57:46 +01:00
jsteube
72af615e8b WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected 2016-12-22 02:17:49 +01:00
jsteube
e4ba40dd7e OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken 2016-12-18 22:35:23 +01:00
jsteube
24a3aff5ea Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks 2016-12-18 16:01:23 +01:00
jsteube
4b9cb7bbcf Fixed hex output of plaintext in case --outfile-format 4, 5, 6 or 7 was used
Fixes https://github.com/hashcat/hashcat/issues/922
2016-12-18 13:11:54 +01:00
Jens Steube
cafd4b50e7 Merge pull request #919 from matrix/master
Add support for SHA-224
2016-12-17 20:03:50 +01:00
Gabriele Gristina
496c749b2b Add missings requirements for SHA-224 support 2016-12-17 19:09:52 +01:00
jsteube
767ad440b2 Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used 2016-12-17 14:09:58 +01:00
jsteube
72599fd109 Fixed kernel loops in leading to slower performance in --increment mode 2016-12-15 13:19:10 +01:00
jsteube
f424650c3b Fixed infinite loop when using --loopback in case all hashes have been cracked
Fixes https://github.com/hashcat/hashcat/issues/917
2016-12-10 09:37:59 +01:00
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 2016-12-09 23:44:43 +01:00
jsteube
f9ba94954b Added sanity check to disallow --speed-only in combination with -i 2016-12-09 15:26:35 +01:00
jsteube
58f458f489 Fix notes in changes.txt about potfile reading performance 2016-12-09 14:55:28 +01:00
jsteube
1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance 2016-12-09 14:54:13 +01:00
jsteube
1be98add82 Add missing note about changed potfile suffix in v3.10 2016-12-09 13:42:52 +01:00
jsteube
0d160ac537 Update fixed problems in changes.txt so far, prepare for eventual v3.21 bugfix release 2016-12-03 13:13:46 +01:00
jsteube
cc1dca7a2b Fixed double free (actually, double fclose()) in opencl.c 2016-12-02 20:39:42 +01:00
jsteube
1eb7987081 Add a note about SAP CODVN B (BCODE) and SAP CODVN F/G (PASSCODE) optimization 2016-12-01 18:21:06 +01:00
jsteube
daddffa3dc Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated 2016-11-30 15:36:51 +01:00
jsteube
3c40b88eff Status: Do not show Recovered/Time as floats but as integers to reduce over-information 2016-11-30 11:12:56 +01:00
jsteube
813911788a Status: Do not show Recovered/Time when cracking < 1000 hashes 2016-11-30 11:12:30 +01:00
Christoph Heuwieser
30a710b69c fixed spelling and grammar 2016-11-25 19:21:35 +01:00
jsteube
ac8c4d946a Fix benchmark of extreme slow hashes, updated changes.txt 2016-11-25 16:27:22 +01:00
jsteube
8a8d2065c1 Add a note in changes.txt about changed $HEX[] behaviour 2016-11-24 18:16:12 +01:00
jsteube
90f0aec707 Fixed a bug in hash-mode 11600 = (7-Zip) producing clEnqueueReadBuffer(): CL_INVALID_VALUE depending on input hash 2016-11-24 18:13:47 +01:00
jsteube
c419bd0441 Fix rules.txt to match v3.20 limitations 2016-11-21 12:12:10 +01:00
Jens Steube
3240845cf3 Add some note about improved NVIDIA cracking performance 2016-11-17 10:41:38 +01:00
jsteube
4716f9c713 Fix some infos in changes.txt 2016-11-16 23:25:50 +01:00
jsteube
8805ca169b Prepare for v3.20 release 2016-11-14 15:07:58 +01:00
jsteube
710d2e9bdb Bug was in v3.10 as well so add a note 2016-11-14 14:09:10 +01:00
jsteube
45ffc764ed Fixed a bug in rule generator code when using the memory copy function 2016-11-12 15:34:17 +01:00
jsteube
5835f0991f Improved NSEC3 hashes parsing error detection 2016-11-12 12:50:02 +01:00
jsteube
d0f7fee029 Fixed a bug when loading custom charset from file 2016-11-12 12:16:41 +01:00
jsteube
2bda020c83 Added new hash-mode 14400 = SHA1(CX)
Details: https://github.com/hashcat/hashcat/issues/554
2016-11-12 11:39:38 +01:00
Jens Steube
34e1ef6370 Improved default hashcat.hcstat 2016-11-11 22:34:10 +01:00
Jens Steube
0d949eea13 Fix some typos 2016-11-11 14:47:20 +01:00
jsteube
80a4f234f5 Update OpenCL runtime- and driver-requirements
Update changes.txt
2016-11-11 13:10:24 +01:00
jsteube
1edc129f8a Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled 2016-11-10 17:50:29 +01:00
jsteube
12ea82b821 Added support for --powertune-enable for AMD-GPU-PRO driver 2016-11-10 17:05:26 +01:00
Jens Steube
779662ea23 Fixed a bug when cracking a large salted hashlist: If a word is rejected this produces so high CPU load that cracking process doesn't start 2016-11-09 02:02:11 +01:00
jsteube
f3626fa082 Added new hash-mode 99999 = Plaintext 2016-11-03 19:02:55 +01:00
jsteube
6d2ce0d71a Added option --keep-guessing to continue cracking hashes even after they have been cracked.
It will be useful if there are multiple collisions and we want a specific one.
This one implements https://github.com/hashcat/hashcat/issues/493
2016-10-31 10:09:04 +01:00
jsteube
602576a126 Remove some white spaces 2016-10-29 13:50:43 +02:00
jsteube
313bdd5e5b Added a note 2016-10-21 16:24:08 +02:00
jsteube
bb98a8c8e1 Update changes.txt 2016-10-16 23:32:30 +02:00
jsteube
554c2f9e28 Add notes to changes 2016-10-14 21:48:10 +02:00
jsteube
eeb8210951 Added the current first and last password candidate test queued for execution per device on status view 2016-10-04 18:30:00 +02:00
jsteube
d3d9b4e679 Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory 2016-09-22 22:54:20 +02:00
jsteube
e9d6d06300 Add a note in changes.txt for last change 2016-09-14 17:51:43 +02:00
jsteube
c27e8aebbe - Update docs/team.txt
- Update docs/credits.txt
2016-09-12 09:05:32 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
c8858cd969 Abort session after NUM seconds of --runtime but do not count time in pause mode
From https://github.com/hashcat/hashcat/issues/472
2016-09-03 15:27:25 +02:00
jsteube
200938ca42 Replaced uints with enums types
Based on https://github.com/hashcat/hashcat/pull/467
2016-09-02 11:14:02 +02:00
jsteube
caf2a7da6d Use .gitmodules to handle OpenCL headers depency
Based on https://github.com/hashcat/hashcat/pull/467
2016-09-02 10:22:30 +02:00
Jens Steube
a289c37ecf Allow loading of bcrypt hashes with signature $2b$ (February 2014) 2016-09-02 10:03:22 +02:00
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
2016-08-30 17:44:14 +02:00
jsteube
0e619f6cd7 Fix Intel OpenCL Runtime version number in readme 2016-08-19 11:35:50 +02:00
jsteube
c2eaf04625 Merge branch 'master' of https://github.com/hashcat/hashcat 2016-08-19 11:34:50 +02:00
jsteube
582b22b89c Add OpenCart to readme.txt 2016-08-19 11:34:34 +02:00
Jens Steube
7bac5dd3af Added some missing description for a workaround 2016-08-19 10:33:03 +02:00
Jens Steube
687b4a816d Prepare v3.10 release 2016-08-18 21:03:46 +02:00
philsmd
665e960093
sanity check: do not allow mask files or increment w/ --skip/--limit 2016-08-18 14:39:07 +02:00
philsmd
ed8315ba21
add sanity check to disallow --show and --outfile-autohex-disable 2016-08-18 13:48:59 +02:00
philsmd
0413806a04
skip periodic status updates in stdin+stdout mode to prevent output pollution 2016-08-18 12:05:45 +02:00
philsmd
14677e915f new feature: allow -o to be used in stdout mode 2016-08-18 11:04:23 +02:00
Michael Sprecher
602e392b80
Fixed a bug where some kernels used COMPARE_M_SIMD instead of COMPARE_S_SIMD in singlehash mode 2016-08-17 20:23:25 +02:00
Jens Steube
bdecbbee1a Merge pull request #446 from usernamestaken/master
CRAM_MD5 throws salt length exception when the issue is in the hash
2016-08-17 16:41:15 +02:00
radix
cadafefcc0
update changes.txt 2016-08-17 00:35:40 -05:00
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart 2016-08-02 15:00:58 +02:00
jsteube
8acf5b3879 Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU 2016-07-25 22:54:07 +02:00
jsteube
0154d636bf Slightly increased NVidias rule-processing performance by using generic instructions instead of byte_perm() 2016-07-25 21:51:04 +02:00
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 2016-07-24 22:26:40 +02:00
jsteube
c837df09ae Workaround for OpenCL runtimes which do accept -I parameter in the OpenCL kernel build options, but do not allow quotes 2016-07-21 10:06:31 +02:00
jsteube
2b7e36b042 Output cracked hashes on Windows using \r\n and not \n
Replace RegGetValue() with RegQueryValueEx() to enable Windows XP 32 bit compatibility
This fixes https://github.com/hashcat/hashcat/issues/418
2016-07-17 20:32:47 +02:00
Jens Steube
62390b9cfa Fixed a bug where hashcat reported an invalid password for a zero-length password in LM
Fixes https://github.com/hashcat/hashcat/issues/434
2016-07-15 13:30:25 +02:00
jsteube
e56a4e9c60 Workaround OpenCL runtimes that do not accept -I parameter in the OpenCL kernel build options even if this is an OpenCL standard option 2016-07-11 23:45:25 +02:00
jsteube
e2dbaa6efa Do not error and exit if an OpenCL platform has no devices, just print a warning and continue with the next platform 2016-07-11 17:15:57 +02:00
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
2016-07-10 13:23:06 +02:00
jsteube
3fa2d10914 Allow the use of enc_id == 0 in hash-mode 10600 and 10700 as it takes no part in the actual computation
Fixes https://github.com/hashcat/hashcat/issues/423
2016-07-09 14:35:38 +02:00
jsteube
49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__ 2016-07-08 23:23:16 +02:00
jsteube
96f2ade4bb Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
2016-07-08 23:14:57 +02:00
jsteube
2043338859 Rewrite some code to workaround strict aliasing rule violation for older compilers
Rewrite some variable initializers on older compilers
2016-07-08 22:57:27 +02:00
Jens Steube
5909bbb7b7 Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without 2016-07-08 14:38:57 +02:00
philsmd
a5700bf4ef
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile 2016-07-06 10:05:34 +02:00
philsmd
f326c5de4c Merge remote-tracking branch 'upstream/master'
Conflicts:
	docs/changes.txt
2016-07-05 15:13:45 +02:00
philsmd
067c0b8e83
this fixes #400: --loopback was not working 2016-07-05 15:00:26 +02:00
jsteube
fc2b20b273 Fixed a bug where hashcat crashes in case of a scrypt P setting > 1 2016-07-04 21:13:23 +02:00
jsteube
b58f7a4675 Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down 2016-07-01 13:04:50 +02:00
jsteube
ad00844b26 The Time.Estimated attribute in status display should also show --runtime limit if user set it
This implements https://github.com/hashcat/hashcat/issues/383
2016-07-01 13:01:02 +02:00
jsteube
7b84980e4b Fixed a bug where hashcat did not check the return of realpath() and crashes uncontrolled if the path does not exist
This fixes https://github.com/hashcat/hashcat/issues/399
2016-07-01 11:24:02 +02:00
Jens Steube
3260efbb01 Update changes.txt 2016-06-30 08:48:23 +02:00
jsteube
67a8d97675 Remove old beta notes 2016-06-29 17:36:38 +02:00
jsteube
07acd52ed4 Some optical change on startup 2016-06-19 12:55:03 +02:00
jsteube
e8aefb412c Reenable --gpu-temp-retain (65c by default), now that we have fan set support on Linux and Windows 2016-06-18 21:29:24 +02:00
jsteube
2bd49e6720 Added --gpu-temp-retain support for windows through nvapi 2016-06-18 18:21:40 +02:00
jsteube
9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
jsteube
5542e46022 Added option --stdout to print candidates instead of trying to crack a hash 2016-06-14 21:49:33 +02:00
jsteube
b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password 2016-06-10 09:46:41 +02:00
jsteube
063abab3d6 Remove invalid or too old drivers names 2016-06-07 18:12:07 +02:00
jsteube
d329451cc1 Here it is: --powertune-enable for nvidia -- Works on both linux and windows 2016-06-01 19:01:44 +02:00
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
2016-05-30 00:05:46 +02:00
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
2016-05-28 16:32:45 +02:00
philsmd
15c0995f4e
docs: added more notes about --machine-readable and replaced all changes about --status-automat 2016-05-28 09:42:41 +02:00
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. 2016-05-27 03:50:52 -05:00
jsteube
3a42ab3577 Fix changes 2016-05-22 22:25:15 +02:00
Jens Steube
5d5d1a5843 More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing 2016-05-19 22:37:43 +02:00
Jens Steube
567fcfe176 Enabled support of --status-automat in combination with --benchmark for automated benchmark processing 2016-05-17 10:17:00 +02:00
Jens Steube
c78d7568e6 Add some missing changes 2016-05-13 15:31:58 +02:00
Jens Steube
7a4ab2b42d Prepare for WinZip integration 2016-05-12 09:26:54 +02:00
jsteube
b5a71dca58 Add more informative help text in case of faulty or no OpenCL installation 2016-05-11 11:38:52 +02:00
jsteube
f1515f9244 Moved BUILD.md to root folder 2016-05-10 19:16:57 +02:00
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.
2016-05-10 19:07:07 +02:00
jsteube
16af77af18 Extended password length up to 32 for 7zip 2016-05-08 14:39:44 +02:00
Jens Steube
72e3821a4c Simplify auto-tuning and benchmark routines
Decrease the time it takes to run a benchmark
Removed --benchmark-repeat, it creates no advantage
Fix some wording related to drivers
Dropped special 64-bit rotate() handling for NV
Cleanup SHA384
Cleanup try_run()
2016-05-05 23:21:15 +02:00
Jens Steube
0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
- Dropped static declaration from functions in all kernel to achieve OpenCL 1.1 compatibility
- Added -cl-std=CL1.1 to all kernel build options
- Created environment variable to inform NVidia OpenCL runtime to not create its own kernel cache
- Created environment variable to inform pocl OpenCL runtime to not create its own kernel cache
2016-05-01 23:15:26 +02:00
Jens Steube
c297678536 Restrict loopback option to straight attack-mode 2016-05-01 20:52:20 +02:00
Jens Steube
ef2aba2e44 Update changes.txt; New layout 2016-04-29 23:19:10 +02:00
Jens Steube
1e3d843041 Update readme.txt 2016-04-29 05:28:49 +02:00
Jens Steube
9294aaccae Merge pull request #311 from fgaudreault/master
Adding parser and basic kernels for -m 13500
2016-04-26 20:12:33 +02:00
Francois Gaudreault
5218a6d251 Fix Changes 2016-04-22 19:40:55 -04:00
Francois Gaudreault
f76b9d0013 Adding Tests, fix one compile warning 2016-04-22 19:36:07 -04:00
Jens Steube
aae2f97f2b Add a note about duplicate rules removal 2016-04-22 11:35:00 +02:00
Jens Steube
13b2758084 Added parameter --potfile-path to override default potfile path 2016-04-17 19:14:55 +02:00
Jens Steube
8d34f3f266 Add note about fixed issue #288 in changes.txt 2016-04-17 11:02:31 +02:00
Michael Sprecher
0dcb762a8e
Added new hash mode -m 125 = ArubaOS 2016-04-10 00:58:28 +02:00
Jens Steube
67c1500cc2 Update CHANGES 2016-04-03 15:48:56 +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
philsmd
9b75b245d5 fixed base64_decode () input length validation for -m 8900 2016-03-29 09:49:05 +02: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
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
Fist0urs
efd8c57a9d Updated readme with -m 13200 and 13300 2016-03-02 16:05:44 +01:00
Fist0urs
b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1 2016-03-02 14:35:10 +01:00
Fist0urs
ad17fba9b6 New format -m 13200 AxCrypt 2016-03-01 19:11:13 +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
Jens Steube
e6900d82f6 Add missing changes entry for -m 13100 2016-02-17 08:50:12 +01:00