Commit Graph

390 Commits (067ffa9d647e4ea2d1b35f7fd65b01b116313765)

Author SHA1 Message Date
jsteube 39eed94703 Add option OPTS_TYPE_BINARY_HASHFILE for interface.c
8 years ago
jsteube 766a11356b Fix some loop issue in --loopback
8 years ago
jsteube 636d953996 Move out all use of event_log_info() from library code to main.c or terminal.c
8 years ago
jsteube 824654e2fb Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I
8 years ago
jsteube 97b58b16af Fix some EOL handling
8 years ago
jsteube 97a33dc4ef Sort events
8 years ago
jsteube e1010ffba1 Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube 1c055a6311 Move event_log_info() out of hashes.c
8 years ago
jsteube 515107047b Move event_log_info() out of wordlist.c
8 years ago
jsteube bfdd0edbad Move event_log_info() out of thread.c
8 years ago
jsteube 761e3f0d96 Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it
8 years ago
jsteube a460ab01b6 Bring back --username handling to --show and --left
8 years ago
jsteube f5a92900c6 Rudimentary --show support is back
8 years ago
jsteube f6334b5f90 Handling --show and --left need to be refactored, do not use those flags atm
8 years ago
jsteube 0fd48b228f Get rid of all event_log_* calls in monitor.c and replace them with real events
8 years ago
jsteube 1f72aa95e6 Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling
8 years ago
jsteube c3266e363a Make status_display_machine_readable() use of hashcat_status_t
8 years ago
jsteube 89e3168280 Make status_display(), status_benchmark_automate() and status_benchmark() use of hashcat_status_t
8 years ago
jsteube 1d0810a759 Added status_get_hwmon_dev() to status.c
8 years ago
jsteube 2b28010aae Added status_get_input_candidates_dev() to status.c
8 years ago
jsteube 8d81d3bd55 Added progress_mode to status.c
8 years ago
jsteube 86c1c7ef10 Added CPT functions for later use in status.c
8 years ago
jsteube df521d664b Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube 615d977b7c Add new functions to hashcat_get_status()
8 years ago
jsteube b044271b01 Move more status display calculate logic into separate functions
8 years ago
jsteube 2545ec6bf9 Prepare hashcat_get_status()
8 years ago
jsteube 694de36694 Print warnings in yellow and errors in red
8 years ago
jsteube 191269f4f0 Add --speed-only mode
8 years ago
jsteube 056083fdba Revert "Prepare for hashcat_ctx_run_session()"
8 years ago
jsteube 0179097a53 Prepare for hashcat_ctx_run_session()
8 years ago
jsteube 8de576f5e9 Make it possible to access error messages without using an event
8 years ago
jsteube 386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it
8 years ago
jsteube 2a5545d2b7 Move logfile stuff back to hashcat.c, it's a core feature which should be handled by the library
8 years ago
jsteube 6d2c58d8df Add main_potfile_remove_parse_post()
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 42677df2a6 Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube f469694030 Add event_set_kernel_power_final()
8 years ago
jsteube d993aa5ffa Get rid of more log_info() in hashcat()
8 years ago
jsteube 27887bf9ce Get rid of more log_info() in hashcat()
8 years ago
jsteube 81650dcc46 Initial proposal
8 years ago
jsteube 15d2f9b11e Add some reserved scratch buffer for innerloop combinator instead of reallocating each time
8 years ago
coolbry95 a78fd4e915 changed uint to u32
8 years ago
jsteube 50d2cec912 Fix some variable name convention
8 years ago
jsteube 667a8b1d3d Make use of argc/argv easier
8 years ago
jsteube 2994afd81a Use hc_stat from types.c instead of OS dependant branching
8 years ago
jsteube 91efbc4562 Renamed __hc_device_param to hc_device_param__ to comply with standard naming convention
8 years ago
jsteube a02f6f5ad6 Give all those anonymous structures a name, makes it easier to load the project into VS
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
8 years ago
jsteube a5f842c4b5 Fix some missing sign conversions
8 years ago
jsteube 683077b42a Use larger counter to handle larger wordlists
8 years ago
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