Commit Graph

608 Commits (ff376ce112281af2d0b2e5d8ef77322b1d3f100f)

Author SHA1 Message Date
Jens Steube 5987029441 Added SIMD code for DCC2
8 years ago
Jens Steube 9d74f2958d Added SIMD code for WPA/WPA2
8 years ago
Jens Steube d0123e63b1 Add WinZip test.pl and test.sh
8 years ago
Jens Steube 0891989404 Fix WinZip multihash
8 years ago
Jens Steube a5ec5d68b8 Change some newline handling and startup infos
8 years ago
Jens Steube 7a4ab2b42d Prepare for WinZip integration
8 years ago
jsteube aefd3b03a3 Use VERSION_TAG only, but uncut
8 years ago
jsteube 77a9377d18 In case the user did not specify --opencl-device-types and the user runs hashcat in a system with only a CPU only he probably want to use that CPU. In such a case, automatically enable CPU device type support, since it's disabled by default.
8 years ago
jsteube b5a71dca58 Add more informative help text in case of faulty or no OpenCL installation
8 years ago
Jens Steube 332c3a7e09 Fix autotune to not actually crack hashes
8 years ago
Jens Steube 3d229b20d4 Remove debugging option from JIT compiler option
8 years ago
jsteube e47030ed7d Prepare to rename project into hashcat
8 years ago
jsteube c79bed3b7d Prepare for a more dynamic #pragma unroll use
8 years ago
jsteube a0221cd368 Fix broken -m 1500 and -m 3000
8 years ago
jsteube 6dac6b409e Add compiler kernel hints for algorithms with fixed workgroup size
8 years ago
jsteube 16af77af18 Extended password length up to 32 for 7zip
8 years ago
jsteube b877c84486 Run a few device compatibility checks on startup
8 years ago
jsteube b91506c1c7 Check if device is little endian device
8 years ago
jsteube 41e2d7247a Update autotune, respect kernel_loops_max
8 years ago
jsteube da4090cca3 Fix pocl version string
8 years ago
jsteube 006f5252b7 Optimize a few modes for hashcat_tuning.hctab for budget NV cards
8 years ago
Jens Steube 01f566451c Check both kernel_accel and kernel_loops for some minimum value
8 years ago
Jens Steube 50a7638e7b Aim for -n 64 in autotune
8 years ago
Jens Steube 72e3821a4c Simplify auto-tuning and benchmark routines
8 years ago
Jens Steube fc89a04737 Update to better scrypt tmto defaults
8 years ago
Jens Steube 29a0eab0b3 Remove pocl warning, add catalyst warning
8 years ago
jsteube cd08fa5f8c Limit kernel_threads on CPU
8 years ago
jsteube 241a8c8485 Fix scrypt handling
8 years ago
Jens Steube 8316210233 Unlock kernel_threads > 64
8 years ago
jsteube 54df10b36d improved autotune engine
8 years ago
Jens Steube 0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
8 years ago
Jens Steube c297678536 Restrict loopback option to straight attack-mode
8 years ago
jsteube 9b3d18f87d SIMD for slow hashes prototype
8 years ago
Jens Steube abce366d00 Fixed -m 13500 kernels and tests
8 years ago
Jens Steube aef8dc2b01 First working version of -m 13500
8 years ago
Jens Steube 9294aaccae Merge pull request #311 from fgaudreault/master
8 years ago
Jens Steube 7cbce12ea7 Add platform vendor_id detection
8 years ago
Martin Lemay d9889727e6 Removed SHA1 optimization.
8 years ago
Martin Lemay a1aef652c2 Fixed snprintf.
8 years ago
Francois Gaudreault 96e60bfb05 Fixing minor definitions.
8 years ago
jsteube 082b1504b1 Initial MESA support, needs more fixes
8 years ago
Jens Steube dcbf665313 Use a more optimal salt value for descrypt benchmark
8 years ago
Jens Steube 42c83df959 Fix for 0H/s issue on different algorithms
8 years ago
Jens Steube 96ef261326 Increase benchmark accuracy by using a result based on the last meassured speed after benchmark values changed by less than 0.1% after kernel repeats
8 years ago
Martin Lemay 89ebc48942 Fixed snprintf cast warnings
8 years ago
Francois Gaudreault f76b9d0013 Adding Tests, fix one compile warning
8 years ago
Martin Lemay 39445340ae Minor adj. and sanity check on pstoken_parse_hash().
8 years ago
Martin Lemay f0535b1a52 ascii_digest additions.
8 years ago
Martin Lemay 1c8368d1cd changed to OPTS_TYPE_PT_ADD80
8 years ago
Martin Lemay ac35ab8111 esalt hex convertion.
8 years ago
Martin Lemay 8cf6607c87 Refactored 134 to 13500. Added esalt struct
8 years ago
Francois Gaudreault 2df81367df Adding parser and basic kernels for -m 134
8 years ago
Jens Steube 37c40dcfb4 Accept \r as newline in thread_keypress()
8 years ago
Jens Steube 6fcf58e106 Fix for https://github.com/hashcat/oclHashcat/issues/302
8 years ago
Jens Steube 13b2758084 Added parameter --potfile-path to override default potfile path
8 years ago
Jens Steube 63ba540f2b Add some additional information to error-text in read_restore()
8 years ago
Jens Steube e6b9071b52 Cleanup -m 9800 kernels to latest standard
8 years ago
Jens Steube fb6dec55af Small fix related to 3cd83a4ab9
8 years ago
Jens Steube 1bc9e3ec85 Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
8 years ago
Jens Steube 0f73c778d5 Optimized -m 8300 (DNSSEC) cracking performance in -a 3 mode
8 years ago
Michael Sprecher 0dcb762a8e
Added new hash mode -m 125 = ArubaOS
8 years ago
Fist0urs 34b8d89422 Added support of keyfiles within Keepass 1.x and Keepass 2.x
8 years ago
jsteube 5f05fbf103 Prevent NV OpenCL runtime to cache kernels to ~/.nv by using an undocumented environment variable CUDA_CACHE_DISABLE
8 years ago
Jens Steube 09e971c938 Use a fixed path for the potfile rather than session depending
8 years ago
Jens Steube 2b6fc52c72 Merge pull request #286 from Fist0urs/Keepass
8 years ago
Jens Steube 32fff7cd13 Merge pull request #285 from philsmd/pr-keepass-parser-fix
8 years ago
Fist0urs a027805608 -m 13400 add missing 'break;' statement
8 years ago
philsmd 9ea2f5fef1 fixed some parser checks for new keepass format (-m 13400)
8 years ago
philsmd b3dfd7057e fixed -m 10200 = Cram MD5 parser: check for NULL pointers ASAP, check base64 input length
8 years ago
Fist0urs c7cb30167f Cosmetic change: add newline to --help
8 years ago
Fist0urs 52b17a602f New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
8 years ago
Jens Steube d0e7ee6824 Merge pull request #281 from philsmd/master
8 years ago
Jens Steube 88fafeb928 Synchronize maximum output line size with input line size
8 years ago
philsmd 9b75b245d5 fixed base64_decode () input length validation for -m 8900
8 years ago
Jens Steube 027631bdc8 Eventual patch for issue https://github.com/hashcat/oclHashcat/issues/279
8 years ago
Jens Steube 0fdebf904d Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
8 years ago
philsmd 9a135de1c1 fixed problem with -m 5600 = NetNTLMv2 parser
8 years ago
philsmd e7e5333d23 fixed -m 5500 parser, avoid strange crashes
8 years ago
philsmd e179c53f19 fixed some parser checks to avoid crashes (-m 5300/5400)
8 years ago
philsmd 5174de48c9 fixed -m 133 = PeopleSoft (-a 0/-a 1 problem only) + added to test.sh
8 years ago
philsmd 3c2f8fb88b added some checks to the -m 1711 = SSHA-512(Base64), LDAP {SSHA512} parser
8 years ago
Jens Steube 5d886658da Merge pull request #270 from philsmd/pr-hlfmt-hash-len-check
8 years ago
philsmd 1699057516 show a warning if hlfmt_hash () fails
8 years ago
philsmd b76495e0f5 also add check for NULL pointers
8 years ago
philsmd 27ef5885f4 added check for hash_len after calls to hlfmt_hash ()
8 years ago
philsmd bc965c9c9b fixed checks in -m 500 parser
8 years ago
philsmd b755e5b6f3 added some checks to the -m 111 = nsldaps, SSHA-1(Base64), Netscape LDAP SSHA parser
8 years ago
Jens Steube d7f8b356ef Fix for #265: hashcat_tuning.hctab wasn't installed automatically
8 years ago
philsmd 8634bde118 added additional check for max. ESSID length to prevent eventual crashes
8 years ago
philsmd 3c1e05aaf3 #234: increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
8 years ago
Jens Steube 536f9c955e Merge pull request #257 from philsmd/master
8 years ago
Jens Steube e71313b871 Fix invalid progress value and ETA in case of cracked salts
8 years ago
philsmd 73f897193e show autotuned kernel accel and kernel loop values only when debugging
8 years ago
Jens Steube 4709550a57 Merge pull request #256 from philsmd/pr-cl-debug-buildlog
8 years ago
philsmd 01a7adc12a show build log whenever 'make DEBUG > 0' is set
8 years ago
Jens Steube 55cadb6834 Fix broken -m 1500 and -m 3000 in -a 3 mode
8 years ago
philsmd 6636cc144d #245: Makefile DEBUG fix
8 years ago
Fist0urs b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1
8 years ago
Fist0urs 9811a21098 -m 13100 Fix overflow in input hash parsing
8 years ago
Fist0urs ad17fba9b6 New format -m 13200 AxCrypt
8 years ago
philsmd 93a134e9b6 cast to uint is required with some gcc versions, otherwise we get a shift-negative-value warning
8 years ago
philsmd 0ea05ab292 minor: reformatting of recently changed code + use uint instead of unsigned int
8 years ago
philsmd 2ea295171c this fixes the beta issue #163 (-d and --opencl-platforms not within valid range)
8 years ago
Jens Steube 31ee4e67d1 Merge pull request #237 from gpuhash/master
8 years ago
Jens Steube 531f72c905 Fix this evil bug, pw->i is u32, not u8
8 years ago
gpuhash 541f231c23 Minor bugfix
8 years ago
gpuhash d56394c849 Fairly strict stamping of WPA salt components
8 years ago
Jens Steube 8c89ef0490 Ensure a minimum length for password candidates in autotune
8 years ago
Jens Steube 2236bb972c We still need on initial testrun in autotune
8 years ago
Jens Steube 01c847ba94 Do not use values that can actually crack a hash in autotune
8 years ago
Jens Steube 75c6d28a5f Fix missing memset after previous fix
8 years ago
Jens Steube efad2bafac Evil Bug: Because of not-zeroing a buffer it's possible a hash was cracked but not reported as cracked because it was not in scope, but when it was in scope it was already marked as cracked and therefore not reported
8 years ago
Jens Steube 61f87b2981 Try to load libOpenCL.so.1 if libOpenCL.so was not found
8 years ago
Jens Steube f9834f3dfa Zero pws_buf before reuse
8 years ago
Jens Steube e6e5005a6b Revert "Zero pws_buf before reuse"
8 years ago
Jens Steube b409e5e9e1 Zero pws_buf before reuse
8 years ago
Jens Steube 6c10ca5853 Fix use of find_kernel_power_div()
8 years ago
Jens Steube 6bc98368ba Get rid of old pw_cache mechanism to control host-based vector data-types
8 years ago
Jens Steube ec869595d1 Add auto-append for 0x01 and 0x80 in ATTACK_MODE_HYBRID2
8 years ago
Jens Steube bb732686b1 Autotune should respect --quiet parameter
8 years ago
Jens Steube 9a128ce667 Fix force_jit_compilation usage
8 years ago
Jens Steube 7190dcf855 Prepare NEW_SIMD_MODE for -a 1 kernels
8 years ago
Jens Steube 990f973c48 Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
8 years ago
Fist0urs 62bed36638 Add verification of checksum for -m 13100
8 years ago
Jens Steube 96bde85378 Allow mixed settings auto and fixed values for parameter and inside tuningdb for loops and accel
8 years ago
Jens Steube 14fe45b1f0 Simplify steps for autotune
8 years ago
Jens Steube a83622faaf Fix final autotune balancing
8 years ago
Jens Steube f05944395a Move fake word generation to try_run() to avoid unwanted caching
8 years ago
magnum a5be8a75ed Allow and support vector-width 16, which is current maximum for
8 years ago
magnum 998605ef89 Simplify code. No change in functionality at all.
8 years ago
philsmd 8298afa462 minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)
9 years ago
Fist0urs c3dabdd69e Initial commit
9 years ago
Jens Steube 4bc02e5ac8 Replace OpenCL event's with own timers, this saves us a thread-pair spawned on nvidia's OpenCL runtime and doesn't affect others
9 years ago
Jens Steube c44b50c2e2 Use CL_DEVICE_NATIVE_VECTOR_WIDTH_* instead of CL_DEVICE_PREFERRED_VECTOR_WIDTH_*
9 years ago
Jens Steube 1af0f9c67b Fix autotune in -i mode
9 years ago
jsteube bbadabe278 Fix another source of 0H/s in benchmark mode
9 years ago
Jens Steube 0cbe2347cd Merge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod
9 years ago
Jens Steube 709f79a7da Add option to repeat the kernel on the device NUM times to increase benchmark accuracy
9 years ago
Jens Steube eaf7a7cb2f Final balance meassurements for autotune
9 years ago
Jens Steube a9e3ef0576 In benchmark-mode, do not depend any longer on a fixed time, better use a single iteration instead
9 years ago
Jens Steube 8af57d55f4 Disable GPU-Temp monitoring during benchmark
9 years ago
jsteube f1e0cd6d56 Autotune: 200 loops should be fine for a start
9 years ago
Jens Steube 515385c57d Add dedicated steps for loops and accel
9 years ago
Jens Steube 72e0553e44 Fixed a missing condition
9 years ago
Jens Steube c09bc848f7 Autotuning engine prototype
9 years ago
Jens Steube c0293928dd Prepare for better autotuning capabilities
9 years ago
Gabriele 'matrix' Gristina 2a1d0d21ff Get rid of hc_clEnqueueNDRangeKernel double call
9 years ago
Gabriele 'matrix' Gristina c97dbf56cb Fix bug in weak_hash_check(), wrong kernel_loops assigned
9 years ago
Jens Steube 2dfe9200d6 Remove Wordload-Profiles from tuningdb, we can simply calculate it
9 years ago
Jens Steube 10dc25f807 Merge pull request #217 from magnumripper/master
9 years ago
jsteube 5c01349ba6 Update event handling to workaround event handling error in nvidia opencl runtime
9 years ago
magnum 162bc25a3d Use device's preferred vector width, not the native one. Also, don't
9 years ago
Gabriele 'Matrix' Gristina 20ee62e196 Revert "Use per-device timer resolution in total_time calculations"
9 years ago
Jens Steube 02ad834c7f Added new concept of a tuning database; tryout phase
9 years ago
Jens Steube 8d85b7539d Fixed a bug in line counter: Conditional jump or move depends on uninitialised value
9 years ago
Jens Steube e80541d6dd Check for allocatable device-memory depending on kernel_accel amplifier before trying to allocate
9 years ago
Gabriele 'matrix' Gristina 523a7bfe93 Use CL_DEVICE_PROFILING_TIMER_RESOLUTION per-device value in total_time calculations
9 years ago
Jens Steube 9fc360e39d Added the execution time of the running kernel to the status display
9 years ago
Gabriele 'matrix' Gristina 74be8e2e25 skip device if buildProgram() fail
9 years ago
Jens Steube 6d37c123a5 Merge branch 'master' of https://github.com/hashcat/oclHashcat
9 years ago
Jens Steube ab5ecd8eaa Fix some updated buffer sizes and new optimizer descriptions
9 years ago
Jens Steube 952c20e0f8 Merge pull request #211 from gm4tr1x/issue150
9 years ago
Gabriele 'matrix' Gristina 91fae7e49a Fixed bug in 8900 (probably relate with issue #150)
9 years ago
Gabriele 'matrix' Gristina e2db8afdf8 Add missing pthread_setaffinity_np for osx
9 years ago
Gabriele 'matrix' Gristina 5953130062 Fix clEnqueueNDRangeKernel() error -54
9 years ago
Jens Steube 8650212b80 Remove Workload display in benchmark, remove unused variable
9 years ago
Jens Steube fa0e6fb78e Merge pull request #204 from gm4tr1x/LoopAccelMod
9 years ago
Gabriele 'matrix' Gristina fa7465aa86 gpu loops/accel per-device
9 years ago
Jens Steube 22834781f5 Hack in NvAPI_GPU_GetCoolerSettings(); Enables query fanspeed in percentage on windows
9 years ago
Jens Steube 6c5938201b Revert "Merge pull request #202 from magnumripper/master"
9 years ago
magnum 947a927ed2 Do not silently ignore -w2 for -b. Closes #201.
9 years ago
magnum 68dbaa6f8a Bugfix: putenv(3) was used with a stack variable, that's a no-no.
9 years ago
Gabriele 'matrix' Gristina 89e5ed2574 handling possible clEnqueueFillBuffer not found in opencl lib
9 years ago
Jens Steube 2381af313d Some cleanups
9 years ago
Jens Steube 4d2be9073e Consolidate hardware monitoring interface status on startup
9 years ago
Gabriele 'matrix' Gristina 74db620d51 Add missing memset and update ext_nvapi.c header
9 years ago
Jens Steube e01038083c Update Makefile and BUILD.md
9 years ago
Gabriele 'matrix' Gristina e67eec1ae0 get rid of nvidia nvapi static linking
9 years ago
Gabriele 'matrix' Gristina f3407cd7f4 HWMon mod
9 years ago
Gabriele 'matrix' Gristina 88087295b3 Removed deprecated and unused ADL function (ADL_DisplayEnable_Set)
9 years ago
Jens Steube f256363448 Merge pull request #190 from gm4tr1x/fixLoopsAccelV3
9 years ago
Jens Steube 102dee00eb Merge pull request #192 from gm4tr1x/ADL_LibraryLoader
9 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
9 years ago
jsteube d0d3507dc2 Fix TI series detection
9 years ago
jsteube 21525b74e1 Remove more unnecessary libOpenCL*.a related stuff
9 years ago
Gabriele 'matrix' Gristina b542d4a431 Fixed loops/accel for 6800, 11300 and 11600 (osx)
9 years ago
Gabriele 'matrix' Gristina dcb4888dd5 Remove unnecessary libOpenCL*.a from Makefile
9 years ago
Jens Steube 55d4904dd3 Merge pull request #185 from gm4tr1x/fixLoopsAccelv2
9 years ago
Gabriele 'matrix' Gristina 53faf6a24a Fixed some gpu loops/accel settings
9 years ago
Gabriele 'matrix' Gristina 0a907fc210 Fixed typo in help
9 years ago
Gabriele 'matrix' Gristina 0f0984fe86 Fixed all gpu code (see PR #179 for details)
9 years ago
Jens Steube 9aea991424 Use a rc for first result, easier to read
9 years ago
Gabriele 'matrix' Gristina f9598f691d Fixed CL_INVALID_WORK_GROUP_SIZE error with Apple CPU
9 years ago
Gabriele 'matrix' Gristina d147d89f5e cleanup unnecessary clGetProgramBuildInfo code
9 years ago
Gabriele 'matrix' Gristina 5d4160dc8c Fixed gcc warnings about missing field initializers
9 years ago
Jens Steube 2c4ad77275 Some systems don't like using the same buffer for both input and output at the same time with snprintf()
9 years ago
magnum ce170ea980 Acquire an exclusive lock before writing to any file. Note that in
9 years ago
Gabriele 'matrix' Gristina ebd28553a5 Handling clBuildProgram failure (show build log on errors)
9 years ago
Gabriele 'matrix' Gristina 3952fa7e06 Updated gpu accel for -m 6211 and default runtime value to 8
9 years ago
Jens Steube bfe3f148d7 As long as we depend on NVAPI for windows we also need to add a path to its includes
9 years ago
Gabriele 'matrix' Gristina 9eefb4bcd7 Fixed get_profile_dir and get_session_dir byte missing bug
9 years ago
Jens Steube 2232b1632e Merge pull request #169 from magnumripper/onetwenty
9 years ago
Jens Steube af7ff57b3d Merge pull request #168 from magnumripper/onesixfour
9 years ago
Jens Steube 98ec1bcee7 Merge pull request #156 from gm4tr1x/master
9 years ago
magnum 115d2b6a5a Drop dependencies on non-distributable ADL/NVML headers. The needed glue
9 years ago
Jens Steube cae457df0c Merge pull request #167 from gm4tr1x/issue84
9 years ago
magnum f5d6f9b6d4 Do not create a kernel cache file if build failed. Also disregard any
9 years ago
Jens Steube 9ec2c86cd0 Merge pull request #165 from gm4tr1x/gcc-warnings
9 years ago
Gabriele 'matrix' Gristina b7d3a7c5bc Fixed gcc warnings
9 years ago
Gabriele 'matrix' Gristina 5bae9de3a3 Implemented OpenCL library loader
9 years ago
Gabriele 'matrix' Gristina 6ba392c0df Modified as @jsteube request
9 years ago
Gabriele 'matrix' Gristina 1124687270 OpenCL runtime environment is no longer required with --keyspace option
9 years ago
Gabriele 'matrix' Gristina dcc4b5a60f Added custom OSX kernel loops and gpu accel default values
9 years ago
Gabriele 'matrix' Gristina 479327fc20 Re-enable gpu-temp-disable argument for osx build
9 years ago
Gabriele 'matrix' Gristina 58359f3b7e Fixed 'buf' initialization for windows
9 years ago
Jens Steube 0997ae029e Remove NO-BREAK SPACE character (utf8) from sources
9 years ago
Jens Steube 9c89b58f76 Merge pull request #153 from gm4tr1x/missingcheck
9 years ago
Jens Steube d275748c7c Merge pull request #152 from gm4tr1x/buf
9 years ago
Gabriele 'matrix' Gristina 17d885ffa4 Added missing check for in_len in _old_apply_rule function
9 years ago
Gabriele 'matrix' Gristina 8674959a93 @philsmd suggestion (PR #152)
9 years ago
Gabriele 'matrix' Gristina 3abacf515c Optimized memset calls and also some initializations
9 years ago
Gabriele 'matrix' Gristina 8d891ef0ba Avoid sprintf
9 years ago
Jens Steube 20b0c23af1 Merge pull request #146 from gm4tr1x/master
9 years ago
Jens Steube 1d3795a3ab Converted _a3 kernels, use SIMD for CPU and GPU
9 years ago
Gabriele 'matrix' Gristina 076597fe01 Fixed some memory allocations and other small things
9 years ago
Jens Steube 4c0e520fd8 Test convert for -m 1000 with -a 0 for SIMD, speed is now on par or faster than hashcat
9 years ago
Jens Steube add18eaa6d Fix for last commit
9 years ago
Jens Steube bfc4495bd3 Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138
9 years ago
Gabriele 'matrix' Gristina 5da79e4411 Added support for build without ADL/NVML/NVAPI (issue #120)
9 years ago
philsmd 751a364125 #137: fixes padding for base64_encode () and base64_decode()
9 years ago
philsmd e1ae2538c6 cosmetic fix: some fixed typos e.g. to -> too
9 years ago
philsmd 5e92020180 buffer overflow fix for -m 8900 = scrypt
9 years ago
Jens Steube a62b7ed06e Upgrade kernel to support dynamic local work sizes
9 years ago
Jens Steube 44b0cb4e65 Merge pull request #135 from gm4tr1x/master
9 years ago
jsteube e3c0c80b6f Prepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and other hopefully stay unaffected
9 years ago
Gabriele 'matrix' Gristina 29636ca0a3 Re-fix ascii_digest
9 years ago
Gabriele 'matrix' Gristina e9bc4caed3 Fixed a buffer overflow in ascii_digest for hash type 8300
9 years ago
Jens Steube 45431d9201 Fixed a buffer overflow in potfile handling
9 years ago
jsteube 471c10c4f7 Make sure to spawn threads for all devices, even skipped, and then instantly return
9 years ago
jsteube 954be23a12 Fix some code formating
9 years ago
Jens Steube b9c61eb66f Merge pull request #134 from yhfudev/add-cl-error-messages
9 years ago
jsteube 0524e78617 Enable forced JIT compilation for MD5, if requested
9 years ago
jsteube 09de56b720 Make sure to select an active device for weak_hash_check
9 years ago
Jens Steube 36251e1fe5 Merge pull request #132 from neheb/master
9 years ago
yhfudev edc6c920a9 human-readable error message for the OpenCL error codes.
9 years ago
jsteube 9fb506f15f Fixed out of bounds access in -m 11300
9 years ago
Mangix 54c7c23ad4 Remove some memsets
9 years ago
Jens Steube bc24e3d79b Add bitness to filename for cached kernels, otherwise a user would load a 32 bit kernel with a 64 bit host binary in case he used the 32 bit binary before which leads to a segfault
9 years ago
Jens Steube 98b1a9370c Fix AMD OpenCL runtime bug in clGetProgramInfo()
9 years ago
Jens Steube b35d2dd2eb Fix native compiler
9 years ago
Jens Steube 05505030b8 Fix CFLAGS
9 years ago
jsteube 5ae5a4bc25 Reorder device mapping
9 years ago
Jens Steube 63e06f582b Prepare fix for datatypes, not final
9 years ago
Jens Steube 2e61685f48 Fix outputting wrong password for weak-hash-check in case user defined -r or -g
9 years ago
Jens Steube ed91e69ae3 Fix out of bounds access in -m 7500
9 years ago
Jens Steube f3b85a6363 Fix some clang compiler warnings
9 years ago
jsteube 76612ac031 Fix more missing casts to uint in rule-engine
9 years ago
jsteube 497b41fee4 Fix more missing casts to uint
9 years ago
jsteube d3981ee66a Fix missing cast to uint
9 years ago
Jens Steube 7bfee268d4 Fixed some heap buffer overflow
9 years ago
Jens Steube 245301c9b4 Started optimizing some of the OpenCL kernel for latest AMD Catalyst 15.12:
9 years ago
Jens Steube 24b5aa6226 Merge pull request #128 from philsmd/pr-set-iter-for-dcc2
9 years ago
philsmd cbe6be9246 set default iteration count for -m 2100 = DCC2 to 10240
9 years ago
philsmd 88cbb45ca5 add skipped devices to the --benchmark output
9 years ago
philsmd 7b53ccab70 minor: remove quiet_sav, was just intended for debugging
9 years ago
Jens Steube 49d0767aa8 Run weak-hash checks only in straight-attack mode, this greatly reduces code complexity
9 years ago
Jens Steube cfff6220fc Fix -m 1500 in combination with new weak-hash-check
9 years ago
philsmd 4ed6b2c10a HMS: nvapi does not need a dll (windows + NV)
9 years ago
jsteube e7e6c4da17 Do not use OpenCL CPU devices by default to avoid slow GPU synchronization, user needs to explicitly enable them using --opencl-device-type
9 years ago
Jens Steube d3dc57896e Merge pull request #123 from philsmd/pr-tab-typo-fix
9 years ago
philsmd 182819af11 cosmetic: replace tab by spaces
9 years ago
philsmd 7081e3cdf6 Makefile: remove kernels/ directory when running make clean
9 years ago
Jens Steube 52d71de0d4 Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
9 years ago
Jens Steube 0ff49c5b44 Fix segfault in related to weak-hash-check on CPU devices
9 years ago
Jens Steube 54ed58e28b Merge pull request #119 from philsmd/pr-fix-adl-mapping-CPU
9 years ago
philsmd b47452e343 HMS fix: only copy the ADL adapter info for GPU devices, for CPU devices we leave it AS-IS (zeroed out)
9 years ago
philsmd 2e1e3318ec fixed % and C (degrees celcius) in status display
9 years ago
Jens Steube 730044e26e Added option --opencl-device-types to filter for specific OpenCL device types
9 years ago
philsmd 02cecce247 fixed hardware monitor: mapping between supported ADL devices and available GPU (and CPUs) fixed
9 years ago
jsteube 93427c073c Prepare for some HSM updates related to device_type
9 years ago
Jens Steube 87dca98a51 Fix segfault if a weak hash is detected for some fast hashes
9 years ago
Jens Steube 1d628ca6e0 The weak-hash-check feature didn't work for algorithms that made use of some automatic optimizer flags
9 years ago
jsteube 3cdee2e06e We need an esalt to hold the unused IV otherwise the unique salt count becomes incorrect in multihash sitations
9 years ago
jsteube f0a84a2410 Added new hash mode -m 13000 = RAR5
9 years ago
jsteube 332b3c35e5 Added new hash mode -m 12900 = Android FDE (Samsung DEK)
9 years ago
jsteube e8229af09b Fix for -m 1500, -m 3000: Missing "defined" keyword
9 years ago
Jens Steube 6dab39e69c Merge pull request #64 from philsmd/master
9 years ago
philsmd 82ac8cbcfe additional --opencl-platform value check
9 years ago
philsmd 6fcc3f2728 typo
9 years ago
philsmd 7b7caf3842 added additional --opencl-platform check (reject numbers > number of OpenCL platforms)
9 years ago
jsteube 36df3ef329 A CPU is not a GPU
9 years ago
Jens Steube 51a1868903 Shorten some helptext
9 years ago
philsmd 8bf3bdbf1b the parameter --opencl-platform takes a number, not a string
9 years ago
jsteube 16294fe94e Next release version will be v2.10
9 years ago
jsteube 331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
9 years ago
jsteube 894140b816 Generate a more easy to read filename for cached kernels
9 years ago
jsteube 8baf705f6a Preparation for distinguish between OpenCL device types at runtime (mostly for HMS)
9 years ago
jsteube 8b50b60484 More fixes for general OpenCL platforms
9 years ago
jsteube c4b1c8e7ca small fix for unknown opencl platforms
9 years ago
jsteube 3b589e3aac Prepare for allow other OpenCL platforms thans AMD and NVidia
9 years ago