jsteube
f70da8a04c
Increase salt length for salt of generic hash types
...
Remove --hex-salt support for non-generic hash types
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
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
7 years ago
jsteube
83455817a7
Working example of password up to length 256 for mode 2100
7 years ago
Jens Steube
5cc3b7807f
Test for target Endianness and abort if it's big-endian
8 years ago
Rosen Penev
bbdaf647f3
Add _FORTIFY_SOURCE to check for overflows
8 years ago
Rosen Penev
184d69f574
Adjust version level for the *time_r functions
8 years ago
Rosen Penev
4ceb7a1afa
Prefer _WIN to _POSIX for defines.
...
Also miscellaneous fixes here and there.
8 years ago
Rosen Penev
abd7b2bfcc
Simplify common.h a bit.
8 years ago
Jens Steube
9005b66626
Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check
8 years ago
jsteube
83151ec2bb
Do not set _GNU_SOURCE if it's set already
8 years ago
jsteube
1342cf2ce3
Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
8 years ago
Rosen Penev
96591f3118
Replace ctime with _r variant
8 years ago
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
8 years ago
Rosen Penev
96783ed7a3
Fix compilation for native Cygwin
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
jsteube
86d62e418e
Increase HCBUFSIZ_TINY because some very long hashes can have more than 256 byte. Not an ideal solution
8 years ago
jsteube
97b58b16af
Fix some EOL handling
8 years ago
jsteube
0f96c57ead
Remove some workarounds to use get rid of unused variable warnings
8 years ago
jsteube
b17d00d873
Added fix for Visual Studio compiler in C mode
8 years ago
jsteube
8dcb587e44
Define NOMINMAX macro to prevent definition min and max macros in stdlib header files
8 years ago
jsteube
339367a8d3
Because of different variants of WIN macrodef define them all
8 years ago
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
8 years ago
jsteube
cc740f2cb2
Move PW_DICTMAX to common.h
8 years ago
jsteube
fd72834322
data. no longer required in restore
8 years ago
jsteube
c008b11de3
Make more use of new user_options_t*
8 years ago
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
8 years ago
jsteube
b7906f6b93
Move outfile specific functions into their own source file
8 years ago
jsteube
f809937b1e
Move more potfile specific functions into their own source file
8 years ago
jsteube
515f22626a
Cleanup rp_cpu.c
8 years ago
jsteube
6aee697112
Cleanup some macro values
8 years ago
jsteube
51a059a606
Move status specific functions into their own source file
8 years ago
jsteube
9eb47153d4
Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube
25726e4f4e
Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube
3ed4bfd237
Move tuningdb specific functions into their own source file
8 years ago
jsteube
e4bf86dcbe
Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
8 years ago
jsteube
1902e6c2eb
Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube
4b79ccd416
Preparation for easier integration of:
...
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
8 years ago
jsteube
d54b399561
add types for windows only in case _BASETSD_H was not set
...
based on 96ea03db72
8 years ago
jsteube
61d119b068
Remove unused typedefs for windows build
...
Based on 96ea03db72
8 years ago
jsteube
49f693a1c9
Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube
96f2ade4bb
Replace DARWIN macro with __APPLE__
...
As discussed on https://github.com/hashcat/hashcat/pull/409
8 years ago
Nikolai Lifanov
1a3b610601
add tty handling for FreeBSD
8 years ago
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. */
8 years ago
Unix-Ninja
d8bb00cf77
Make POSIX limits.h explicit declaration
8 years ago
Unix-Ninja
2188a01ae9
Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
Jens Steube
1550b9de07
OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
8 years ago
jsteube
07acd52ed4
Some optical change on startup
8 years ago
jsteube
9a970c0955
Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
Jens Steube
4f0709b3c9
Another slow-hash improvement
8 years ago