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
jsteube
3c6296801a
Prepare for reintegration of nvapi for checking thermal limit
8 years ago
jsteube
9b3d18f87d
SIMD for slow hashes prototype
9 years ago
Fist0urs
2ce6fb997d
Increase max size of input line to 0x50000
9 years ago
Jens Steube
0fdebf904d
Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
9 years ago
magnum
a5be8a75ed
Allow and support vector-width 16, which is current maximum for
...
OpenCL. Closes #226 .
9 years ago
Jens Steube
c0293928dd
Prepare for better autotuning capabilities
9 years ago
jsteube
5c01349ba6
Update event handling to workaround event handling error in nvidia opencl runtime
9 years ago
Gabriele 'matrix' Gristina
e2db8afdf8
Add missing pthread_setaffinity_np for osx
9 years ago
Gabriele 'matrix' Gristina
f3407cd7f4
HWMon mod
9 years ago
Gabriele 'matrix' Gristina
d120ede655
Update ADL Library Loader
9 years ago