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

1288 Commits

Author SHA1 Message Date
Rosen Penev
6ecb42b3ea
Run through Clang's readability-inconsistent-declaration-parameter-name 2019-08-03 22:37:38 -07:00
Gabriele Gristina
b54ad7981f update repo and re-apply zip patch 2019-07-29 18:42:50 +02:00
Gabriele Gristina
d0ec5c7b77 move hc_* file functions from shared.c/.h to filehandling.c/.h 2019-07-13 00:20:41 +02:00
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
Add zlib support for loading hashlist/wordlist (v2)
2019-07-10 10:56:06 +02:00
Gabriele Gristina
3d39d2fc91 update all HCFILE vars and related code 2019-07-02 21:30:35 +02:00
Gabriele Gristina
2db6dfcd4e fix HCFILE with potfile BUG and something else related to HCFILE wrong usage 2019-07-02 18:27:36 +02:00
Gabriele Gristina
3161aec3da fix the comments :) 2019-07-01 17:27:08 +02:00
Gabriele Gristina
5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format 2019-07-01 01:30:24 +02:00
Gabriele Gristina
3350b17511 Fix shift in enum vendor_id 2019-06-29 17:52:56 +02:00
Gabriele Gristina
e86cbf426a add workaround for zlib with cygwin build (v2) 2019-06-29 14:46:33 +02:00
Gabriele Gristina
c19404833e removed other comments 2019-06-28 21:21:11 +02:00
Gabriele Gristina
5d3ed3e754 Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments 2019-06-28 17:58:08 +02:00
Gabriele Gristina
c2e634c426 switch is_gzip from short to bool 2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456 No more compress functions, update example.dict.gz, remove some comments 2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c switch almost all FILE ops, potfile is the only missing 2019-06-26 19:06:46 +02:00
Gabriele Gristina
b2529af172 remove original commented code 2019-06-22 15:00:50 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
Jens Steube
3c4cb5c0f8
Merge pull request #2061 from f0cker/brain_all
Brain all
2019-06-18 10:52:56 +02:00
Jens Steube
62d5d2dfbb OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable 2019-06-17 17:35:23 +02:00
Jens Steube
5e0eb288c9 Use __launch_bounds__ in CUDA as replacement for reqd_work_group_size() in OpenCL 2019-06-16 18:01:26 +02:00
f0cker
3bb68e7981 Added brain status (tx/rx) for all devices 2019-06-15 22:46:40 +00:00
Jens Steube
0568c0746a Emulate effect of reqd_work_group_size() in CUDA 2019-06-06 17:49:41 +02:00
Jens Steube
44ecc83d82 Do some CUDA and NVRTC version checks on startup 2019-06-05 10:53:48 +02:00
Jens Steube
1f6c82b6d1 Add hc_cuModuleLoadDataExLog wrapper function for more detailed error logging from CUDA 2019-06-01 07:47:30 +02:00
Jens Steube
034987fa51
Merge pull request #2035 from s3inlc/pkzip-fix-2
Added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-20 11:50:22 +02:00
Jens Steube
f1632b933e Add support to configure hash-mode specific range of number of hashes supported 2019-05-19 14:46:05 +02:00
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel 2019-05-17 15:42:13 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
84b8a1b1eb Suggested changes for pull request
Fixed: Moved descriptions to appropriate location in readme file
Fixed: Changed name of alternate base64 tables to ab64
Fixed: Changed hash category to HASH_CATEGORY_GENERIC_KDF
2019-05-15 07:29:29 +02:00
Jens Steube
ce8a6fde0a Fix status screen current password query 2019-05-14 15:25:36 +02:00
Jens Steube
d378aa7ab9 Show host memory requirement on startup 2019-05-10 16:37:49 +02:00
vlo
23c3e723f7 Implemeted table for alternate base64
Implemented alternate base64 table, removed replacement code in modules.
Fixed: whitespace/indent issues
Fixed: unsigned to signed implicit typecasts
Added new algorithm information to readme.txt and changes.txt
2019-05-09 08:51:21 +02:00
Jens Steube
33028314f0 Add hc_cuCtxSetCacheConfig() 2019-05-09 00:04:05 +02:00
Jens Steube
ec9925f3b1 Warnings self-check and autotune with CUDA 2019-05-04 21:52:00 +02:00
Jens Steube
4df00033d7 Prepare CUDA events 2019-05-04 10:44:03 +02:00
Jens Steube
f2948460c9 Some first kernel invocations 2019-05-04 10:13:43 +02:00
Jens Steube
5ee033673c Disable name mangling in NVRTC's PTX output and more 2019-05-03 15:50:07 +02:00
Jens Steube
503304f36a Add some first CUDA device memory allocations and host buffer copies 2019-05-03 12:07:06 +02:00
Jens Steube
50a6e720ca More OpenCL variables rename 2019-05-02 17:30:46 +02:00
Jens Steube
af8e317cf4 Begin renaming some OpenCL only variables 2019-05-02 17:12:59 +02:00
Jens Steube
a6fa7a2749 Add support for some first CUDA module loader 2019-05-02 14:58:52 +02:00
Jens Steube
456c57a6d0 Set vector width size for CUDA 2019-05-01 18:20:19 +02:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +02:00
Jens Steube
495d89f831 Find alias devices across different backend API's 2019-05-01 07:27:10 +02:00
Jens Steube
6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant 2019-04-30 16:24:13 +02:00
Jens Steube
e3500ff4aa Add CUDA device attributes to -I 2019-04-30 13:38:44 +02:00
Jens Steube
d862458ab5 Begin renaming API specific variables in backend section 2019-04-29 10:21:59 +02:00
Jens Steube
d73c0ac8a9 More CUDA attribute queries 2019-04-28 18:54:26 +02:00
Jens Steube
a415422123 Initialize CUDA devices and some first attribute queries 2019-04-28 14:45:50 +02:00
Jens Steube
06171958ee Add --gpu-architecture to NVRTC build options 2019-04-26 15:10:02 +02:00
Jens Steube
9faba41848 Use nvrtc to compile PTX (resulting PTX not yet used) 2019-04-26 13:28:44 +02:00
Jens Steube
4045e60021 Add nvrtc wrapper for later use 2019-04-26 10:03:16 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +02:00
jsteube
ac4f8e688a Dependencies: Updated OpenCL-Headers to latest version from GitHub master repository
Dependencies: Updated OpenCL function wrapper declarations accordingly to updated OpenCL-Headers
2019-04-20 09:34:13 +02:00
jsteube
92f4ccce93 Increase buffer size for --example-hashes output 2019-04-08 17:36:26 +02:00
jsteube
28437b0ab0 Add NV inline assembly instruction set check on startup 2019-04-08 13:17:13 +02:00
jsteube
3c9d26b161 Add some conditions to make scan-build happy 2019-04-05 13:46:29 +02:00
jsteube
2fab28a6f3 Add some useful converters 2019-04-05 12:19:53 +02:00
jsteube
d7d716f3ab Make it easier to include OpenCL kernels into modules 2019-04-04 20:01:37 +02:00
jsteube
9ced13cc94 Get rid of CONSTSPEC macro in OpenCL kernels 2019-04-04 10:15:34 +02:00
Jens Steube
cf8c815caf
Merge pull request #1975 from Chick3nman/master
Add --status-json flag
2019-04-03 09:18:16 +02:00
jsteube
e5322c8bee Fix --remove handling in -m 16800 and -m 16801 with new outfile format 2019-04-02 18:39:42 +02:00
jsteube
b8d609ba16 WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes 2019-04-02 11:24:22 +02:00
jsteube
c0a31b3239 Prepare potfile specific module_hash_decode and module_hash_encode hooks 2019-04-01 12:32:11 +02:00
jsteube
1c45de4b63 Remove more old GCC diagnostic options 2019-03-31 19:41:28 +02:00
jsteube
d3a3f10fcf Remove some old GCC diagnostic options 2019-03-31 18:06:08 +02:00
jsteube
708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes 2019-03-31 17:39:00 +02:00
jsteube
d80603648e Replace plain_t with void in module_build_plain_postprocess() enables some options 2019-03-30 16:32:11 +01:00
Chick3nman
f434809921 More Prep 2019-03-27 06:15:58 -05:00
Chick3nman
20aa7da205 Fixed typo 2019-03-27 05:39:10 -05:00
Chick3nman
2358220cbe Prepare for --status_json
add option, enum, autocomplete, status function placeholders
2019-03-27 05:09:24 -05:00
Jens Steube
0fb3b3c83e Declare internal functions in OpenCL kernels as static 2019-03-26 11:03:25 +01:00
jsteube
69587c91dd Do not use uint if not needed 2019-03-25 21:57:10 +01:00
jsteube
891a5beef8 Do not use uint if not needed 2019-03-25 21:54:51 +01:00
jsteube
0a8c7fab1c Do not use ulong. It causes the 32 bit compilation to fail 2019-03-25 21:04:21 +01:00
jsteube
6e57028912 Add digest_t to emu_m02501_pure.h for later use 2019-03-25 20:45:00 +01:00
jsteube
2bb594b385 Remove add3() from bitops, replaced with the ones in inc_common.cl 2019-03-25 16:40:39 +01:00
jsteube
5b667d2c01 Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c 2019-03-25 15:54:58 +01:00
jsteube
fb8a9d7c40 Get rid of cpu_sha1.c 2019-03-25 14:08:59 +01:00
jsteube
4e5da084f2 Testfix for osx 2019-03-25 12:35:40 +01:00
jsteube
66d94b06e4 Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version 2019-03-25 12:24:04 +01:00
jsteube
a44bed7549 More preparation for OpenCL emulation mode 2019-03-23 22:13:59 +01:00
jsteube
7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl 2019-03-21 23:00:38 +01:00
jsteube
5ef67a8ab7 Apply previous blowfish optimization for -m 3200 also on -m 9000 and -m 18600 2019-03-18 12:42:47 +01:00
jsteube
42e440611a Fix some broken strict-aliasing rules 2019-03-17 11:09:32 +01:00
jsteube
218322f630 Support for inline VeraCrypt PIM Brute-Force 2019-03-15 21:48:49 +01:00
jsteube
111889d3fc Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100 2019-03-13 19:02:24 +01:00
jsteube
b99d392e78 OpenCL Runtime: Disable OpenCL kernel cache on Apple for Intel CPU (throws CL_BUILD_PROGRAM_FAILURE for no reason) 2019-03-10 10:48:37 +01:00
jsteube
1537fc4e5d Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning) 2019-03-04 10:29:57 +01:00
jsteube
c43ef406a9 Make sure not to abort entire benchmark if a mode was marked as unstable 2019-03-03 20:11:23 +01:00
jsteube
88a051629c Support module specific JiT compiler build options 2019-03-02 11:12:13 +01:00
jsteube
166f908241 Get rid of some old hack and cleanly distinguish between HL_MODE_FILE_PLAIN and HL_MODE_FILE_BINARY 2019-02-25 11:20:22 +01:00
jsteube
540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3 2019-02-24 10:12:48 +01:00
jsteube
0096f1a56b Add generic_salt_encode so we have both function types 2019-02-14 10:52:24 +01:00
jsteube
6f4b72bcd3 Rename parse_and_store_generic_salt to generic_salt_decode 2019-02-14 09:53:29 +01:00
jsteube
bab735b367 Get rid of hash_type variable. This hopefully reduces some confusion for new hashcat kernel developers 2019-02-12 16:02:27 +01:00
jsteube
75f7172cca Prepare remove of hash_type variable 2019-02-12 15:30:42 +01:00
jsteube
dc9c7e4027 Add -m 3710, 3800, 4010, 4110, 4300, 4400, 4500, 4520, 4521, 4522, 4700 module 2019-02-12 13:17:58 +01:00
jsteube
c584fa3646 Add -m 121, 124, 2600, 2611, 2612, 2711 and 3711 module 2019-02-12 12:37:30 +01:00
jsteube
000d6a0039 Add -m 11700, 11750, 11760, 11800, 11850 and 11860 module 2019-02-11 21:05:09 +01:00