Commit Graph

2863 Commits (f4348099212f4bd63d11bdb13b3fcb15c5bea532)

Author SHA1 Message Date
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
philsmd f2b8f008c0 pr #53 did not copy the example .hash and .dict files to the doc folder
9 years ago
philsmd d8ac4c3bbc install also the example scripts, place them into the doc folder
9 years ago
jsteube 0428514f61 Extended support from 14 to 255 functions calls per rule on GPU
9 years ago
Jens Steube 0952a4dfd3 Fix CFLAGS_CROSS_LINUX in Makefile
9 years ago
philsmd d378319ea6 this patch makes it much clearer where the sessions under ~/.hashcat are located
9 years ago
jsteube 11bf28745a Generate folders for cached kernels for the binary distribution in runtime, too
9 years ago
jsteube 79b1f96efe Fix logfile buffer size
9 years ago
Jens Steube dc13c2fc71 Switched to Khronos OSS OpenCL reference implementation for building
9 years ago
jsteube 5703637721 Fix for windows, shared_dir was not set to install_dir
9 years ago
jsteube 61744662c0 Fix path to includes
9 years ago
jsteube 5f7c47b461 Fix path to includes
9 years ago
jsteube d008a45f3c Activate reordering or files to help integration into linux distributions
9 years ago
jsteube 2be8f5f982 - Added Makefile target for native compilation
9 years ago
philsmd fc65b6fd44 issue #38: NVIDIA SDK is not needed anymore, the lib is dynamically loaded on NVidia systems
9 years ago
philsmd d9f30011f5 fixed minor display problem in usage
9 years ago
jsteube 700ed7dba7 Fix the GPU Platform fix
9 years ago
jsteube 04e5ad2d54 Fix OpenCL platform selection
9 years ago
jsteube 06b1a1e2ae Update 9300 default tmto for NV
9 years ago
jsteube 31292946e2 Fix some scrypt default values
9 years ago
jsteube 7807eb6f2d Fix -m 7800 for NV
9 years ago
jsteube 77df413886 Add allocatable memory location per GPU
9 years ago
jsteube a78173af7e prepare scrypt tmto value for manual tuning
9 years ago
philsmd 286bde422b limit the salt length of -m 22 = Juniper Netscreen/SSG (ScreenOS) to 10
9 years ago
jsteube 3dc8d526db Update timeout-patch url to wiki
9 years ago
jsteube f1cdf15540 Added option --gpu-platform to select a single OpenCL platform in case multiple OpenCL platforms are present
9 years ago
jsteube c17bf5e865 - Fixed PHY memory handling for scrypt based algorithms
9 years ago
jsteube 19c77034a6 Updated algorithm used to automatically select an ideal --scrypt-tmto value for NV
9 years ago
philsmd 0d905317a6 fix OpenCL memory problem (exhaustion): -4 error should be gone
9 years ago
jsteube 7be2c2fd8d Fixed some speeds:
9 years ago
jsteube e2412c9b10 We do not depend on CUDA any longer, so get rid of it :)
9 years ago
jsteube 378258d789 Fix caching system for use with AMD and NV, drop BINARY_KERNEL define
9 years ago
jsteube c8f7b7b5d3 Workaround missing clEnqueueFillBuffer() support in NVidia's OpenCL runtime
9 years ago
jsteube 1d4bece384 Revert "Fix bsdicrypt for NV"
9 years ago
jsteube 284990e4d3 Fix bsdicrypt for NV
9 years ago
jsteube 52c416ba72 Fixed empty line problem
9 years ago
jsteube 80f86c52a1 Cleanup makefile
9 years ago
jsteube 4a0c47ca08 It's safe now to use AMD's OpenCL includes, tested on NV
9 years ago
philsmd cff683eac1 change in library loading: libnvidia-ml now does load dynamically only on NVidia systems
9 years ago
jsteube 2283d5c843 Fix more append_* functions in kernels
9 years ago
philsmd 3ab7a23cd5 fixed hardware monitor for amd/nv (one problem that is still there since last commit: dynamic loading of libnvidia-ml)
9 years ago
jsteube 0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
9 years ago
Jens Steube 586441fa25 Revert "Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported"
9 years ago
Jens Steube f230ed73dc Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported
9 years ago
Jens Steube 1537390fae Prepare reordering or files to help integration into linux distributions as discussed in https://github.com/hashcat/oclHashcat/issues/20
9 years ago
Jens Steube c460b554d0 - Fixed a bug related to --restore if the User
9 years ago
philsmd c15f0d6146 issue #16: use just "deps" instead of "hashcat-deps" as directory name
9 years ago
philsmd 29547c4f9b issue #14: move /opt/hashcat-deps/ to [git_clone_dir]/hascat-deps/
9 years ago
philsmd feeb44882b allow both enabling and disabling of restore point update (implemented with issue #10)
9 years ago
jsteube 968265fffb - Prepared for JIT use of hash-mode 1500, 8900 and 9300, works already on OpenCL (AMD)
9 years ago
philsmd 946b4a37d0 implements the enhancement mentioned in issue #10 (cancel on next checkpoint)
9 years ago
philsmd ffcf763b13 typo fixed in Makefile
9 years ago
philsmd 3f79ac5964 Merge remote-tracking branch 'upstream/master'
9 years ago
Jens Steube ab66fa1772 Revert "Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads"
9 years ago
philsmd ef548d3088 fixes issue #5: formatting problem with tabs vs spaces
9 years ago
Jens Steube e5adccbf38 Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads
9 years ago
Jens Steube 490ff03fe1 It's important to release a fixed version of v2.00 because of the issue #1 even if AMD is not affected
9 years ago
philsmd 9684d8793a fixes issue #1: cuMemsetD8() 1 error (nvidia only, problem did not affect mask attacks)
9 years ago
Jens Steube 5065474b4e Initial commit
9 years ago