jsteube
b95f491c64
Remove some explicit includes for __APPLE__
2016-09-06 09:48:53 +02:00
jsteube
d44571ff70
Add some explicit includes for __APPLE__
2016-09-06 09:44:33 +02:00
jsteube
0fe3bc5cb9
system #include should go to header
2016-09-06 09:39:44 +02:00
jsteube
e790ae0f95
Fix some calls to strdup() which should by mystrdup()
...
Fix some calls to free() which should by myfree()
2016-09-06 09:22:28 +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 1aafa13e09
2016-09-05 14:12:31 +02:00
jsteube
2216920866
replaced macros with enums and static const char types
...
also had to move COMBINATOR_MODE defenition from inc_hash_constants.h to inc_types.cl to avoid conflicts
based on d57d9245db
2016-09-05 13:52:47 +02:00
jsteube
4366afecee
Initializing u64 value with something 'u' seem to limit it's maximum value to 0xffffffff and then stop. So this broke restore support, as you can see when the restore pointer went > 0xffffffff, also in status view. cc @neheb
2016-09-04 21:57:00 +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
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
edb07bc6c7
Missed a few
2016-08-30 18:19:09 -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
88519f9437
Fix -Wfloat-conversion warnings
2016-08-28 12:44:19 -07:00
neheb
242e1c49d8
Fix for #473
...
__x86__ is not defined under 32-bit MinGW. But WIN32 is. WIN64 for consistency.
2016-08-27 17:45:56 -07:00
Rosen Penev
d666191d67
Sign fixes
2016-08-26 22:27:44 -07:00
Rosen Penev
c495f6a090
Remove unreachable code: break
2016-08-26 22:27:37 -07: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
57ce1fd81e
Add program build info for MP and AMP kernels
2016-08-18 21:59:30 +02:00
jsteube
b22bcd0602
Give better logging, even in production release, in case of a kernel build error
2016-08-18 21:45:07 +02:00
Jens Steube
687b4a816d
Prepare v3.10 release
2016-08-18 21:03:46 +02:00
philsmd
04baf0ee54
added additional forward slash between folder and file (to make sure)
2016-08-18 15:48:44 +02:00
philsmd
ab1005ab1a
fixes #425 : flexible way of searching for CRT_glob.o on linux and cygwin
2016-08-18 15:16:10 +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
58ae741cbd
the actual changes for #461 :)
2016-08-18 12:17:51 +02:00
philsmd
d78deef080
added locking too, just to be save
2016-08-18 11:46:33 +02:00
philsmd
14677e915f
new feature: allow -o to be used in stdout mode
2016-08-18 11:04:23 +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
e30dac2c6e
If a custom char set is undefined, declare it as undefined rather than NULL
2016-08-17 09:30:42 -05:00
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart
2016-08-02 15:00:58 +02:00
radix
494afc0f66
Added Custom.Chars for modes 6, and 7.
2016-07-30 20:39:23 -05:00
radix
817917591e
Had a typo in the output, fixed.
2016-07-30 20:20:46 -05: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
radix
d4dfe58a72
CRAM_MD5 throws salt length exception when the issue is in the hash
2016-07-28 10:38:31 -05:00
Rosen Penev
37eaafdabf
Fix GCC sign warnings
2016-07-25 23:08:02 -07:00
jsteube
8acf5b3879
Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU
2016-07-25 22:54:07 +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
215457d74d
Workaround for OpenCL runtimes which do accept -I parameter in the OpenCL kernel build options, but do not allow quotes
2016-07-23 23:30:42 +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
jsteube
2167df6915
Fix for -I parameter workaround, use chdir () before modifying cpath_real
...
Fixes https://github.com/hashcat/hashcat/issues/432
2016-07-13 11:36:57 +02:00
Jens Steube
752e548f4e
Merge branch 'master' of https://github.com/hashcat/hashcat
2016-07-12 12:02:14 +02:00
Jens Steube
346400f518
Add missing continue
2016-07-12 12:01:55 +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
f1cd53e335
Globally fix return parameter handling to not use brackets
2016-07-11 14:45:17 +02:00