Commit Graph

1519 Commits (master)

Author SHA1 Message Date
radix 004812819f
Add Custom.Chars to output window in the case of a user specifying -1, -2, -3, -4.
8 years ago
Rosen Penev 37eaafdabf Fix GCC sign warnings
8 years ago
jsteube d3a95a67ae Fixed a bug where hashcat did not take into account how long it takes to prepare a session when auto-aborting with --runtime is in use
8 years ago
Jens Steube f1cd53e335 Globally fix return parameter handling to not use brackets
8 years ago
Jens Steube 6ba0eb8b39 Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
8 years ago
jsteube 49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube 96f2ade4bb Replace DARWIN macro with __APPLE__
8 years ago
Jens Steube d77c63a12c Merge branch 'master' of https://github.com/hashcat/hashcat
8 years ago
Jens Steube 5909bbb7b7 Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without
8 years ago
Nikolai Lifanov 1a3b610601 add tty handling for FreeBSD
8 years ago
Nikolai Lifanov a2663fb93a include the right cl.h on FreeBSD
8 years ago
Moritz Kick 69122fb554 Make linux-build POSIX compatible
8 years ago
jsteube 8702d0e3e1 Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt
8 years ago
jsteube 4ed8977e48 Dynamic tmp_t length for scrypt
8 years ago
Jens Steube 3370820109 Merge pull request #392 from unix-ninja/master
8 years ago
Unix-Ninja d8bb00cf77 Make POSIX limits.h explicit declaration
8 years ago
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
jsteube 115c95eb02 Use dedicated variables to control shutdown of parallel threads like keypress and monitoring
8 years ago
jsteube 0e68b2af25 Don't use device_processor_cores for scrypt
8 years ago
jsteube 6191e8bf79 Fix reset to automatic for NvAPI
8 years ago
jsteube 49811cfee1 Set fanspeed to automatic on shutdown
8 years ago
Jens Steube e7df9b112a windows path update
8 years ago
Unix-Ninja fce2363fec Clean end-of-line output usage (not actually POSIX)
8 years ago
Jens Steube 1550b9de07 OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
8 years ago
Jens Steube 6d2aa559a6 Windows doesn't accept escape characters, falling back to old method for windows
8 years ago
Jens Steube 268b1e3ad0 Remove workaround with multiple include folders; Instead use a naive escape function
8 years ago
Jens Steube 8298cd4926 Drop -m 190, no reason to keep it
8 years ago
jsteube 4444c17ec6 Speed up startup time for --stdout by using an empty kernel
8 years ago
jsteube 07acd52ed4 Some optical change on startup
8 years ago
jsteube d57ac912cc Fix https://github.com/hashcat/oclHashcat/issues/374
8 years ago
jsteube 2bd49e6720 Added --gpu-temp-retain support for windows through nvapi
8 years ago
jsteube 9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
jsteube 28505c350b Add commandline support to override cpu spinning damper for nvidia runtime
8 years ago
jsteube 5542e46022 Added option --stdout to print candidates instead of trying to crack a hash
8 years ago
Jens Steube 4f0709b3c9 Another slow-hash improvement
8 years ago
jsteube d275772b9f Fix for 100% CPU burning loop workaround for slow hashes
8 years ago
jsteube 8abc42e346 Simple, but effective workaround to solve the 100% CPU burning loop bug in Nvidias OpenCL runtime, works Linux and Windows, 0% cpu (alsmost), 100% performance in comparison to CPU burning loop variant. Replaces old previous try with overwritten clock_gettime() function
8 years ago
Jens Steube 3022abf956 some axcrypt fixes
8 years ago
jsteube b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password
8 years ago
jsteube 106e781a2f Fix some workload balancing issue
8 years ago
jsteube 829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune;
8 years ago
jsteube 2e706edc18 Do not show *throttle* in status display if the reason is unknown
8 years ago
jsteube 3e30b62bf6 Remove some ugly code from nvapi.h
8 years ago
jsteube 08934db58c Add NvAPI_GPU_GetPerfPoliciesInfo() and NvAPI_GPU_GetPerfPoliciesStatus() for later use
8 years ago
jsteube a3e6690a9c Remove union in hm_attrs_t; Remove code related to threshold_slowdown which will be replaced with NvGetPerfPoliciesInfo()
8 years ago
jsteube 040bbd416a More nvapi preparations and display skip reason in benchmark
8 years ago
jsteube 34bcbb3091 Prepare for reintegration of nvapi for checking thermal limit
8 years ago
jsteube 3c6296801a Prepare for reintegration of nvapi for checking thermal limit
8 years ago
Jens Steube 7ba1322d7f Redesign some of the kernel_power features like too small wordlist detection etc, now based on autotuning results
8 years ago
jsteube d329451cc1 Here it is: --powertune-enable for nvidia -- Works on both linux and windows
8 years ago
jsteube a23c0c4716 Added a ton of new NVML stuff
8 years ago
jsteube d89a8a68d6 Finally got rid of NvAPI on Windows, replace with NVML
8 years ago
jsteube 19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
8 years ago
jsteube 8ffbeac954 Add NvAPI_GPU_GetPerfDecreaseInfo() -- but i doesn't work, so deactive it
8 years ago
jsteube 63de7cdca8 Add NvAPI support for PCIE Lanes
8 years ago
jsteube 72384c1fc3 Add NVML support for PCIE Lanes
8 years ago
Jens Steube 53a4e0cbb7 Add PCI-E Lanes to status display, if available
8 years ago
Jens Steube 3e6ae89297 Add ADL_Overdrive6_TargetTemperatureData_Get() which for some reason does not work
8 years ago
jsteube 3e4badd9b4 Send a notice to user in case the drivers temperature threshold for slowdown is reached and a performance drop is expected due to throttling
8 years ago
jsteube 3227ef167e Added NvAPI support for querying current engine clock and current memory clock
8 years ago
jsteube 36def60bfa Added NVML support for querying current engine clock and current memory clock
8 years ago
Jens Steube e97fa06a7a Added current engine clock and current memory clock to the status display (ADL only atm)
8 years ago
radix 083c90a0ab
Update macros to match option --machine-readable
8 years ago
radix 2b2a0c585e
Change --status-automate to --machine-readble. The former didn't really illustrate the point of the command though the functionallity is great to have. Updated ASCII tables around options output.
8 years ago
radix b0c158fba9
Helps to actually save files before trying to commit them.
8 years ago
jsteube 2dd8156d24 Introduce a true memset kernel, currently operates on 16 byte per item
8 years ago
jsteube fd7bc2736d More vendor related changes
8 years ago
jsteube f5f9073f45 Better distinguish between platform vendor and device vendor
8 years ago
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
8 years ago
Jens Steube c6c865e32e Some final fixes for d_return_buf refactorization; Initial kernels vor veracrypts SHA256 KDF (not working)
8 years ago
Jens Steube 37953cdc8f Optimize handling of cracked hashes, was a bottleneck if too many at once
8 years ago
Jens Steube 5d5d1a5843 More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing
8 years ago
Jens Steube d37b6c6c30 Prepare for VeraCrypt integration
8 years ago
jsteube eea3424c38 Added SIMD code for all generic PBKDF2-HMAC-* modes
8 years ago
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 7a4ab2b42d Prepare for WinZip integration
8 years ago
jsteube e47030ed7d Prepare to rename project into hashcat
8 years ago
jsteube 768ffbdad8 Remove OPENCL EXTENSION, failing on Intel OpenCL SDK
8 years ago
jsteube 4317ac60f4 Remove unroll access for Drupal for NV gpus
8 years ago
jsteube c79bed3b7d Prepare for a more dynamic #pragma unroll use
8 years ago
Jens Steube 8316210233 Unlock kernel_threads > 64
8 years ago
neheb 0397d4f0e0 Remove clang extension
8 years ago
jsteube 9b3d18f87d SIMD for slow hashes prototype
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
Francois Gaudreault 96e60bfb05 Fixing minor definitions.
8 years ago
Jens Steube 42c83df959 Fix for 0H/s issue on different algorithms
8 years ago
Jens Steube 50ea3a88dd Merge pull request #305 from neheb/master
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
Mangix 530651e96a Disable AMD optimizations for LLVM
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 444a5f4d52 Test fix for broken AMD support after https://github.com/hashcat/oclHashcat/pull/303
8 years ago
Mangix 2c9fcbf17e Fix LLVM compilation for OpenCL kernels
8 years ago
Fist0urs 2ce6fb997d Increase max size of input line to 0x50000
8 years ago
Fist0urs 9e8b7a1d9a -m 13400 Increased max kdb size to 300KB
8 years ago
Jens Steube 1bc9e3ec85 Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
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
Jens Steube 09e971c938 Use a fixed path for the potfile rather than session depending
8 years ago
Jens Steube 3cd83a4ab9 Reverted an unnecessary change from https://github.com/hashcat/oclHashcat/pull/158
8 years ago
Fist0urs 52b17a602f New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
8 years ago
Jens Steube 88fafeb928 Synchronize maximum output line size with input line size
8 years ago
Jens Steube c4e6ffc346 Removed some unused macros
8 years ago
Jens Steube 00724b40d7 Merge pull request #280 from MestreLion/patch-1
8 years ago
Jens Steube 0fdebf904d Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
8 years ago
Rodrigo Silva 34b9de9a24 use a GCC equivalent for __stdcall where applicable
8 years ago
philsmd 3c1e05aaf3 #234: increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
8 years ago
Jens Steube 55cadb6834 Fix broken -m 1500 and -m 3000 in -a 3 mode
8 years ago
philsmd 4ede3c1f7e #244: ADL array out-of-bound fix
8 years ago
Fist0urs b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1
8 years ago
Fist0urs ad17fba9b6 New format -m 13200 AxCrypt
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 6bc98368ba Get rid of old pw_cache mechanism to control host-based vector data-types
8 years ago
Jens Steube 990f973c48 Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
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
magnum a5be8a75ed Allow and support vector-width 16, which is current maximum for
8 years ago
Fist0urs c3dabdd69e Initial commit
8 years ago
Jens Steube 0cbe2347cd Merge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod
8 years ago
Jens Steube 709f79a7da Add option to repeat the kernel on the device NUM times to increase benchmark accuracy
8 years ago
Jens Steube c09bc848f7 Autotuning engine prototype
8 years ago
Jens Steube c0293928dd Prepare for better autotuning capabilities
8 years ago
Gabriele 'matrix' Gristina 2a1d0d21ff Get rid of hc_clEnqueueNDRangeKernel double call
8 years ago
Jens Steube 2dfe9200d6 Remove Wordload-Profiles from tuningdb, we can simply calculate it
8 years ago
jsteube 5c01349ba6 Update event handling to workaround event handling error in nvidia opencl runtime
8 years ago
Gabriele 'Matrix' Gristina 20ee62e196 Revert "Use per-device timer resolution in total_time calculations"
8 years ago
Jens Steube 02ad834c7f Added new concept of a tuning database; tryout phase
8 years ago
Gabriele 'matrix' Gristina 523a7bfe93 Use CL_DEVICE_PROFILING_TIMER_RESOLUTION per-device value in total_time calculations
8 years ago
Jens Steube 9fc360e39d Added the execution time of the running kernel to the status display
8 years ago
Gabriele 'matrix' Gristina 74be8e2e25 skip device if buildProgram() fail
8 years ago
Jens Steube 6d37c123a5 Merge branch 'master' of https://github.com/hashcat/oclHashcat
8 years ago
Jens Steube ab5ecd8eaa Fix some updated buffer sizes and new optimizer descriptions
8 years ago
Jens Steube 0362df07ed Merge pull request #210 from gm4tr1x/hd4000v0
8 years ago
Gabriele 'matrix' Gristina 225fc28dff Fix SHA-3(Keccak) issue with HD4000 (issue #191) and reorder macro
8 years ago
Gabriele 'matrix' Gristina e2db8afdf8 Add missing pthread_setaffinity_np for osx
8 years ago
Jens Steube fa0e6fb78e Merge pull request #204 from gm4tr1x/LoopAccelMod
8 years ago
Gabriele 'matrix' Gristina fa7465aa86 gpu loops/accel per-device
8 years ago
Jens Steube 22834781f5 Hack in NvAPI_GPU_GetCoolerSettings(); Enables query fanspeed in percentage on windows
8 years ago
Gabriele 'matrix' Gristina 89e5ed2574 handling possible clEnqueueFillBuffer not found in opencl lib
8 years ago
Jens Steube 2381af313d Some cleanups
8 years ago
Gabriele 'matrix' Gristina e67eec1ae0 get rid of nvidia nvapi static linking
8 years ago
Gabriele 'matrix' Gristina f3407cd7f4 HWMon mod
8 years ago
Gabriele 'matrix' Gristina 88087295b3 Removed deprecated and unused ADL function (ADL_DisplayEnable_Set)
8 years ago
Gabriele 'matrix' Gristina 0f159d42e6 Fixed HC_LOAD_FUNC macro
8 years ago
Jens Steube b8285cbce2 Fix broken ADL on windows
8 years ago
Jens Steube f256363448 Merge pull request #190 from gm4tr1x/fixLoopsAccelV3
8 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
8 years ago
Gabriele 'matrix' Gristina b542d4a431 Fixed loops/accel for 6800, 11300 and 11600 (osx)
8 years ago
Jens Steube 55d4904dd3 Merge pull request #185 from gm4tr1x/fixLoopsAccelv2
8 years ago
Gabriele 'matrix' Gristina 53faf6a24a Fixed some gpu loops/accel settings
8 years ago
Jens Steube 6846348602 Use a different workaround for a catalyst bug which takes effect in sha512crypt
8 years ago
Gabriele 'matrix' Gristina f9598f691d Fixed CL_INVALID_WORK_GROUP_SIZE error with Apple CPU
8 years ago
Gabriele 'matrix' Gristina d147d89f5e cleanup unnecessary clGetProgramBuildInfo code
8 years ago
Jens Steube 060af27dd9 Merge branch 'master' of https://github.com/hashcat/oclHashcat
9 years ago
Jens Steube eb60d6bb23 Remove MD4/MD5 *H1/*H2 functions and use original H functions. Modern compilers will find this easy optimization automatically
9 years ago
magnum ce170ea980 Acquire an exclusive lock before writing to any file. Note that in
9 years ago
Gabriele 'matrix' Gristina 3952fa7e06 Updated gpu accel for -m 6211 and default runtime value to 8
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
Jens Steube 9ec2c86cd0 Merge pull request #165 from gm4tr1x/gcc-warnings
9 years ago
Jens Steube 9d5a757ae5 Merge pull request #157 from gm4tr1x/loops-accel
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 6cbe3cee50 Cosmetix fix for types.h
9 years ago
Gabriele 'matrix' Gristina dcc4b5a60f Added custom OSX kernel loops and gpu accel default values
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 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
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
jsteube 5ae5a4bc25 Reorder device mapping
9 years ago
Jens Steube 63e06f582b Prepare fix for datatypes, not final
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 52d71de0d4 Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
9 years ago
Jens Steube 6b4e4c060a Replace typedef for bool with stdbool.h
9 years ago
Jens Steube 0ff49c5b44 Fix segfault in related to weak-hash-check on CPU devices
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
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
jsteube 6e680aa31c Workaround for either pocl or llvm fails and produces invalid optimized code
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 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
jsteube 0428514f61 Extended support from 14 to 255 functions calls per rule on GPU
9 years ago
philsmd d378319ea6 this patch makes it much clearer where the sessions under ~/.hashcat are located
9 years ago
jsteube d008a45f3c Activate reordering or files to help integration into linux distributions
9 years ago
jsteube 31292946e2 Fix some scrypt default values
9 years ago
jsteube c17bf5e865 - Fixed PHY memory handling for scrypt based algorithms
9 years ago
jsteube 84568e5b3d Increase bcrypt speed for NV
9 years ago
jsteube 7be2c2fd8d Fixed some speeds:
9 years ago
jsteube 378258d789 Fix caching system for use with AMD and NV, drop BINARY_KERNEL define
9 years ago
jsteube 9115547601 Revert "Fix -m 10700"
9 years ago
jsteube 15da53da38 Fix -m 10700
9 years ago
jsteube 91249942ab Fix -m 1800 for NV
9 years ago
jsteube 9c392b472e Removed useless comments
9 years ago
jsteube c29c7c093f Fix use of LOP3
9 years ago
Jens Steube 0f1ae86be9 Fix invalid VENDOR_ID for AMD
9 years ago
philsmd cff683eac1 change in library loading: libnvidia-ml now does load dynamically only on NVidia systems
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
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 ef548d3088 fixes issue #5: formatting problem with tabs vs spaces
9 years ago
Jens Steube 5065474b4e Initial commit
9 years ago