Commit Graph

390 Commits (067ffa9d647e4ea2d1b35f7fd65b01b116313765)

Author SHA1 Message Date
jsteube fe289da141 Make wordlist support modular
8 years ago
jsteube eb6dffd52a Make tuning_db support modular
8 years ago
jsteube 46866dd0b1 Make potfile support modular
8 years ago
jsteube 6bc0d94f56 Make opencl support modular
8 years ago
jsteube 4aebe51407 Make loopback support modular
8 years ago
jsteube 8034fb31b8 Make bitmaps, cracks-per-time and debugfile support modular
8 years ago
jsteube 0d8b179d40 Move around some types and globals were they belong to
8 years ago
jsteube 133c9295f5 Cleaned up data_t, only contexts left
8 years ago
jsteube 12a2d6d2a0 Move more stuff to status_ctx_t
8 years ago
jsteube 831ef1490b Prepare status_ctx_t
8 years ago
jsteube 84f96c4dda Add cpt_ctx_t
8 years ago
jsteube 658f135763 Replace some uint with u32
8 years ago
jsteube e12abeb9de Add inner2_loop()
8 years ago
jsteube 9f61fb3024 Make hm_adapters_* attributes local ones
8 years ago
jsteube de5d0349c6 Fixes https://github.com/hashcat/hashcat/issues/517
8 years ago
jsteube 7191780296 Make use of hwmon_ctx_t
8 years ago
jsteube 81bc9081ad Prepare hwmon_ctx_t, not used yet
8 years ago
jsteube f8d538413e Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_*
8 years ago
jsteube 171bfbbb8b Get rid of shutdown_inner and shutdown_outer
8 years ago
jsteube cc740f2cb2 Move PW_DICTMAX to common.h
8 years ago
jsteube 94680cb311 Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t
8 years ago
jsteube 48917b5843 Move tmp size and hook size to hashconfig_init()
8 years ago
jsteube 814206801a refactor mask_ctx_parse_maskfile()
8 years ago
jsteube c71f1bfb0c Introduct combinator_ctx_t
8 years ago
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube 04fb85cf1a Fix bfs_cnt in -i mode
8 years ago
jsteube 3eaac31445 Fix for https://github.com/hashcat/hashcat/issues/514
8 years ago
jsteube 0ca4ebe1e6 Do not initialize masks for attack-modes not using masks
8 years ago
jsteube 54a4ea3db2 Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
8 years ago
jsteube fd72834322 data. no longer required in restore
8 years ago
jsteube 521db46c11 Move dictstat_init() out of outer loop, also add enabled flag
8 years ago
jsteube 62b97a6fe6 Move loading rules into outer loop
8 years ago
jsteube ebe9f1c07f Prepare for rules_ctx_t
8 years ago
jsteube 0a330d4335 Rewrote logfile handling from scratch
8 years ago
jsteube d3d9b4e679 Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory
8 years ago
jsteube 319d548766 Move all outfile-check folder related host code into outfile_check.c
8 years ago
jsteube 919b5d5148 Move all induction folder related host code into induct.c
8 years ago
jsteube b6f966970b Move all bitmap related host code into bitmap.c
8 years ago
jsteube 095dfdc730 Get rid of quiet variable in data. context
8 years ago
jsteube f2f7dccb90 Get rid of force variable in data. context
8 years ago
jsteube f9ec232b9b Get rid of attack_kern variable in data. context
8 years ago
jsteube f1d93d576a Get rid of attack_mode variable in data. context
8 years ago
jsteube 479e93ae7d Get rid of logfile_disable variable in data. context
8 years ago
jsteube 83baf7fcf2 Get rid of hex_salt variable in data. context
8 years ago
jsteube b579542db6 Get rid of hex_charset variable in data. context
8 years ago
jsteube 3da185a3c8 Get rid of wordlist_mode variable in data. context
8 years ago
jsteube 5b0835258c Get rid of hex_wordlist variable in data. context
8 years ago
jsteube 6b5d8ed62c Get rid of truecrypt_keyfiles variable in data. context
8 years ago
jsteube 77cd4b8a63 Get rid of veracrypt* variable in data. context
8 years ago
jsteube d619e39952 Get rid of segment_size variable in data. context
8 years ago
jsteube 07221ecf3b Get rid of scrypt_tmto variable in data. context
8 years ago
jsteube d4074d87a1 Get rid of powertune_enable variable in data. context
8 years ago
jsteube 88f97f2cca Get rid of runtime variable in data. context
8 years ago
jsteube 21d852b194 Get rid of benchmark variable in data. context
8 years ago
jsteube 59ba4c2d93 Get rid of machine_readable variable in data. context
8 years ago
jsteube b4a3dd35b0 Get rid of outfile_check_timer variable in data. context
8 years ago
jsteube d321e0d5a4 Get rid of session variable in data. context
8 years ago
jsteube bdad458c41 Get rid of loopback variable in data. context
8 years ago
jsteube e4b4855fbd Get rid of status* variables in data. context
8 years ago
jsteube 6d992ec37e Get rid of remove* variables in data. context
8 years ago
jsteube a3b4cc5a80 Get rid of restore, restore_disable and restore_timer variables in data. context
8 years ago
jsteube 2476f36ffe Get rid of install_dir, profile_dir, shared_dir, and session_dir variables from data. context
8 years ago
jsteube a628cd399a Get rid of gpu_temp_* variables in data. context
8 years ago
jsteube 93d3b3a809 Get rid of rp_* variables in data. context
8 years ago
jsteube c18d6a3302 Get rid of skip and limit variables in data. context
8 years ago
jsteube 7393378841 Get rid of hash_info array in data. context
8 years ago
jsteube fe88c763af Get rid of custom_charset_* variables in data. context
8 years ago
jsteube 1c9027cb03 Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context
8 years ago
jsteube f56b6d2065 Get rid of data.username
8 years ago
jsteube 3664f02670 Get rid of global get_next_word_func function pointer variable
8 years ago
jsteube 2215174c2e Replace "#if defined (HAVE_HWMON)" with "user_options->powertune_enable = false" which give a more easy to read sourcecode
8 years ago
jsteube 1cc4358820 Introduce folder_config_t
8 years ago
jsteube a4647baba5 Get rid of segment_size variable in main
8 years ago
jsteube 4718bb3d2d Move wordlist_mode into user_options_extra
8 years ago
jsteube c008b11de3 Make more use of new user_options_t*
8 years ago
jsteube cb1375bcd7 Add user_options_extra_t
8 years ago
jsteube a70590b0dc Move sanity check into user_options.c
8 years ago
jsteube e6f083b708 Add all defaults for user commandline parameters to user_options.h; Prepare user commandline parameter struct for easier handling of functions calls that require them
8 years ago
jsteube ced3b3b82f Move global mux_counter variable into opencl_ctx_t
8 years ago
jsteube 3adbf3d0d5 Move global mux_dispatcher variable into opencl_ctx_t
8 years ago
jsteube 9daf139fef Refactor devices_status to have better thread control
8 years ago
jsteube caeedd5646 Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown
8 years ago
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet
8 years ago
jsteube e25224a940 Move benchmark related stuff to benchmark.c
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube b7906f6b93 Move outfile specific functions into their own source file
8 years ago
jsteube 63b47eebc9 Prepare move potfile specific functions into their own source file
8 years ago
jsteube f006542317 Prepare move dictstat specific functions into their own source file
8 years ago
jsteube e304eed8c5 Move wordlist specific functions into their own source file
8 years ago
jsteube 515f22626a Cleanup rp_cpu.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 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
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 e4bf86dcbe Replace #pragma once with #ifndef #define #endif logic because #pragma once does not work cleanly on OSX
8 years ago
jsteube 1902e6c2eb Create real cpu_crc32.c and rp_cpu.c
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 3dc77ced14 More preparation for easier integration of:
8 years ago
jsteube 4b79ccd416 Preparation for easier integration of:
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
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 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
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
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
Unix-Ninja fce2363fec Clean end-of-line output usage (not actually POSIX)
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 a3e6690a9c Remove union in hm_attrs_t; Remove code related to threshold_slowdown which will be replaced with NvGetPerfPoliciesInfo()
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 19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
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
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 f5f9073f45 Better distinguish between platform vendor and device vendor
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
Jens Steube 0891989404 Fix WinZip multihash
8 years ago
Jens Steube 7a4ab2b42d Prepare for WinZip integration
8 years ago
Jens Steube 8316210233 Unlock kernel_threads > 64
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 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 8cf6607c87 Refactored 134 to 13500. Added esalt struct
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
Fist0urs 34b8d89422 Added support of keyfiles within Keepass 1.x and Keepass 2.x
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 55cadb6834 Fix broken -m 1500 and -m 3000 in -a 3 mode
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
Fist0urs c3dabdd69e Initial commit
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 c0293928dd Prepare for better autotuning capabilities
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
Gabriele 'matrix' Gristina fa7465aa86 gpu loops/accel per-device
8 years ago
Gabriele 'matrix' Gristina 89e5ed2574 handling possible clEnqueueFillBuffer not found in opencl lib
8 years ago
Gabriele 'matrix' Gristina f3407cd7f4 HWMon mod
8 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
8 years ago
Jens Steube cae457df0c Merge pull request #167 from gm4tr1x/issue84
8 years ago
Gabriele 'matrix' Gristina b7d3a7c5bc Fixed gcc warnings
8 years ago
Gabriele 'matrix' Gristina 5bae9de3a3 Implemented OpenCL library loader
8 years ago
Gabriele 'matrix' Gristina 6cbe3cee50 Cosmetix fix for types.h
8 years ago
Gabriele 'matrix' Gristina 076597fe01 Fixed some memory allocations and other small things
8 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 52d71de0d4 Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
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 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 0428514f61 Extended support from 14 to 255 functions calls per rule on GPU
9 years ago
jsteube d008a45f3c Activate reordering or files to help integration into linux distributions
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
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
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