jsteube
378f852cec
Parameter: Detect and error when users try to use a non-digit where a digit is expected
...
Fixes https://github.com/hashcat/hashcat/issues/1189
2017-03-19 15:11:41 +01:00
jsteube
4e2adc031a
Add some compiler independant integer overflow functions
2017-02-23 10:39:17 +01:00
jsteube
922fea7616
Add more integer overflow checks
2017-02-22 16:33:23 +01:00
jsteube
2d2eadd2f6
Use hc_path_create() for additional write checks on startup
2017-01-28 00:08:12 +01:00
jsteube
17548d3ee8
Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
2017-01-27 11:46:45 +01:00
jsteube
6ece83760d
Add wrapping function for asprintf()
2016-12-24 00:40:40 +01:00
jsteube
316694fd08
Move hc_qsort_r() and hc_bsearch_r() from potfile.c to shared.c - Lets us use them from within all objects
2016-11-16 10:22:57 +01: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
Rosen Penev
a219b95c17
Fix a bunch of warnings
2016-10-30 10:58:14 -07:00
jsteube
b044271b01
Move more status display calculate logic into separate functions
2016-10-17 13:44:07 +02:00
jsteube
42677df2a6
Start context-related logging with goal to get rid of logging.c
2016-10-08 23:16:40 +02:00
jsteube
81650dcc46
Initial proposal
2016-10-07 16:56:44 +02:00
jsteube
a5f842c4b5
Fix some missing sign conversions
2016-09-30 17:41:40 +02:00
jsteube
936655e0ee
Add missing include for windows
2016-09-29 00:25:36 +02:00
jsteube
df23d5b4e9
Move more functions out of hashcat.c
2016-09-28 23:53:46 +02:00
jsteube
59ebe10b07
Move functions from filenames.c to opencl.c and shared.c
2016-09-24 21:44:43 +02:00
jsteube
a70590b0dc
Move sanity check into user_options.c
2016-09-20 17:04:31 +02:00
jsteube
4cde17aea7
Fix race-condition in thread_keypress()
2016-09-20 12:32:39 +02:00
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
ae457c992e
get rid of hc_global_data_t data in shared.c
2016-09-08 14:11:35 +02:00
jsteube
245e2a3e73
shared.c is now clean, ready to cleanup on other sources
2016-09-08 14:05:53 +02:00
jsteube
d9073296e4
Make hc_sleep() a function
2016-09-08 10:48:38 +02:00
jsteube
e3d0cd0bdd
Move more functions out of shared.c
2016-09-08 10:01:49 +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
eb00cd959f
Move TUNING_DB_FILE to tuningdb.h
2016-09-07 22:06:43 +02:00
jsteube
9f416109d9
Fix psapi include for windows
2016-09-07 22:04:04 +02:00
jsteube
a56855e355
Move restore specific functions into their own source file
2016-09-07 22:01:34 +02:00
jsteube
1fc22dba03
Move bitmap specific functions into their own source file
2016-09-07 21:13:53 +02:00
jsteube
25726e4f4e
Remove some (hopefully) redundant macros and compiler options
2016-09-07 20:30:14 +02:00
jsteube
80d7dce9b5
Move more functions out of shared.c
2016-09-07 16:04:42 +02:00
jsteube
8dd57b715b
Create real opencl.c to better distinguish between opencl helper functions and library handling functions
2016-09-07 15:13:50 +02:00
jsteube
f9e1329ca9
Fix CRLF
2016-09-07 12:45:08 +02:00
jsteube
9336ca8838
Remove data. access from pthread_setaffinity_np (apple version)
2016-09-07 11:42:05 +02:00
jsteube
dda89fe610
Add includes to get OSX working
2016-09-07 11:24:21 +02:00
jsteube
3ba5c743f8
Move affinity specific functions into their own source file
2016-09-07 11:16:31 +02:00
Gabriele 'matrix' Gristina
b0c6eee06c
Fix multiple build issues with OSX
2016-09-06 22:25:54 +02:00
jsteube
3ed4bfd237
Move tuningdb specific functions into their own source file
2016-09-06 19:44:27 +02:00
jsteube
b8e47c2ba2
Move locking specific functions into their own source file
2016-09-06 19:08:46 +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
c3fe5b40b1
Move folder specific functions into their own source file
2016-09-06 18:23:26 +02:00
jsteube
1902e6c2eb
Create real cpu_crc32.c and rp_cpu.c
2016-09-06 15:28:56 +02:00
jsteube
0a5759ef1c
Move usage specific functions into their own source file
2016-09-06 14:11:03 +02:00
jsteube
21666f77b7
Move maskprocessor and statusprocessor specific functions into their own source file
2016-09-06 13:52:26 +02:00
jsteube
d15ae38723
Move hwmon specific functions into their own source file
2016-09-06 13:29:50 +02:00
jsteube
5dd5c15966
Move tty_*() specific functions into their own source file
2016-09-06 13:16:38 +02:00
jsteube
eb5e192df5
Move logfile() specific functions into their own source file
2016-09-06 13:05:49 +02:00
jsteube
3dc77ced14
More preparation for easier integration of:
...
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-06 11:49:26 +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
ddfd212513
Fix indents
2016-09-05 12:37:14 +02:00
jsteube
63c17cf2c1
replaced macros with enums and static const char types
...
based on a55052cc66
2016-09-05 12:34:36 +02:00
jsteube
8d661f7c40
replaced macros with enums and static const char types
...
based on 4323b4a70a
2016-09-05 11:41:05 +02:00
jsteube
6eb9e700f9
replaced macros with enums and static const char types
...
based on 75a3ab9d47
2016-09-05 11:14:31 +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
e664139699
Fix missing prototypes
2016-08-30 18:37:16 -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
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
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart
2016-08-02 15:00:58 +02:00
Rosen Penev
37eaafdabf
Fix GCC sign warnings
2016-07-25 23:08:02 -07:00
Jens Steube
f1cd53e335
Globally fix return parameter handling to not use brackets
2016-07-11 14:45:17 +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
Jens Steube
3370820109
Merge pull request #392 from unix-ninja/master
...
Various refactor changes
2016-06-27 18:51:00 +02:00
Unix-Ninja
2188a01ae9
Refactor OSX preprocessor constants to read 'DARWIN'
2016-06-27 08:13:50 -04:00
Jens Steube
e7df9b112a
windows path update
2016-06-25 10:37:24 +02:00
Jens Steube
6d2aa559a6
Windows doesn't accept escape characters, falling back to old method for windows
2016-06-24 21:29:23 +02:00
Jens Steube
268b1e3ad0
Remove workaround with multiple include folders; Instead use a naive escape function
2016-06-24 16:57:20 +02:00
Jens Steube
8298cd4926
Drop -m 190, no reason to keep it
2016-06-23 18:20:55 +02:00
jsteube
4444c17ec6
Speed up startup time for --stdout by using an empty kernel
2016-06-19 14:33:50 +02:00
jsteube
d57ac912cc
Fix https://github.com/hashcat/oclHashcat/issues/374
...
Fix https://github.com/hashcat/oclHashcat/issues/375
2016-06-19 10:08:55 +02:00
jsteube
2bd49e6720
Added --gpu-temp-retain support for windows through nvapi
2016-06-18 18:21:40 +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
jsteube
5542e46022
Added option --stdout to print candidates instead of trying to crack a hash
2016-06-14 21:49:33 +02:00
jsteube
b9eefd9b20
Added new hash-mode 13800 = Windows 8+ phone PIN/Password
2016-06-10 09:46:41 +02:00
jsteube
040bbd416a
More nvapi preparations and display skip reason in benchmark
2016-06-03 11:33:59 +02:00
jsteube
3c6296801a
Prepare for reintegration of nvapi for checking thermal limit
2016-06-02 14:20:15 +02:00
jsteube
d329451cc1
Here it is: --powertune-enable for nvidia -- Works on both linux and windows
2016-06-01 19:01:44 +02:00
jsteube
a23c0c4716
Added a ton of new NVML stuff
2016-06-01 00:57:57 +02:00
jsteube
d89a8a68d6
Finally got rid of NvAPI on Windows, replace with NVML
2016-05-31 22:48:58 +02:00
jsteube
19e36694da
Added support for --gpu-temp-retain for nvidia devices on windows
...
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
2016-05-30 00:05:46 +02:00
jsteube
8ffbeac954
Add NvAPI_GPU_GetPerfDecreaseInfo() -- but i doesn't work, so deactive it
2016-05-29 20:51:52 +02:00
jsteube
72384c1fc3
Add NVML support for PCIE Lanes
2016-05-29 16:54:07 +02:00
Jens Steube
53a4e0cbb7
Add PCI-E Lanes to status display, if available
2016-05-29 15:54:51 +02:00
jsteube
3e4badd9b4
Send a notice to user in case the drivers temperature threshold for slowdown is reached and a performance drop is expected due to throttling
2016-05-29 00:59:24 +02:00
Jens Steube
e97fa06a7a
Added current engine clock and current memory clock to the status display (ADL only atm)
...
Automatically enable AMD powertune in benchmark-mode
2016-05-28 16:32:45 +02:00
jsteube
fd7bc2736d
More vendor related changes
2016-05-26 14:56:42 +02:00
Jens Steube
2899f53a15
Move files from include/ to OpenCL/ if they are used within kernels
...
Rename includes in OpenCL so that it's easier to recognize them as such
2016-05-25 23:04:26 +02:00
Jens Steube
5d5d1a5843
More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing
2016-05-19 22:37:43 +02:00
Jens Steube
9d74f2958d
Added SIMD code for WPA/WPA2
2016-05-14 19:45:51 +02:00
Jens Steube
d0123e63b1
Add WinZip test.pl and test.sh
2016-05-12 22:15:44 +02:00
Jens Steube
7a4ab2b42d
Prepare for WinZip integration
2016-05-12 09:26:54 +02:00
jsteube
e47030ed7d
Prepare to rename project into hashcat
...
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
jsteube
9b3d18f87d
SIMD for slow hashes prototype
2016-05-01 18:34:59 +02:00
Jens Steube
aef8dc2b01
First working version of -m 13500
2016-04-26 22:45:23 +02:00
Jens Steube
9294aaccae
Merge pull request #311 from fgaudreault/master
...
Adding parser and basic kernels for -m 13500
2016-04-26 20:12:33 +02:00
Jens Steube
7cbce12ea7
Add platform vendor_id detection
2016-04-26 13:59:14 +02:00