1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-11 01:08:24 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
jsteube
07acd52ed4 Some optical change on startup 2016-06-19 12:55:03 +02:00
jsteube
9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
Jens Steube
4f0709b3c9 Another slow-hash improvement 2016-06-14 10:18:42 +02:00
jsteube
3c6296801a Prepare for reintegration of nvapi for checking thermal limit 2016-06-02 14:20:15 +02:00
jsteube
9b3d18f87d SIMD for slow hashes prototype 2016-05-01 18:34:59 +02:00
Fist0urs
2ce6fb997d Increase max size of input line to 0x50000 2016-04-18 18:40:13 +02:00
Jens Steube
0fdebf904d Replace BUFSIZ with HCBUFSIZ and move them from stack to heap 2016-03-26 10:37:59 +01:00
magnum
a5be8a75ed Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.
2016-02-18 08:51:45 +01:00
Jens Steube
c0293928dd Prepare for better autotuning capabilities 2016-02-13 16:07:58 +01:00
jsteube
5c01349ba6 Update event handling to workaround event handling error in nvidia opencl runtime 2016-02-11 09:54:50 +01:00
Gabriele 'matrix' Gristina
e2db8afdf8 Add missing pthread_setaffinity_np for osx 2016-02-06 18:00:04 +01:00
Gabriele 'matrix' Gristina
f3407cd7f4 HWMon mod 2016-02-02 01:14:33 +01:00
Gabriele 'matrix' Gristina
d120ede655 Update ADL Library Loader 2016-01-31 23:48:38 +01:00
magnum
ce170ea980 Acquire an exclusive lock before writing to any file. Note that in
some cases we never explicitly unlock a file because fclose will do
it implicitly. Closes #172.
2016-01-29 16:48:19 +01:00
Gabriele 'matrix' Gristina
5bae9de3a3 Implemented OpenCL library loader 2016-01-26 21:40:49 +01:00
Gabriele 'matrix' Gristina
5da79e4411 Added support for build without ADL/NVML/NVAPI (issue #120)
Added support for build OSX native binaries (issue #63)
2016-01-20 20:55:09 +01:00
Jens Steube
63e06f582b Prepare fix for datatypes, not final 2016-01-15 17:16:43 +01:00
Jens Steube
6b4e4c060a Replace typedef for bool with stdbool.h 2016-01-12 18:56:26 +01:00