Jens Steube
a8aece13a2
Merge pull request #2425 from philsmd/secureZIP
...
fixes #2410 : added -m 2300x = SecureZIP
4 years ago
philsmd
416bdd8e47
SecureZIP: use hex_encode () / hex_decode ()
4 years ago
philsmd
e151a72717
huge fwrite/fread problem on windows fixed
4 years ago
philsmd
5df743cb85
fixes #2410 : added -m 2300x = SecureZIP
4 years ago
Jens Steube
6c0dc7493e
Fix modules where salt->salt_buf[] is used but salt->salt_len was not set
4 years ago
Jens Steube
84d3981e7b
Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS
4 years ago
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
...
Add some more generic error messages
4 years ago
philsmd
f382d24dcf
fixes #2365 : NSEC3 dot replace and empty salt/domain fix
4 years ago
philsmd
edfe21b902
fixes #2390 : RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
4 years ago
Jens Steube
9b64a405d1
Fixed cleanup of password candidate buffers on GPU set from autotune in case -n was used
4 years ago
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
...
Allow module_hash_binary_parse to report a fatal error
4 years ago
philsmd
943c57ae5f
luks: remove self-test example hash
4 years ago
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible
4 years ago
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
...
Adding escaping for --status-json
4 years ago
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added
4 years ago
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
4 years ago
Sein Coray
4a0757e251
added escaping to --status-json output
4 years ago
Jens Steube
f9e4dc0db1
Remove sort_by_string(), no longer needed
4 years ago
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Jens Steube
08ea00020a
Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account
4 years ago
philsmd
b7e5216cf1
fixes #2383 : added -m 22700 = MultiBit HD (scrypt)
4 years ago
Jens Steube
33579ae3db
Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly
4 years ago
Jens Steube
c7da6357ff
suppress some handpicked control characters from being printed to console
4 years ago
Jens Steube
d22a9a0978
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Matt Palmer
b25c8d9a5a
Add some more generic error messages
...
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module. It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later). It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
4 years ago
Matt Palmer
b4204d265d
Allow module_hash_binary_parse to report a fatal error
...
If module_hash_binary_parse is completely unable to successfully parse out
any hashes, up until now the output has been
```
Hashfile 'foo': Success
```
which is less than helpful.
This patch allows (but does not require) m_h_binary_parse to report a useful
error response, by returning a negative value. Modules which continue to
return '0 hashes' will get the same less-than-useful behaviour they always
hace.
I've also modified the LUKS module to report a useful error, as a proof of
concept.
Further expansions on this could include:
* Applying similar behaviour to module_hash_binary_count, so it too can
report errors when trying to count hashes. This would require more
co-ordinated change, because m_h_binary_count already uses -1 to indicate
a system error.
* Allow and encourage modules to print their own errors and warnings during
parsing. This would allow for situations where a single hash in a
multi-hash file could be reported as malformed, without having to fail the
whole parse. However, implementing this would, I expect, require modules
to have access to `hashcat_ctx`, which... yeah. Not so straightforward.
4 years ago
Matt Palmer
240d35976a
Fix build warning in DEBUG mode
...
Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
4 years ago
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1)
4 years ago
Jens Steube
1797f3ffa4
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
...
Patch all inconsistent separators in modules
4 years ago
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
...
Fix constant separator when printing IPMI hashes
4 years ago
Jens Steube
26570cdb17
Disable some modules on AMDGPU-Pro driver
4 years ago
Jens Steube
008072eb65
OpenCL Runtime: Added a warning if OpenCL runtime NEO, Beignet, POCL or MESA is detected and skip associated devices (override with --force)
4 years ago
s3inlc
b9d251b76e
fixing all inconsistent hash separators
4 years ago
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes
4 years ago
Jens Steube
e3e31adec3
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
...
fixes #2339 : problem with --hex-salt fixed
4 years ago
philsmd
15eb70152f
fixes #2339 : problem with --hex-salt fixed
4 years ago
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len)
4 years ago
Jens Steube
ddb641b843
Add option to force disable real SHM access to be used from within the module
4 years ago
Jens Steube
82a024d9cb
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
...
fixes #2067 : 40-bit oldoffice false positive problem
4 years ago
Jens Steube
a6cf7caf4a
Extend hashes in -m 7100 to be of length 128 or 256
4 years ago
Jens Steube
81cb508808
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
philsmd
2bc126ac96
fixes #2067 : 40-bit oldoffice false positive problem
4 years ago
Jens Steube
434ad76381
Improve alias device detection to distinguish between Intel CPU and embedded GPU
4 years ago
Jens Steube
119344c084
Mark -m 13100 as unstable on Apple + Iris
4 years ago
Jens Steube
ba7163062d
Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000
4 years ago
Jens Steube
2e8d6854c1
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
2b2a7ede66
OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated
4 years ago
Jens Steube
2712eff3f0
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
d2527d142a
Fixed missing to copy the dictfile to dictfile_padded buffer
4 years ago
Jens Steube
d706f90a75
Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry.
4 years ago
Jens Steube
c0554af987
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
8c3808bad5
Fix NUL filename on windows
4 years ago
Jens Steube
3e4d110fd2
Add stderr redirection the regular way
4 years ago
Jens Steube
125e9ec863
Do not redirect stderr to /dev/null to prevent rocm 3.1 from crashing on debian
4 years ago
Jens Steube
0b0cbab24b
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
5b58cba12e
Use _unroll in -m 5500 for CPU
4 years ago
Jens Steube
2fdb7ded8b
Update self-test hash for -m 1500
4 years ago
Jens Steube
fe12d2bcc6
Merge pull request #2322 from philsmd/master
...
solve $telegram$1 format conflict with JTR
4 years ago
philsmd
7f55f69d7f
solve telegram format conflict with jtr
4 years ago
Jens Steube
8a2a821c03
Allow unroll code in -m 18200 on NV GPU
4 years ago
Jens Steube
aaef45196f
Merge pull request #2315 from xambroz/patch-1
...
Fix debugedit - canonicalization unexpectedly shrank by one character
4 years ago
Jens Steube
ef47811c9d
Rename 23911 to 10901 and populate salt->salt_buf[]
4 years ago
Jens Steube
a18ba9fde6
Merge pull request #2320 from thesubtlety/389-ds
...
Add new module for 389-ds
4 years ago
thesubtlety
4fafca4747
Add new module for 389-ds
4 years ago
Jens Steube
c258aa4111
Reenable SIMD mode for -m 13600
4 years ago
Jens Steube
b627536c45
Fixed missing OPTS_TYPE_COPY_TMPS in -m 1374x and -m 1376x
4 years ago
Jens Steube
f1d4260983
Fix missing hc_unlockfile()
4 years ago
Jens Steube
1da40bf5d8
Fix double close() in hc_fclose()
4 years ago
Jens Steube
f381e1bbf8
Remove force_recompile functionality, doesn't work with cubin anymore
4 years ago
xambroz
6b253c15c6
Fix debugedit - canonicalization unexpectedly shrank by one character
...
Hello,
As some paths in the src/Makefile are containing trailing slash "/", this is causing that during compile time some sources get referenced with double "//" in the path. On RHEL7 this causing issue to debugedit and is reported as error during the RPM package build.
Please consider adding this patch to prevent issue with debugedit on RHEL7
if path during compilation contains // in the reference to the file, the debugedit then reports unexpected difference.
This is the sample error messahe from RHEL7 build:
extracting debug info from /builddir/build/BUILDROOT/hashcat-5.1.0-7.20200220git398e068.el7.x86_64/usr/lib64/libhashcat.so.5.1.0
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
https://download.copr.fedorainfracloud.org/results/rebus/infosec-rebus/epel-7-x86_64/01248605-hashcat/build.log.gz
diff -ru hashcat-398e06878d6e36460bcd00283d847c723a162be3/src/Makefile hashcat-398e06878d6e36460bcd00283d847c723a162be3.new/src/Makefile
Best regards
Michal Ambroz
4 years ago
Jens Steube
4c2ef5993a
Set -m 7000 to OPTS_TYPE_PT_GENERATE_BE mode to slightly improve performance
4 years ago
Jens Steube
669619c1a7
Fixed out-of-boundary write to decrypted[] in DPAPI masterkey file v1 kernel
4 years ago
Jens Steube
f96e35649d
Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance
4 years ago
Jens Steube
3ce3ecedd9
Reenable VeraCrypt on ROCM
4 years ago
Jens Steube
d9473358ef
Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt
4 years ago
Jens Steube
189bbb2661
Fixed buffer overflow in mp_add_cs_buf() function
4 years ago
Jens Steube
9957422191
Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character.
4 years ago
Jens Steube
cd3ca53203
Update ROCM to use _unroll for mode -m 621x
4 years ago
Jens Steube
f946e321a9
Update unroll and unstable configuration for NVIDIA CUDA/OpenCL runtime after unroll whitelisting change
4 years ago
Jens Steube
193aa77cdf
Update unroll and unstable configuration for ROCM OpenCL runtime after unroll whitelisting change
4 years ago
Jens Steube
87b151836d
Update unroll and unstable configuration for AMD-GPU-PRO OpenCL runtime after unroll whitelisting change
4 years ago
Jens Steube
cc3cb66f12
Update unroll and unstable configuration for Intel OpenCL runtime after unroll whitelisting change
4 years ago
Jens Steube
9980389f34
Update unroll and unstable configuration for Apple OpenCL runtime after unroll whitelisting change
4 years ago
Jens Steube
c90d83c3eb
Prepare for UNROLL whitelisting
4 years ago
Jens Steube
ec841fcd1c
Add NO_UNROLL to -m 15900
4 years ago
Jens Steube
20fa2167af
Add NO_UNROLL to -m 13800
4 years ago
Jens Steube
42e7fa1303
Fix buffer overflow in module_hash_encode() in hash-mode 13600
4 years ago
philsmd
b6f40c05d6
Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305
4 years ago
Jens Steube
a06f5f6644
Add support for length 20 in module for -m 7400
4 years ago
Jens Steube
4ed18af14c
Make VeraCrypt PIM configuration mechanism easier to read
4 years ago
philsmd
0c0912d4da
-m 22500: remove unnecessary comment
4 years ago
philsmd
b51273fb0b
Fixes #1538 : Added -m 22500 = MultiBit Classic .key (MD5)
4 years ago
Jens Steube
4788c61dd2
Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA
4 years ago
Jens Steube
17a64f5019
Set a fixed register count maximumfor CUDA kernel. This prevents kernels going out of control and to have negative effects on other kernels from the same source code (For instance 16600)
4 years ago
Jens Steube
633327d8b7
Rewrite Whirlpool hash with 64 bit instructions
4 years ago
Jens Steube
1290b01b3e
Fix KERN_TYPE in --stdout mode
4 years ago
Jens Steube
c40f474c2e
Add special module option to indicate the kernel is using dynamic shared memory
4 years ago