1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00
Commit Graph

76 Commits

Author SHA1 Message Date
jsteube
a7a15df911 OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode 2018-02-10 20:44:13 +01:00
philsmd
ef6b20cc30
increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events 2017-11-18 12:18:56 +01:00
Rosen Penev
1fe16d3ee6
Fix clang compile under MSYS2
Clang does not define __WINNT__ under Windows. _WIN32 is the closest thing.
2017-11-04 23:50:00 -07:00
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now 2017-10-04 12:23:37 +02:00
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too 2017-09-29 12:13:29 +02:00
jsteube
f5ee3db5a6 Update cpu rule engine to support passwords up to length 256 2017-08-11 11:15:43 +02:00
jsteube
f70da8a04c Increase salt length for salt of generic hash types
Remove --hex-salt support for non-generic hash types
2017-07-13 11:03:57 +02:00
jsteube
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
jsteube
f7a8e7c54b Multiple changes:
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
2017-06-29 12:19:05 +02:00
jsteube
83455817a7 Working example of password up to length 256 for mode 2100 2017-06-20 17:30:07 +02:00
Jens Steube
5cc3b7807f Test for target Endianness and abort if it's big-endian 2017-04-15 17:33:59 +02:00
Rosen Penev
bbdaf647f3
Add _FORTIFY_SOURCE to check for overflows 2017-03-04 19:11:28 -08:00
Rosen Penev
184d69f574
Adjust version level for the *time_r functions 2017-03-04 18:51:01 -08:00
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
Also miscellaneous fixes here and there.
2017-02-23 15:55:06 -08:00
Rosen Penev
abd7b2bfcc
Simplify common.h a bit. 2017-02-22 14:09:57 -08:00
Jens Steube
9005b66626 Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check 2017-02-07 17:50:02 +01:00
jsteube
83151ec2bb Do not set _GNU_SOURCE if it's set already 2016-12-29 19:13:06 +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
Rosen Penev
96591f3118
Replace ctime with _r variant 2016-12-02 21:32:18 -08:00
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors 2016-11-30 15:14:42 -08:00
Rosen Penev
96783ed7a3 Fix compilation for native Cygwin 2016-11-29 14:10:39 -08:00
jsteube
93adde9d2f * Wrap everything related to *stat() into own functions
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
jsteube
86d62e418e Increase HCBUFSIZ_TINY because some very long hashes can have more than 256 byte. Not an ideal solution 2016-10-29 13:51:32 +02:00
jsteube
97b58b16af Fix some EOL handling 2016-10-25 12:25:53 +02:00
jsteube
0f96c57ead Remove some workarounds to use get rid of unused variable warnings 2016-10-10 09:12:36 +02:00
jsteube
b17d00d873 Added fix for Visual Studio compiler in C mode 2016-10-01 13:42:40 +02:00
jsteube
8dcb587e44 Define NOMINMAX macro to prevent definition min and max macros in stdlib header files 2016-10-01 13:40:09 +02:00
jsteube
339367a8d3 Because of different variants of WIN macrodef define them all 2016-10-01 13:37:09 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
cc740f2cb2 Move PW_DICTMAX to common.h 2016-09-28 11:55:02 +02:00
jsteube
fd72834322 data. no longer required in restore 2016-09-25 01:02:44 +02:00
jsteube
c008b11de3 Make more use of new user_options_t* 2016-09-21 16:07:49 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
b7906f6b93 Move outfile specific functions into their own source file 2016-09-10 17:35:58 +02:00
jsteube
f809937b1e Move more potfile specific functions into their own source file 2016-09-10 11:32:26 +02:00
jsteube
515f22626a Cleanup rp_cpu.c 2016-09-08 14:22:10 +02:00
jsteube
6aee697112 Cleanup some macro values 2016-09-08 12:17:56 +02:00
jsteube
51a059a606 Move status specific functions into their own source file 2016-09-08 09:21:25 +02:00
jsteube
9eb47153d4 Replace all #ifdef with #if defined (...) for convention 2016-09-07 22:29:57 +02:00
jsteube
25726e4f4e Remove some (hopefully) redundant macros and compiler options 2016-09-07 20:30:14 +02:00
jsteube
3ed4bfd237 Move tuningdb specific functions into their own source file 2016-09-06 19:44:27 +02:00
jsteube
e4bf86dcbe Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX 2016-09-06 18:44:05 +02:00
jsteube
1902e6c2eb Create real cpu_crc32.c and rp_cpu.c 2016-09-06 15:28:56 +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
d54b399561 add types for windows only in case _BASETSD_H was not set
based on 96ea03db72
2016-09-05 13:07:09 +02:00
jsteube
61d119b068 Remove unused typedefs for windows build
Based on 96ea03db72
2016-09-05 12:30:51 +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
Nikolai Lifanov
1a3b610601 add tty handling for FreeBSD 2016-07-06 08:42:53 -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