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
...
CRAM_MD5 throws salt length exception when the issue is in the hash
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
...
Replace RegGetValue() with RegQueryValueEx() to enable Windows XP 32 bit compatibility
This fixes https://github.com/hashcat/hashcat/issues/418
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
...
Fixes https://github.com/hashcat/hashcat/issues/423
8 years ago
jsteube
49f693a1c9
Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube
96f2ade4bb
Replace DARWIN macro with __APPLE__
...
As discussed on https://github.com/hashcat/hashcat/pull/409
8 years ago
jsteube
2043338859
Rewrite some code to workaround strict aliasing rule violation for older compilers
...
Rewrite some variable initializers on older compilers
8 years ago
Jens Steube
72abe90e10
Merge pull request #421 from lifanov/freebsd-port
...
FreeBSD support
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
...
Also allow it to actually compile on musl-libc systems.
From glibc's termio.h:
/* Compatible <termio.h> for old `struct termio' ioctl interface.
This is obsolete; use the POSIX.1 `struct termios' interface
defined in <termios.h> instead. */
8 years ago
Jens Steube
3370820109
Merge pull request #392 from unix-ninja/master
...
Various refactor changes
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
...
Increase retain temperature from 65c to 75c; Because GTX1080 hits its reference boost clocks of 1733mhz at 80c
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
...
Fix https://github.com/hashcat/oclHashcat/issues/375
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
...
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
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)
...
Automatically enable AMD powertune in benchmark-mode
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
9 years ago
Jens Steube
0891989404
Fix WinZip multihash
9 years ago
Jens Steube
7a4ab2b42d
Prepare for WinZip integration
9 years ago
jsteube
e47030ed7d
Prepare to rename project into hashcat
...
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
9 years ago
jsteube
9b3d18f87d
SIMD for slow hashes prototype
9 years ago
Jens Steube
abce366d00
Fixed -m 13500 kernels and tests
9 years ago
Jens Steube
aef8dc2b01
First working version of -m 13500
9 years ago
Jens Steube
9294aaccae
Merge pull request #311 from fgaudreault/master
...
Adding parser and basic kernels for -m 13500
9 years ago
Martin Lemay
d9889727e6
Removed SHA1 optimization.
9 years ago
Martin Lemay
a1aef652c2
Fixed snprintf.
9 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
...
Goal is a "what you see is what you get" value compared to: "singlehash -a 3 ?b?b?b?b?b?b?b" -- both with the same fixed -u and -n values
As a positive side-effect, this decreases total benchmark runtime
Add speed_cnt_total and speed_ms_total as a preparation to get rid of SPEED_MAXAGE which produces 0H/s display on very slow-hash types
Replace some floats with double which can (theoretically) become really big
9 years ago
Martin Lemay
89ebc48942
Fixed snprintf cast warnings
9 years ago
Francois Gaudreault
f76b9d0013
Adding Tests, fix one compile warning
9 years ago
Martin Lemay
39445340ae
Minor adj. and sanity check on pstoken_parse_hash().
9 years ago
Martin Lemay
f0535b1a52
ascii_digest additions.
9 years ago
Martin Lemay
ac35ab8111
esalt hex convertion.
9 years ago
Martin Lemay
8cf6607c87
Refactored 134 to 13500. Added esalt struct
9 years ago
Francois Gaudreault
2df81367df
Adding parser and basic kernels for -m 134
9 years ago
Jens Steube
37c40dcfb4
Accept \r as newline in thread_keypress()
9 years ago
Jens Steube
6fcf58e106
Fix for https://github.com/hashcat/oclHashcat/issues/302
9 years ago
Jens Steube
63ba540f2b
Add some additional information to error-text in read_restore()
9 years ago
Jens Steube
e6b9071b52
Cleanup -m 9800 kernels to latest standard
9 years ago
Jens Steube
fb6dec55af
Small fix related to 3cd83a4ab9
9 years ago
Jens Steube
1bc9e3ec85
Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
...
Should fix https://github.com/hashcat/oclHashcat/issues/288
9 years ago
Jens Steube
0f73c778d5
Optimized -m 8300 (DNSSEC) cracking performance in -a 3 mode
9 years ago
Michael Sprecher
0dcb762a8e
Added new hash mode -m 125 = ArubaOS
9 years ago
Fist0urs
34b8d89422
Added support of keyfiles within Keepass 1.x and Keepass 2.x
9 years ago
Jens Steube
32fff7cd13
Merge pull request #285 from philsmd/pr-keepass-parser-fix
...
fixed some parser checks for new keepass format (-m 13400)
9 years ago
philsmd
9ea2f5fef1
fixed some parser checks for new keepass format (-m 13400)
9 years ago
philsmd
b3dfd7057e
fixed -m 10200 = Cram MD5 parser: check for NULL pointers ASAP, check base64 input length
9 years ago
Fist0urs
52b17a602f
New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES)
9 years ago
Jens Steube
d0e7ee6824
Merge pull request #281 from philsmd/master
...
fixed base64_decode () input length validation for -m 8900
9 years ago
Jens Steube
88fafeb928
Synchronize maximum output line size with input line size
9 years ago
philsmd
9b75b245d5
fixed base64_decode () input length validation for -m 8900
9 years ago
Jens Steube
0fdebf904d
Replace BUFSIZ with HCBUFSIZ and move them from stack to heap
9 years ago
philsmd
9a135de1c1
fixed problem with -m 5600 = NetNTLMv2 parser
9 years ago
philsmd
e7e5333d23
fixed -m 5500 parser, avoid strange crashes
9 years ago
philsmd
e179c53f19
fixed some parser checks to avoid crashes (-m 5300/5400)
9 years ago
philsmd
5174de48c9
fixed -m 133 = PeopleSoft (-a 0/-a 1 problem only) + added to test.sh
9 years ago
philsmd
3c2f8fb88b
added some checks to the -m 1711 = SSHA-512(Base64), LDAP {SSHA512} parser
9 years ago
philsmd
bc965c9c9b
fixed checks in -m 500 parser
9 years ago
philsmd
b755e5b6f3
added some checks to the -m 111 = nsldaps, SSHA-1(Base64), Netscape LDAP SSHA parser
9 years ago
philsmd
8634bde118
added additional check for max. ESSID length to prevent eventual crashes
9 years ago
philsmd
3c1e05aaf3
#234 : increase max. salt length to 28 for -m 22 = Juniper Netscreen/SSG (ScreenOS)
9 years ago
Fist0urs
b0f1cb8a98
New format -m 13300 AxCrypt in memory SHA1
9 years ago
Fist0urs
9811a21098
-m 13100 Fix overflow in input hash parsing
9 years ago
Fist0urs
ad17fba9b6
New format -m 13200 AxCrypt
9 years ago
philsmd
0ea05ab292
minor: reformatting of recently changed code + use uint instead of unsigned int
9 years ago
gpuhash
541f231c23
Minor bugfix
9 years ago
gpuhash
d56394c849
Fairly strict stamping of WPA salt components
9 years ago
Jens Steube
990f973c48
Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
...
- DEVICE_TYPE_CPU
- DEVICE_TYPE_GPU
- DEVICE_TYPE_ACCELERATOR
Optimized IRIS GPU workaround settings
9 years ago
Fist0urs
62bed36638
Add verification of checksum for -m 13100
...
This avoid collisions by arc4'ing all data then hmac-md5
when valid ASN1 structures headers are found.
Performance should not be impacted.
9 years ago
Jens Steube
96bde85378
Allow mixed settings auto and fixed values for parameter and inside tuningdb for loops and accel
9 years ago
magnum
a5be8a75ed
Allow and support vector-width 16, which is current maximum for
...
OpenCL. Closes #226 .
9 years ago
philsmd
8298afa462
minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)
9 years ago
Fist0urs
c3dabdd69e
Initial commit
9 years ago
Jens Steube
c09bc848f7
Autotuning engine prototype
9 years ago
Jens Steube
2dfe9200d6
Remove Wordload-Profiles from tuningdb, we can simply calculate it
9 years ago
Jens Steube
02ad834c7f
Added new concept of a tuning database; tryout phase
9 years ago
Jens Steube
6d37c123a5
Merge branch 'master' of https://github.com/hashcat/oclHashcat
9 years ago
Jens Steube
ab5ecd8eaa
Fix some updated buffer sizes and new optimizer descriptions
9 years ago
Gabriele 'matrix' Gristina
e2db8afdf8
Add missing pthread_setaffinity_np for osx
9 years ago
Jens Steube
fa0e6fb78e
Merge pull request #204 from gm4tr1x/LoopAccelMod
...
gpu loops/accel per-device
9 years ago
Gabriele 'matrix' Gristina
fa7465aa86
gpu loops/accel per-device
9 years ago
Jens Steube
22834781f5
Hack in NvAPI_GPU_GetCoolerSettings(); Enables query fanspeed in percentage on windows
9 years ago
Gabriele 'matrix' Gristina
f3407cd7f4
HWMon mod
9 years ago
Gabriele 'matrix' Gristina
d120ede655
Update ADL Library Loader
9 years ago
Gabriele 'matrix' Gristina
5d4160dc8c
Fixed gcc warnings about missing field initializers
9 years ago
magnum
ce170ea980
Acquire an exclusive lock before writing to any file. Note that in
...
some cases we never explicitly unlock a file because fclose will do
it implicitly. Closes #172 .
9 years ago
Gabriele 'matrix' Gristina
9eefb4bcd7
Fixed get_profile_dir and get_session_dir byte missing bug
9 years ago
magnum
f5d6f9b6d4
Do not create a kernel cache file if build failed. Also disregard any
...
existing cache files with size of zero. Should close #164 .
9 years ago
Gabriele 'matrix' Gristina
6ba392c0df
Modified as @jsteube request
9 years ago
Gabriele 'matrix' Gristina
dcc4b5a60f
Added custom OSX kernel loops and gpu accel default values
...
Disabled some not yet worked hash types in OSX
9 years ago
Gabriele 'matrix' Gristina
58359f3b7e
Fixed 'buf' initialization for windows
9 years ago
Jens Steube
0997ae029e
Remove NO-BREAK SPACE character (utf8) from sources
9 years ago
Jens Steube
9c89b58f76
Merge pull request #153 from gm4tr1x/missingcheck
...
Added missing check for in_len in _old_apply_rule function
9 years ago
Jens Steube
d275748c7c
Merge pull request #152 from gm4tr1x/buf
...
Optimized memset calls and also some initializations
9 years ago
Gabriele 'matrix' Gristina
17d885ffa4
Added missing check for in_len in _old_apply_rule function
9 years ago
Gabriele 'matrix' Gristina
3abacf515c
Optimized memset calls and also some initializations
9 years ago
Gabriele 'matrix' Gristina
8d891ef0ba
Avoid sprintf
9 years ago
Gabriele 'matrix' Gristina
076597fe01
Fixed some memory allocations and other small things
9 years ago
Gabriele 'matrix' Gristina
5da79e4411
Added support for build without ADL/NVML/NVAPI (issue #120 )
...
Added support for build OSX native binaries (issue #63 )
9 years ago
philsmd
751a364125
#137 : fixes padding for base64_encode () and base64_decode()
9 years ago
philsmd
e1ae2538c6
cosmetic fix: some fixed typos e.g. to -> too
9 years ago
philsmd
5e92020180
buffer overflow fix for -m 8900 = scrypt
9 years ago
Gabriele 'matrix' Gristina
29636ca0a3
Re-fix ascii_digest
9 years ago
Gabriele 'matrix' Gristina
e9bc4caed3
Fixed a buffer overflow in ascii_digest for hash type 8300
9 years ago
jsteube
9fb506f15f
Fixed out of bounds access in -m 11300
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
f3b85a6363
Fix some clang compiler warnings
9 years ago
jsteube
d3981ee66a
Fix missing cast to uint
9 years ago
philsmd
cbe6be9246
set default iteration count for -m 2100 = DCC2 to 10240
9 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
...
If a platform like pocl is filtered by any of the filter mechanism do not request the user to use --force
9 years ago
Jens Steube
52d71de0d4
Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV
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
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
331188167c
Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
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
...
Details can be found here: https://github.com/hashcat/oclHashcat/issues/20
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
jsteube
0bf4e3c34a
- Dropped all vector code since new GPU's are all scalar, makes the code much easier
...
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
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"
...
This reverts commit f230ed73dc
.
Some kernel require too much constant memory and do not compile anymore
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
...
TODOS:
- Let oclHashcat actually use the new paths
- Find a better way for native compilation
- Replace /bin/cp with /usr/bin/install where it has to copy files recursive
9 years ago
Jens Steube
c460b554d0
- Fixed a bug related to --restore if the User
...
- Updated readme, we actually need catalyst 15.7 (for the binary package) because of OpenCL 2.0
9 years ago
philsmd
feeb44882b
allow both enabling and disabling of restore point update (implemented with issue #10 )
9 years ago
jsteube
968265fffb
- Prepared for JIT use of hash-mode 1500, 8900 and 9300, works already on OpenCL (AMD)
...
- Changed PROMPT
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