Commit Graph

360 Commits (7668ec5865a82f4c72999493078d641c6ac1f8db)

Author SHA1 Message Date
jsteube 9336ca8838 Remove data. access from pthread_setaffinity_np (apple version)
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 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 b95f491c64 Remove some explicit includes for __APPLE__
8 years ago
jsteube d44571ff70 Add some explicit includes for __APPLE__
8 years ago
jsteube e790ae0f95 Fix some calls to strdup() which should by mystrdup()
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 4366afecee Initializing u64 value with something 'u' seem to limit it's maximum value to 0xffffffff and then stop. So this broke restore support, as you can see when the restore pointer went > 0xffffffff, also in status view. cc @neheb
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 ed1ad9714d
Fix -Wmissing-declarations
8 years ago
jsteube 71a8459d85 Two new modes added:
8 years ago
Rosen Penev d666191d67
Sign fixes
8 years ago
Rosen Penev c495f6a090
Remove unreachable code: break
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 d4dfe58a72
CRAM_MD5 throws salt length exception when the issue is in the hash
8 years ago
Rosen Penev 37eaafdabf Fix GCC sign warnings
8 years ago
jsteube 8acf5b3879 Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU
8 years ago
jsteube 2b7e36b042 Output cracked hashes on Windows using \r\n and not \n
8 years ago
Jens Steube f1cd53e335 Globally fix return parameter handling to not use brackets
8 years ago
jsteube 3fa2d10914 Allow the use of enc_id == 0 in hash-mode 10600 and 10700 as it takes no part in the actual computation
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
jsteube 2043338859 Rewrite some code to workaround strict aliasing rule violation for older compilers
8 years ago
Jens Steube 72abe90e10 Merge pull request #421 from lifanov/freebsd-port
8 years ago
Nikolai Lifanov 54ebe1fe23 fix get_path_exe: not sure what I was thinking
8 years ago
Nikolai Lifanov 1a3b610601 add tty handling for FreeBSD
8 years ago
Nikolai Lifanov c2bcdbebcb implement thread affinity for FreeBSD
8 years ago
philsmd a5700bf4ef
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile
8 years ago
Nikolai Lifanov 883bc202db implement get_exec_path for FreeBSD
8 years ago
Nikolai Lifanov 3d3d212595 FreeBSD also needs stdio.h
8 years ago
jsteube edb5028a4d Fix for PR 69122fb554 which wasn't complete
8 years ago
Moritz Kick 69122fb554 Make linux-build POSIX compatible
8 years ago
Jens Steube 3370820109 Merge pull request #392 from unix-ninja/master
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
Jens Steube 772e2ac33f Fix benchmark devices_status bug
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
jsteube de1d1da454 Disable some of NVMLs useless throttle reasons
8 years ago
jsteube 057909fdfd Do not overwrite quit status when user forced it with keypress
8 years ago
Jens Steube a5a38620d4 Move keyspress detecting thread to outer loop
8 years ago
Jens Steube e7df9b112a windows path update
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
radix 5d41b93514
Update wording on some warning messages.
8 years ago
dropdead 30aebe81fa Cleaned log output
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 92a111be74 Fixed some macros
8 years ago
jsteube 2bd49e6720 Added --gpu-temp-retain support for windows through nvapi
8 years ago
jsteube e43be7aba3 Do not try to set fanspeed if connection to X11 failed
8 years ago
jsteube 9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
Jens Steube eb88171bdd Fix precompute bug in PeopleSoft PS_TOKEN
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 2e706edc18 Do not show *throttle* in status display if the reason is unknown
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 3c6296801a Prepare for reintegration of nvapi for checking thermal limit
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
jsteube f5f9073f45 Better distinguish between platform vendor and device vendor
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 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 9b3d18f87d SIMD for slow hashes prototype
8 years ago
Jens Steube abce366d00 Fixed -m 13500 kernels and tests
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
Martin Lemay d9889727e6 Removed SHA1 optimization.
8 years ago
Martin Lemay a1aef652c2 Fixed snprintf.
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 89ebc48942 Fixed snprintf cast warnings
8 years ago
Francois Gaudreault f76b9d0013 Adding Tests, fix one compile warning
8 years ago
Martin Lemay 39445340ae Minor adj. and sanity check on pstoken_parse_hash().
8 years ago
Martin Lemay f0535b1a52 ascii_digest additions.
8 years ago
Martin Lemay ac35ab8111 esalt hex convertion.
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 37c40dcfb4 Accept \r as newline in thread_keypress()
8 years ago
Jens Steube 6fcf58e106 Fix for https://github.com/hashcat/oclHashcat/issues/302
8 years ago
Jens Steube 63ba540f2b Add some additional information to error-text in read_restore()
8 years ago
Jens Steube e6b9071b52 Cleanup -m 9800 kernels to latest standard
8 years ago
Jens Steube fb6dec55af Small fix related to 3cd83a4ab9
8 years ago
Jens Steube 1bc9e3ec85 Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
8 years ago
Jens Steube 0f73c778d5 Optimized -m 8300 (DNSSEC) cracking performance in -a 3 mode
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 32fff7cd13 Merge pull request #285 from philsmd/pr-keepass-parser-fix
8 years ago
philsmd 9ea2f5fef1 fixed some parser checks for new keepass format (-m 13400)
8 years ago
philsmd b3dfd7057e fixed -m 10200 = Cram MD5 parser: check for NULL pointers ASAP, check base64 input length
8 years ago
Fist0urs 52b17a602f New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
8 years ago
Jens Steube d0e7ee6824 Merge pull request #281 from philsmd/master
8 years ago
Jens Steube 88fafeb928 Synchronize maximum output line size with input line size
8 years ago
philsmd 9b75b245d5 fixed base64_decode () input length validation for -m 8900
8 years ago
Jens Steube 0fdebf904d Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
8 years ago
philsmd 9a135de1c1 fixed problem with -m 5600 = NetNTLMv2 parser
8 years ago
philsmd e7e5333d23 fixed -m 5500 parser, avoid strange crashes
8 years ago
philsmd e179c53f19 fixed some parser checks to avoid crashes (-m 5300/5400)
8 years ago
philsmd 5174de48c9 fixed -m 133 = PeopleSoft (-a 0/-a 1 problem only) + added to test.sh
8 years ago
philsmd 3c2f8fb88b added some checks to the -m 1711 = SSHA-512(Base64), LDAP {SSHA512} parser
8 years ago
philsmd bc965c9c9b fixed checks in -m 500 parser
8 years ago
philsmd b755e5b6f3 added some checks to the -m 111 = nsldaps, SSHA-1(Base64), Netscape LDAP SSHA parser
8 years ago
philsmd 8634bde118 added additional check for max. ESSID length to prevent eventual crashes
8 years ago
philsmd 3c1e05aaf3 #234: increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
8 years ago
Fist0urs b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1
8 years ago
Fist0urs 9811a21098 -m 13100 Fix overflow in input hash parsing
8 years ago
Fist0urs ad17fba9b6 New format -m 13200 AxCrypt
8 years ago
philsmd 0ea05ab292 minor: reformatting of recently changed code + use uint instead of unsigned int
8 years ago
gpuhash 541f231c23 Minor bugfix
8 years ago
gpuhash d56394c849 Fairly strict stamping of WPA salt components
8 years ago
Jens Steube 990f973c48 Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
8 years ago
Fist0urs 62bed36638 Add verification of checksum for -m 13100
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
philsmd 8298afa462 minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)
8 years ago
Fist0urs c3dabdd69e Initial commit
8 years ago
Jens Steube c09bc848f7 Autotuning engine prototype
8 years ago
Jens Steube 2dfe9200d6 Remove Wordload-Profiles from tuningdb, we can simply calculate it
8 years ago
Jens Steube 02ad834c7f Added new concept of a tuning database; tryout phase
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
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 f3407cd7f4 HWMon mod
8 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
8 years ago
Gabriele 'matrix' Gristina 5d4160dc8c Fixed gcc warnings about missing field initializers
8 years ago
magnum ce170ea980 Acquire an exclusive lock before writing to any file. Note that in
8 years ago
Gabriele 'matrix' Gristina 9eefb4bcd7 Fixed get_profile_dir and get_session_dir byte missing bug
8 years ago
magnum f5d6f9b6d4 Do not create a kernel cache file if build failed. Also disregard any
8 years ago
Gabriele 'matrix' Gristina 6ba392c0df Modified as @jsteube request
8 years ago
Gabriele 'matrix' Gristina dcc4b5a60f Added custom OSX kernel loops and gpu accel default values
8 years ago
Gabriele 'matrix' Gristina 58359f3b7e Fixed 'buf' initialization for windows
8 years ago
Jens Steube 0997ae029e Remove NO-BREAK SPACE character (utf8) from sources
8 years ago
Jens Steube 9c89b58f76 Merge pull request #153 from gm4tr1x/missingcheck
8 years ago
Jens Steube d275748c7c Merge pull request #152 from gm4tr1x/buf
8 years ago
Gabriele 'matrix' Gristina 17d885ffa4 Added missing check for in_len in _old_apply_rule function
8 years ago
Gabriele 'matrix' Gristina 3abacf515c Optimized memset calls and also some initializations
8 years ago
Gabriele 'matrix' Gristina 8d891ef0ba Avoid sprintf
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)
8 years ago
philsmd 751a364125 #137: fixes padding for base64_encode () and base64_decode()
8 years ago
philsmd e1ae2538c6 cosmetic fix: some fixed typos e.g. to -> too
8 years ago
philsmd 5e92020180 buffer overflow fix for -m 8900 = scrypt
8 years ago
Gabriele 'matrix' Gristina 29636ca0a3 Re-fix ascii_digest
8 years ago
Gabriele 'matrix' Gristina e9bc4caed3 Fixed a buffer overflow in ascii_digest for hash type 8300
8 years ago
jsteube 9fb506f15f Fixed out of bounds access in -m 11300
8 years ago
jsteube 5ae5a4bc25 Reorder device mapping
8 years ago
Jens Steube 63e06f582b Prepare fix for datatypes, not final
8 years ago
Jens Steube f3b85a6363 Fix some clang compiler warnings
8 years ago
jsteube d3981ee66a Fix missing cast to uint
8 years ago
philsmd cbe6be9246 set default iteration count for -m 2100 = DCC2 to 10240
8 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
8 years ago
Jens Steube 52d71de0d4 Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
8 years ago
Jens Steube 730044e26e Added option --opencl-device-types to filter for specific OpenCL device types
8 years ago
philsmd 02cecce247 fixed hardware monitor: mapping between supported ADL devices and available GPU (and CPUs) fixed
8 years ago
jsteube 3cdee2e06e We need an esalt to hold the unused IV otherwise the unique salt count becomes incorrect in multihash sitations
8 years ago
jsteube f0a84a2410 Added new hash mode -m 13000 = RAR5
8 years ago
jsteube 332b3c35e5 Added new hash mode -m 12900 = Android FDE (Samsung DEK)
8 years ago
jsteube 331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
8 years ago
jsteube 0428514f61 Extended support from 14 to 255 functions calls per rule on GPU
8 years ago
philsmd d378319ea6 this patch makes it much clearer where the sessions under ~/.hashcat are located
8 years ago
jsteube d008a45f3c Activate reordering or files to help integration into linux distributions
9 years ago
jsteube 7807eb6f2d Fix -m 7800 for NV
9 years ago
philsmd 286bde422b limit the salt length of -m 22 = Juniper Netscreen/SSG (ScreenOS) to 10
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