Jens Steube
a63aa679d3
Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category
2019-11-26 17:16:18 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
...
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
d71afd6d7a
Prepare new --hook-threads feature
2019-11-02 10:29:34 +01:00
Jens Steube
b197610811
Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT
2019-10-02 14:18:26 +02:00
Rosen Penev
fd8150769d
Add casts where needed in C++ mode
...
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Jens Steube
417a1f6592
Add new hash-mode category 'framework'
2019-08-12 11:25:21 +02:00
Rosen Penev
df618e861e
Run through Clang's performance-type-promotion-in-math-fn
...
Only changed log2 to log2f. Rightly so.
2019-08-03 22:37:38 -07:00
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
...
Removes casts where the type is identical.
2019-08-03 22:37:38 -07:00
Rosen Penev
2f76326c37
Run through Clang's android-cloexec checkers
...
This is mainly useful with SELinux.
2019-08-03 22:37:37 -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
Gabriele Gristina
ea786f715f
avoid logical negation operator
2019-07-02 15:52:17 +02:00
Gabriele Gristina
4b9fdc6b97
try remove warning about unused return value of read
2019-07-01 17:57:44 +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
e86cbf426a
add workaround for zlib with cygwin build (v2)
2019-06-29 14:46:33 +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
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
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
27f130ea90
Kernel Cache: Reactivate OpenCL runtime specific kernel caches
2019-04-13 14:47:41 +02:00
jsteube
3c9d26b161
Add some conditions to make scan-build happy
2019-04-05 13:46:29 +02:00
jsteube
13edc32fb4
Fix some unused variable warnings
2019-04-03 21:53:34 +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
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
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
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
2019-03-21 23:00:38 +01:00
jsteube
85f0516e81
Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode
2019-02-27 09:25:50 +01:00
jsteube
f63762e597
Reenable select_read_timeout and select_write_timeout on windows
2019-02-26 19:54:25 +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
75f7172cca
Prepare remove of hash_type variable
2019-02-12 15:30:42 +01:00
jsteube
9b842e30ab
Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT
2019-02-07 17:05:02 +01:00
jsteube
fc648c02f5
Add -m 2000 module
2019-01-31 15:19:21 +01:00
jsteube
4b9b59a3cb
Add module 5500
2019-01-21 13:28:52 +01:00
jsteube
1e31b3b271
Add -m 14000 module
2019-01-16 19:55:54 +01:00
jsteube
bc1dd699e3
Add -m 1500 module
2019-01-15 11:53:59 +01:00
jsteube
bc22bfee2e
Some cleanup
2019-01-12 15:05:33 +01:00
jsteube
fcfd07ceb2
Move parse_and_store_generic_salt to shared.c
2019-01-10 20:51:38 +01:00
jsteube
5e0dec0d6d
Bring back needed variables
2019-01-09 10:03:41 +01:00
jsteube
77739ec946
Remove unused variable
2019-01-09 10:02:03 +01:00
jsteube
6aa7c9befb
Prepare to make byte swapping more intuitional in encoding/decoding functions
2019-01-08 20:09:55 +01:00
jsteube
ce0e19f185
Compile module as .dll example
2018-12-19 16:18:40 +01:00
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
2018-12-19 16:09:28 +01:00
jsteube
7e1e1d34f8
Use real dlopen() to load the module
2018-12-19 13:43:45 +01:00
Jens Steube
55add7c60e
The goal of this branch to develop a plugin like interface for hashcat kernels.
...
The modification of existing core source files to add new hashcat kernels conflicts with the idea of having private hashcat kernel repositories especially when backporting latest hashcat core changes and new features.
The final outcome of this should be a plugin format that does not require modifications on the core soruce files.
Also convert all existing hash-modes to hashcat modules.
We'll start with dynamic loading the modules at runtime rather than linking them at compile time.
This will require some extra code for different OS types but should beneficial on a long term.
This commit add some first ideas of how such modules could look like, however there's no dynamic loading interface yet.
Next steps will be removing all hash-mode depending special code from source files and move them to the modules.
Finally merge with master.
2018-12-06 14:02:10 +01:00