Commit Graph

370 Commits (7d9ff152b0861bb9eedba5910cd1eac3566a871c)

Author SHA1 Message Date
jsteube 245e2a3e73 shared.c is now clean, ready to cleanup on other sources
8 years ago
jsteube 6aee697112 Cleanup some macro values
8 years ago
jsteube d9073296e4 Make hc_sleep() a function
8 years ago
jsteube e3d0cd0bdd Move more functions out of shared.c
8 years ago
jsteube 51a059a606 Move status specific functions into their own source file
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube eb00cd959f Move TUNING_DB_FILE to tuningdb.h
8 years ago
jsteube 9f416109d9 Fix psapi include for windows
8 years ago
jsteube a56855e355 Move restore specific functions into their own source file
8 years ago
jsteube 1fc22dba03 Move bitmap specific functions into their own source file
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube 80d7dce9b5 Move more functions out of shared.c
8 years ago
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
jsteube f9e1329ca9 Fix CRLF
8 years ago
jsteube 9336ca8838 Remove data. access from pthread_setaffinity_np (apple version)
8 years ago
jsteube dda89fe610 Add includes to get OSX working
8 years ago
jsteube 3ba5c743f8 Move affinity specific functions into their own source file
8 years ago
Gabriele 'matrix' Gristina b0c6eee06c Fix multiple build issues with OSX
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago
jsteube b8e47c2ba2 Move locking specific functions into their own source file
8 years ago
jsteube e4bf86dcbe Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
8 years ago
jsteube c3fe5b40b1 Move folder specific functions into their own source file
8 years ago
jsteube 1902e6c2eb Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube 0a5759ef1c Move usage specific functions into their own source file
8 years ago
jsteube 21666f77b7 Move maskprocessor and statusprocessor specific functions into their own source file
8 years ago
jsteube d15ae38723 Move hwmon specific functions into their own source file
8 years ago
jsteube 5dd5c15966 Move tty_*() specific functions into their own source file
8 years ago
jsteube eb5e192df5 Move logfile() specific functions into their own source file
8 years ago
jsteube 3dc77ced14 More preparation for easier integration of:
8 years ago
jsteube 238b3e4401 Test failed, go back to #pragma once
8 years ago
jsteube d86a92f2bf Some test
8 years ago
jsteube 0fe3bc5cb9 system #include should go to header
8 years ago
jsteube 4b79ccd416 Preparation for easier integration of:
8 years ago
jsteube ff376ce112 Moved bit operations out of shared.[hc] and created bitops.[hc]
8 years ago
jsteube d54b399561 add types for windows only in case _BASETSD_H was not set
8 years ago
jsteube ddfd212513 Fix indents
8 years ago
jsteube 63c17cf2c1 replaced macros with enums and static const char types
8 years ago
jsteube 61d119b068 Remove unused typedefs for windows build
8 years ago
jsteube 8d661f7c40 replaced macros with enums and static const char types
8 years ago
jsteube 6eb9e700f9 replaced macros with enums and static const char types
8 years ago
jsteube d24c200dfe moving macros out of function in cpu-*.c
8 years ago
Jens Steube a289c37ecf Allow loading of bcrypt hashes with signature $2b$ (February 2014)
8 years ago
Jens Steube 54249835f4 Merge pull request #482 from neheb/master
8 years ago
Rosen Penev e664139699
Fix missing prototypes
8 years ago
Rosen Penev ed1ad9714d
Fix -Wmissing-declarations
8 years ago
jsteube 71a8459d85 Two new modes added:
8 years ago
Rosen Penev aeee10fbeb
Fix -Wundef warnings
8 years ago
Rosen Penev be47aebc24
Avoid float to double promotions
8 years ago
Rosen Penev a0b89951c1
More sign conversion fixes
8 years ago
Jens Steube bdecbbee1a Merge pull request #446 from usernamestaken/master
8 years ago
Michael Sprecher 7593db9483
Added new hash-mode 13900 = OpenCart
8 years ago
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