Commit Graph
242 Commits
Author SHA1 Message Date
jsteube 3dc77ced14 More preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-06 11:49:26 +02:00
jsteube 238b3e4401 Test failed, go back to #pragma once 2016-09-06 09:53:40 +02:00
jsteube d86a92f2bf Some test 2016-09-06 09:50:46 +02:00
jsteube 0fe3bc5cb9 system #include should go to header 2016-09-06 09:39:44 +02:00
jsteube 4b79ccd416 Preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-05 21:47:26 +02:00
jsteube ff376ce112 Moved bit operations out of shared.[hc] and created bitops.[hc]
based on https://github.com/hashcat/hashcat/pull/485/commits/1aafa13e09973568ae58e4a539ce1d7772bd7e0b
2016-09-05 14:12:31 +02:00
jsteube d54b399561 add types for windows only in case _BASETSD_H was not set
based on https://github.com/hashcat/hashcat/pull/485/commits/96ea03db72de1f1022de3ae11e0952ad8f9d83e6
2016-09-05 13:07:09 +02:00
jsteube ddfd212513 Fix indents 2016-09-05 12:37:14 +02:00
jsteube 63c17cf2c1 replaced macros with enums and static const char types
based on https://github.com/hashcat/hashcat/pull/485/commits/a55052cc66029a3a5ef76ae4bc1a216f812464f2
2016-09-05 12:34:36 +02:00
jsteube 61d119b068 Remove unused typedefs for windows build
Based on https://github.com/hashcat/hashcat/pull/485/commits/96ea03db72de1f1022de3ae11e0952ad8f9d83e6
2016-09-05 12:30:51 +02:00
jsteube 8d661f7c40 replaced macros with enums and static const char types
based on https://github.com/hashcat/hashcat/pull/485/commits/4323b4a70ad879b1a441449ff96143701647b087
2016-09-05 11:41:05 +02:00
jsteube 6eb9e700f9 replaced macros with enums and static const char types
based on https://github.com/hashcat/hashcat/pull/485/commits/75a3ab9d47bd7d929e08f1f93de4399909743ef7
2016-09-05 11:14:31 +02:00
jsteube d24c200dfe moving macros out of function in cpu-*.c
based on https://github.com/hashcat/hashcat/pull/485/commits/58b728230b666cabf7f5dee445dc3ece34e1068e
2016-09-05 10:27:32 +02:00
Jens Steube a289c37ecf Allow loading of bcrypt hashes with signature $2b$ (February 2014) 2016-09-02 10:03:22 +02:00
Jens Steube 54249835f4 Merge pull request #482 from neheb/master
Fix some more warnings.
2016-09-01 16:53:58 +02:00
Rosen Penev e664139699 Fix missing prototypes 2016-08-30 18:37:16 -07:00
Rosen Penev ed1ad9714d Fix -Wmissing-declarations 2016-08-30 18:13:41 -07: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
Rosen Penev aeee10fbeb Fix -Wundef warnings 2016-08-26 22:27:33 -07:00
Rosen Penev be47aebc24 Avoid float to double promotions 2016-08-26 22:27:30 -07:00
Rosen Penev a0b89951c1 More sign conversion fixes 2016-08-19 15:56:43 -07: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
Michael Sprecher 7593db9483 Added new hash-mode 13900 = OpenCart 2016-08-02 15:00:58 +02:00
radix 004812819f Add Custom.Chars to output window in the case of a user specifying -1, -2, -3, -4. 2016-07-30 20:14:46 -05:00
Rosen Penev 37eaafdabf Fix GCC sign warnings 2016-07-25 23:08:02 -07: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
Jens Steube f1cd53e335 Globally fix return parameter handling to not use brackets 2016-07-11 14:45:17 +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 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
Jens Steube d77c63a12c Merge branch 'master' of https://github.com/hashcat/hashcat 2016-07-08 14:39:15 +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
Nikolai Lifanov 1a3b610601 add tty handling for FreeBSD 2016-07-06 08:42:53 -04:00
Nikolai Lifanov a2663fb93a include the right cl.h on FreeBSD 2016-07-05 15:12:05 -04:00
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.  */
2016-06-29 18:23:08 +02:00
jsteube 8702d0e3e1 Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt 2016-06-28 11:03:04 +02:00
jsteube 4ed8977e48 Dynamic tmp_t length for scrypt 2016-06-27 21:28:48 +02:00
Jens Steube 3370820109 Merge pull request #392 from unix-ninja/master
Various refactor changes
2016-06-27 18:51:00 +02:00
Unix-Ninja d8bb00cf77 Make POSIX limits.h explicit declaration 2016-06-27 08:18:50 -04:00
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN' 2016-06-27 08:13:50 -04:00
jsteube 115c95eb02 Use dedicated variables to control shutdown of parallel threads like keypress and monitoring 2016-06-27 12:13:46 +02:00
jsteube 0e68b2af25 Don't use device_processor_cores for scrypt 2016-06-26 22:59:52 +02:00
jsteube 6191e8bf79 Fix reset to automatic for NvAPI 2016-06-26 20:41:11 +02:00
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
2016-06-26 20:18:46 +02:00
Jens Steube e7df9b112a windows path update 2016-06-25 10:37:24 +02:00
Unix-Ninja fce2363fec Clean end-of-line output usage (not actually POSIX) 2016-06-24 18:08:02 -04:00
Jens Steube 1550b9de07 OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory 2016-06-24 21:40:11 +02:00
Jens Steube 6d2aa559a6 Windows doesn't accept escape characters, falling back to old method for windows 2016-06-24 21:29:23 +02:00
Jens Steube 268b1e3ad0 Remove workaround with multiple include folders; Instead use a naive escape function 2016-06-24 16:57:20 +02:00
Jens Steube 8298cd4926 Drop -m 190, no reason to keep it 2016-06-23 18:20:55 +02:00