Commit Graph

2510 Commits (a81a56612171bd30f1257647540b912066268461)

Author SHA1 Message Date
unix-ninja 83c78cdf0b Cleanup unused code
6 years ago
philsmd 73ed017daf
stdin: add read timeout checks (abort if no input for a long time)
6 years ago
Jens Steube 5b8a35a118 Fix returncode from hashcat in case --show or --left was used
6 years ago
unix-ninja 37983de4b2 Fix compile warnings in totp_parse_hash()
6 years ago
unix-ninja 3c3b05d1e5 Resolve conflicts
6 years ago
unix-ninja 6cda8f7077 Change TOTP index from 17300 to 18100
6 years ago
unix-ninja 977b560bb4 Add support for TOTP (RFC 6238)
6 years ago
philsmd b1465693a3
fixes #1708: reject invalid masks with only a single ? at the end
6 years ago
R. Yushaev 5c87720acc Add SHA3 and Keccak
6 years ago
Jens Steube 6f8b90a11a Add support for latest OpenCL headers from Khronos
6 years ago
Jens Steube 8452930795 Allow hashfile for -m 16800 to be used with -m 16801
6 years ago
Jens Steube 6afe989bed Fixed the tokenizer configuration in postgres hash parser
6 years ago
Chrjsen 91bab324b3 Fixed spelling error in user_options.c
6 years ago
Jens Steube 1b980cf010 Allow hashfile for -m 16800 to be used with -m 16801
6 years ago
Rosen Penev 77daf05dd0 Add HC_API_CALL to a few functions
6 years ago
Michael Sprecher 1892b842d7
Increased the maximum size of edata2 in Kerberos 5 TGS-REP etype 23
6 years ago
jsteube d6ed195db9 Add -a 1 support for slow candidates mode
6 years ago
jsteube 5f797147fb Link ws2_32 in order to make use of select()
6 years ago
jsteube fd71da8ade Add timeout to fgets() for later use
6 years ago
jsteube 52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
Jens Steube 466ea8eaba Fixed detection of unique ESSID in WPA-PMKID-* parser
6 years ago
philsmd 2933f3320a
outfile check: performance improvement by using binary instead of linear search
6 years ago
Jens Steube a134ea52b3 Fixed a race condition in status view leading to out-of-bound reads
6 years ago
Jens Steube 3e149843ae Fixed detection of unique ESSID in WPA-PMKID-* parser
6 years ago
Jens Steube 4fa970fbf5
Merge pull request #1673 from RAN1/master
6 years ago
Jens Steube 99fbbd4639
Merge pull request #1672 from philsmd/master
6 years ago
RAN1 40cc9b948f hwmon_ctx_init: return on speed_only and progress_only
6 years ago
RAN1 ec1b6442b1 Allow hwmon when temp abort is disabled by refactoring guards when hwmon is not present
6 years ago
philsmd 93216c76a3
outfile check: improve response time when quitting hashcat
6 years ago
Xanadrel 3466e5eb5a
--potfile-path should be File and not Dir in the --help
6 years ago
jsteube a3ee4d7188 Do not allocate memory segments for bitmap tables if we dont need it, for example in benchmark mode
6 years ago
philsmd 0f449b6440
hcstat2: allow to use option --markov-hcstat2 instead of just --markov-hcstat
6 years ago
jsteube 067ffa9d64 Add more tracker for amplifier and iterations to status screen
6 years ago
jsteube 27db8ced7e Add a tracker for salts, amplifier and iterations to status screen
6 years ago
Michael Sprecher e975612f82
Fixed the ciphertext max length in Ansible Vault parser
6 years ago
Michael Sprecher 5536ab9917
Getting rid of OPTS_TYPE_HASH_COPY for Ansible Vault
6 years ago
philsmd 1c49ff39f1
fixes #1654: missing mask in output of --stdout -a 7
6 years ago
Jens Steube ae5c0ef1ba Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
Jens Steube ce9b56e06c Allow bitcoin master key length not be exactly 96 byte a multiple of 16
6 years ago
jsteube a5746548e8 Allow use of hash-mode 7900, 10700 and 13731 on AMD devices after workaround
6 years ago
jsteube dad05d9f69 Testing: Workaround some AMD OpenCL runtime segmentation faults
6 years ago
jsteube 762e5d5cda Go back into development mode
6 years ago
jsteube 4963357fac Update to v4.2.1
6 years ago
jsteube 95b420dfb4 Use special CFLAGS for LZMA compile
6 years ago
jsteube 634dd71384 Remove some suppressed warnings
6 years ago
jsteube afd1efd59c Fixed a buffer overflow in precompute_salt_md5() in case salt was longer than 64 characters
6 years ago
jsteube 9f54c3dd14 Transfer only a few byte should be enough to force the runtime to actually allocate the memory
6 years ago
jsteube 242d991def Fix memleak in memory evaluation
6 years ago
jsteube f9b13035f2 Limit evaluate available memory check to nvidia runtime
6 years ago
jsteube 86fc587182 Be a bit more sensible while try to evaluate available memory
6 years ago
jsteube e67195aa11 Try to evaluate available OpenCL device memory and use this information instead of total available OpenCL device memory for autotune
6 years ago
jsteube 1d7e1ba7e5 Unset PRODUCTION
6 years ago
jsteube 9c0ba3a640 Fix speed report in case --machine-readable is used
6 years ago
jsteube c1edc5d562 Increase max PWS space to 1GB to allow higher -n values for GPU with lots of compute units
6 years ago
Jens Steube 4a856b1149
Merge pull request #1643 from hops/master
6 years ago
Michael Sprecher 3a321c8dce
Added hash-mode 16900 = Ansible Vault
6 years ago
jsteube d11070729b Fix Token Length Exception on NetNTLMv2 hashes
6 years ago
jsteube 39af031ced Fix Token Length Exception on NetNTLMv1 hashes
6 years ago
jsteube bdec457951 TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start
6 years ago
jsteube c1ebfe486f Refactor --progress-only and --speed-only calculation
6 years ago
jsteube cd0923f1b8 General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
6 years ago
Jens Steube 0e2c94c695
Merge pull request #1635 from RAN1/master
6 years ago
RAN1 276538b141 Use only library install path for macOS library
6 years ago
jsteube cc390f200e Fix typo
6 years ago
jsteube b1788a934e Fix missing TOKEN_ATTR_VERIFY_SIGNATURE in phpass_parse_hash()
6 years ago
jsteube 9d43111730 Fix broken hex notation
6 years ago
jsteube 88ebca40b8 Added hash-mode 16800 = WPA-PMKID-PBKDF2
6 years ago
RAN1 5bfdf79ed8 Add macOS library install pathnames
6 years ago
jsteube cc8fa3ee80 Remove TOKEN_ATTR_TERMINATE_STRING from input_tokenizer() and replace with equalivalent code where it's needed
6 years ago
Jens Steube a9b98a2d54
Merge pull request #1634 from magnumripper/master
6 years ago
magnum f5e9f4dc85 Fix a couple of gcc-6 -Wpointer-sign build warnings.
6 years ago
RAN1 fa75e85896 Fix shared install on macOS
6 years ago
Michael Sprecher 07840c9fe3
Fixed a missing check for hashmodes using OPTS_TYPE_PT_UPPER causing the self-test to fail when using combinator- and hybrid-mode
6 years ago
philsmd 2e1845ec11
fixes #1624: increase esalt/nonce buffer to 1024 for -m 11400 = SIP
6 years ago
jsteube 2530f83029 Move LZMA SDK files into separate folder for compiling
6 years ago
jsteube 81f909e229 Prepare for v4.2.0 release
6 years ago
jsteube 34bf28f9d4 Fix __add3 bitops in host code
6 years ago
Jens Steube eb563f5a10 Fix minimum line length for token 3 in saph_sha1_parse_hash()
6 years ago
Jens Steube a33af21642 Fix some output formats after refactorization with input_tokenizer()
6 years ago
jsteube 048298020e All remaining parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 85aef30dff The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 8903adb164 Added OpenCL device utilization to status information in machine readable output
6 years ago
jsteube ed0ac581cd The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 558c2c4aa5 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube a6b52d6faf The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube e1fd84255b Some fixes for seven_zip_parse_hash() using input_tokenizer()
6 years ago
jsteube 230ec5e004 Add TOKEN_ATTR_TERMINATE_STRING feature to input_tokenizer()
6 years ago
jsteube 39418571db The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube cd552eb54d The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 6ee7709d27 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube bc8ed67a11 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 9f4655e131 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 82457d2904 Fixed a missing check for errors on OpenCL device leading to invalid removal of restore file
6 years ago
jsteube 1b30a1d6c7 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube f02e72425b The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 1c121ef79c The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 0820fe4100 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 3bf3ec5bbe Fine tune --progress-only mode output for extreme slow kernels
6 years ago
jsteube dd2511233d Fixed a miscalculation in --progress-only mode output for extreme slow kernels like -m 14800
6 years ago
jsteube 18fed3053a The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 7e18ab05be The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube afd5fa760c The following parser functions have been rewritten to make use of
6 years ago
jsteube 8b2478d744 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 87be2e8cce The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube c6eb269784 The following parser functions have been rewritten to make use of input_tokenizer():
6 years ago
jsteube 06a34bd026 Convert sha1b64s_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube 384fe1ba15 Add support for multiple valid signatures in input_tokenizer()
6 years ago
jsteube 5728933cd2 Convert sha1b64_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube d36e70b598 Convert pstoken_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube ea6fd41c01 Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
jsteube 4991bb85d2 Remove the following obsolete functions and replace them with input_tokenizer():
6 years ago
Jens Steube 07b49c17f8
Merge pull request #1605 from magnumripper/master
6 years ago
jsteube 6817876324 Do not increase output length in parse_and_store_generic_salt() if OPTS_TYPE_ST_ADD80 or similar is used
6 years ago
magnum 35a4972bb3 Mute another macOS -Wpointer-sign warning.
6 years ago
jsteube 319374e917 Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
jsteube 10556b6324 The following parser functions have been rewritten to make use of
6 years ago
Jens Steube 7a408d9824
Merge pull request #1604 from magnumripper/master
6 years ago
jsteube 9196f1ba55 Added rounds_count_length() function to detect optional rounds=
6 years ago
magnum 4e28d85e3e Mute a macOS -Wpointer-sign warning.
6 years ago
jsteube f574cbc88a the following parser functions have been rewritten to make use of
6 years ago
jsteube a2d99c5ac6 Rewrite several *_parse_hash() functions to use parse_and_store_generic_salt()
6 years ago
jsteube 50824a24c6 Rewrite parse_and_store_salt from scratch and rename original to parse_and_store_salt_legacy() for migration phase
6 years ago
jsteube 5f83dd8620 Convert cisco4_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube 2abe8caf24 Convert bcrypt_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube 26dea37c9d TEST CODE: tokenizer function in order to simplify parsing functions
6 years ago
jsteube c902df7d8a Fix some typo
6 years ago
jsteube 32d6b3e10e OpenCL kernels: Add '-pure' prefix to kernel filenames to avoid problems caused by reusing existing hashcat installation folder
6 years ago
jsteube c28fdf7f44 Added hash-mode 16700 = FileVault 2
6 years ago
jsteube c3fc50294f Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it
6 years ago
jsteube 124d10989c Try original NV kernel bytecode cache for faster startup, see how user response is
6 years ago
jsteube 547025ec47 HCCAPX management: Use advanced hints in message_pair stored by hcxtools about endian bitness of replay counter
6 years ago
jsteube 60f2d413e0 Fix missing hexification for chars 0x00 - 0x1f
6 years ago
jsteube b88c956d97 Rule Engine: Add JtR compatible support for hex notations in rule engine
6 years ago
jsteube a8060f4946 Rewritten handling of OpenCL JiT build options to fix warnings with GCC 8
6 years ago
jsteube ce4858f7a3 Rewritten printable_utf8() because the original one throws too many warnings with GCC 8
6 years ago
jsteube 469fece141 OpenCL Kernels: Abort session if kernel self-test failed
6 years ago
Jens Steube fee4cb42cc
Merge pull request #1541 from erpscanteam/master
6 years ago
Jens Steube 88640468df
Merge pull request #1542 from matrix/selftest_warning_fix
6 years ago
philsmd 7d6c0d746c
7-Zip: increase the crc length to parse
6 years ago
Gabriele Gristina 7e2101438c Fix selftest.c warning
6 years ago
Mathieu Geli 4dbc1f4a87 Implement 7701/7801 SAP CODVN half-hashes
6 years ago
Jens Steube f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
6 years ago
magnum a3759d77cf Fix a problem with 'make install' on macOS if user has a GNU sed before
6 years ago
jsteube 63defd1cea Remove unused variable
6 years ago
jsteube 83f07febfc Initial v4.1.1 deverloper mode commit
6 years ago
Jaroslav Škarvada 83ce54a736
Add support for building with system lzma-sdk
6 years ago
jsteube ca1115a1ee No longer need to use 32 threads on second dimension for bitsliced algorithms
6 years ago
Jens Steube 872f82ab8d Get rid of thread limit for bitsliced kernels
6 years ago
Jens Steube 7b165a86a9 Fix LM selftest in -a 0 mode
6 years ago
Jens Steube e79feb0b6f Add more reqd_work_group_size attributes to kernels
6 years ago
Jens Steube 7674c3a556 Revert "Thread limits on bitsliced kernels no longer required"
6 years ago
Jens Steube ba5f23474e Thread limits on bitsliced kernels no longer required
6 years ago
jsteube b8b816eada Fix 64 marker for -m 11300 and -m 15900
6 years ago
Jens Steube aa82d8d34d Re-enable CPU optimizations and some CPU case in thread management
6 years ago
Jens Steube fe321105fe No need to copy empty compression buffers
6 years ago
Jens Steube c7ae5fb7f0 Do not run more run a kernel with more threads than workitems
6 years ago
Jens Steube 07f119c28b Fix -a 7 of fast hashes in optimized mode
6 years ago
philsmd 4fcfa2ac77
max/min password/salt length vs max/min supported lengths by kernel
6 years ago
jsteube dfb95024bc Fix temporary datatype in wpapmk kernels
6 years ago
Jens Steube d965475b28 Replace a missing while() with round_up_multiple_64()
6 years ago
Jens Steube 1af8e29a4b Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
Jens Steube f75accef59 Update -m 2501 selftest hash in order to succeed with new AUX kernels
6 years ago
Jens Steube 6cd6b08229 Other format that base on md5crypt should also use OPTS_TYPE_PREFERED_THREAD
6 years ago
Jens Steube 413ade76fb Add OPTS_TYPE_PREFERED_THREAD flag for -m 500
6 years ago
jsteube 98b20526f4 Fix missing cleanup for new AUX kernels
6 years ago
Jens Steube 7d09ae93f2 Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
Jens Steube 1361651730 Add OPTS_TYPE_PREFERED_THREAD marker
6 years ago
jsteube 8053a05594 Use kernel specific max thread counts for helper kernel, not device specific
6 years ago
jsteube fe4413797e OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
6 years ago
Jens Steube 31da893a40 Enforce 2GB host memory per GPU limit
6 years ago
Jens Steube c9f3ef6dae Fix final comparison in sort_by_dictstat()
6 years ago
jsteube 91e522d094 Add special marker for speed only mode
6 years ago
jsteube 240652a0ff Move speed timer initialization from run_cracker() to run_copy()
6 years ago
jsteube c4f30220a0 OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
6 years ago
Jens Steube d38608b9bc Add get_kernel_preferred_wgs_multiple() for future use
6 years ago
Jens Steube 1f442b5b0c Add get_kernel_local_mem_size() for future use
6 years ago
jsteube ce8f445ebe Fix a few warnings and divide by zero (speed_pos)
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube a7a15df911 OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
6 years ago
Jens Steube fd89cac052 No longer need to warm-up OpenCL device for benchmark with new thread settings
6 years ago
Jens Steube 75c4d09301 CPU threads still work better on a single local work item
6 years ago
Jens Steube fa379074b6 Fixed a logic error in storing temporary progress for slow hashes,leading to invalid speeds in status view
6 years ago
Jens Steube b0ff625844 OpenCL Kernels: Thread-count is switched from native to maximum - as a consequence we assume host memory pool of 2GB per GPU
6 years ago
jsteube 088c45040b Remove some redundant constants
6 years ago
Jens Steube 9b1e66d87c Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube 98abea9a0f Fix one more technical teething trouble with compressor kernels
6 years ago
jsteube 3dcacb5f55 Fix hc_clEnqueueReadBuffer buffer size in gidd_to_pw_t()
6 years ago
jsteube 1c25cf5490 Fix compiler warning about rc variable which shadows a previous local
6 years ago
jsteube bb401c9cec Fixed a missing check for returncode in case hashcat.hcstat2 was not found
6 years ago
jsteube bd9c17e49a Add some missing function declarations
6 years ago
jsteube e59d5fd25e sometimes device_global_mem and device_maxmem_alloc reportedback from the opencl runtime are a bit inaccurate.
6 years ago
jsteube cdc4f3828b Reduce max kernel threads from 256 to 64 in -w 4 to save host and GPU memory
6 years ago
jsteube a3a16f676f OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
6 years ago
jsteube 2f30e5e929 Fixed invalid support for SIMD in -m 400
6 years ago
Jens Steube 665a514977 Use a more conservative mechanic in the last step of the autotune
6 years ago
Jens Steube fb00b528c4 Improve autotune and synchronize results on same OpenCL devices
6 years ago
Jens Steube 3d2c0018fc Limit the maximum OpenCL thread count to 256
6 years ago
jsteube 517062849e Save some space in speed display to avoid line breaks
7 years ago
jsteube 11b18512c7 Terminal: Add workitem settings to status display (can be handy for debugging)
7 years ago