jsteube
038b915e2d
Fixed runtime limit: No longer required so sample startup time after refactorization
2017-01-05 22:34:47 +01:00
jsteube
992bc01f3c
Fixed parsing of hashes in case the last line did not include a linefeed character
2017-01-05 21:58:24 +01:00
Jens Steube
e5e97c6ff8
Merge branch 'master' of https://github.com/hashcat/hashcat
2017-01-05 17:39:31 +01:00
Jens Steube
e3ad2f9b7d
Fixed buffer overflow in plaintext parsing code: Leading to segfault
2017-01-05 17:39:14 +01:00
jsteube
45daaab6ac
If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
2017-01-05 16:21:57 +01:00
jsteube
b3067680a7
If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
2017-01-05 16:15:12 +01:00
jsteube
ad42dd59ac
Fixed hash-mode 11400 = SIP digest authentication (MD5): Cracking of hashes which did not include *auth* or *auth-int* was broken
2017-01-05 16:14:12 +01:00
jsteube
aa89b8b951
Make the PID controller more smooth
2017-01-04 15:01:35 +01:00
jsteube
78d73e64fe
Workaround added for Intel OpenCL runtime: GPU support is broken, skip the device unless user forces to enable it
2017-01-04 11:23:57 +01:00
jsteube
33aeae6090
For CYGWIN prefer to use "opencl.dll" (installed by drivers) instead of optional "cygOpenCL-1.dll"
2017-01-04 10:59:21 +01:00
jsteube
6d8e938549
Added production flag in Makefile to disable all the GCC compiler options needed only for development
2017-01-04 10:33:20 +01:00
jsteube
1f756bf752
Include passwords for removed hashes present in the potfile to next loopback iteration
2017-01-03 19:21:27 +01:00
jsteube
1f266fb0f2
Added new event EVENT_WEAK_HASH_ALL_CRACKED if all hashes have been cracked during weak hash check
2017-01-03 09:56:40 +01:00
jsteube
e1b5de12d5
Fixed potfile loading to accept blank passwords
2017-01-03 09:39:13 +01:00
jsteube
d36cc4c5cb
Give some extra space for plain_buf1 in case $HEX[...] is added
2016-12-31 15:17:01 +01:00
Jens Steube
9d98d696c0
Merge branch 'master' of https://github.com/hashcat/hashcat
2016-12-31 15:11:08 +01:00
Jens Steube
feb6d4f740
Fixed buffer overflow in status screen display in case of long non-utf8 string
2016-12-31 15:10:53 +01:00
jsteube
a4f40ac226
Added old potfile detection, show warning message
2016-12-31 13:52:35 +01:00
jsteube
8a47c32537
Fixed display screen to show input queue when using custom charset or rules
2016-12-31 13:37:26 +01:00
Jens Steube
fe37fce73f
Merge pull request #941 from lifanov/master
...
respect ports tree CFLAGS and LFLAGS step 2
2016-12-30 17:22:18 +01:00
Jens Steube
d73c8ebb2a
Merge branch 'master' of https://github.com/hashcat/hashcat
2016-12-30 17:21:46 +01:00
Jens Steube
0cdf929ab2
Fix -m 9720 byte swaps
2016-12-30 17:21:27 +01:00
Nikolai Lifanov
9616c80e25
respect ports tree CFLAGS and LFLAGS step 2
...
It's actually less confusing to let the port set
the other two options as well, so just move the whole
block under ifdef PORTNAME.
2016-12-30 08:41:15 -05:00
Nikolai Lifanov
4cce9a9fd1
respect ports tree CFLAGS and LFLAGS
...
FreeBSD ports need to respect flags passed down by the build system.
This enables FreeBSD hashcat port to use upstream hashcat source code
patch-free.
2016-12-30 08:19:00 -05:00
Gabriele Gristina
472206384d
Try fix -rpath usage
2016-12-29 23:36:19 +01:00
jsteube
d2c76d9320
This commit splits the native hashcat binary into the hashcat library and hashcat frontend.
...
I've tested this with Linux and Msys2. I hope it will work on FreeBSD, OSX and Cygwin as well.
There's also four new dedicated makefile targets for install: install_library install_hashcat install_docs install_shared
Also the main_shared.c and its makefile target have been removed, as the main frontend is the best example possible
2016-12-29 20:40:07 +01:00
jsteube
9f64f9e705
Removed *throttled* message from NVML as this created more confusion than it helped
2016-12-29 19:07:05 +01:00
jsteube
4a81601c0a
Reenabled automatic status screen display in case of stdin used
2016-12-29 13:05:29 +01:00
jsteube
b42a177528
Fixes https://github.com/hashcat/hashcat/issues/934
2016-12-29 10:43:58 +01:00
jsteube
ada22000b5
Fixes https://github.com/hashcat/hashcat/issues/932
2016-12-28 22:11:35 +01:00
jsteube
07078e8c14
Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries
2016-12-28 14:05:26 +01:00
jsteube
45aae6a178
Switched matching ADL device with OpenCL device by using PCI bus, device and function
2016-12-28 10:51:39 +01:00
Jens Steube
f22836b35e
Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function
2016-12-27 19:20:27 +01:00
Jens Steube
c77c9ff72e
Switched matching NvAPI device with OpenCL device by using PCI bus, device and function
2016-12-27 17:41:29 +01:00
Jens Steube
2c82e53d38
Switched matching NVML device with OpenCL device by using PCI bus, device and function
2016-12-27 14:44:12 +01:00
jsteube
ee6b81aa62
Add hm_NVML_nvmlDeviceGetPciInfo() for later use
2016-12-27 14:01:24 +01:00
Jens Steube
d259f96790
Fix -m 10600 and -m 10700 parser
2016-12-26 15:58:01 +01:00
jsteube
514fc0fe75
Switch hex_to_u32() to LE
...
Also fixes -m 11100 is_valid_hex_string()
2016-12-26 15:09:56 +01:00
jsteube
ceed66d50b
Switch hex_to_u64() to LE
2016-12-26 13:09:41 +01:00
jsteube
f0b287e838
Get rid of bin_to_hex_lower(), add u8_to_hex_lower(), u32_to_hex_lower() and u64_to_hex_lower()
2016-12-26 12:52:06 +01:00
jsteube
45479978c4
Fix some warning messages
2016-12-26 12:02:10 +01:00
jsteube
89d0d99bdb
Shader Model version message is confusing users, rename it to CUDA version
2016-12-25 14:52:12 +01:00
jsteube
9113a57fe6
Use vasprintf not asprintf
2016-12-24 00:57:38 +01:00
jsteube
a077a72a4e
Merge branch 'master' of https://github.com/hashcat/hashcat
2016-12-24 00:41:16 +01:00
jsteube
6ece83760d
Add wrapping function for asprintf()
2016-12-24 00:40:40 +01:00
jsteube
fa5b5d298d
Hash Parser: Improved error detection of invalid hex characters where hex character are expected
2016-12-23 14:57:46 +01:00
jsteube
72af615e8b
WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected
2016-12-22 02:17:49 +01:00
Jens Steube
1b4edc92ee
Merge pull request #925 from neheb/master
...
Replace some snprintf calls with asprintf.
2016-12-21 00:39:51 +01:00
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
2016-12-19 16:46:30 -08:00
jsteube
e4ba40dd7e
OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken
2016-12-18 22:35:23 +01:00
jsteube
24a3aff5ea
Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks
2016-12-18 16:01:23 +01:00
jsteube
4b9cb7bbcf
Fixed hex output of plaintext in case --outfile-format 4, 5, 6 or 7 was used
...
Fixes https://github.com/hashcat/hashcat/issues/922
2016-12-18 13:11:54 +01:00
Jens Steube
cafd4b50e7
Merge pull request #919 from matrix/master
...
Add support for SHA-224
2016-12-17 20:03:50 +01:00
Gabriele Gristina
37f562cabd
Reorganized 'SHA-2' constants
2016-12-17 19:50:28 +01:00
Gabriele Gristina
496c749b2b
Add missings requirements for SHA-224 support
2016-12-17 19:09:52 +01:00
Jens Steube
eda7344f34
Merge pull request #920 from neheb/master
...
Last remnant of stderror
2016-12-17 14:16:29 +01:00
jsteube
767ad440b2
Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used
2016-12-17 14:09:58 +01:00
Rosen Penev
cf4045cc6e
Last remnant of stderror
2016-12-16 17:32:19 -08:00
Gabriele Gristina
8b0764bc4d
Add support for SHA-224
2016-12-16 02:05:12 +01:00
jsteube
72599fd109
Fixed kernel loops in leading to slower performance in --increment mode
2016-12-15 13:19:10 +01:00
jsteube
0d31ee3b53
Alternative --progress-only in case of multiple salts cracking
2016-12-10 18:12:03 +01:00
jsteube
367024da3f
Fix --progress-only in case of multiple salts cracking
2016-12-10 16:16:48 +01:00
jsteube
f424650c3b
Fixed infinite loop when using --loopback in case all hashes have been cracked
...
Fixes https://github.com/hashcat/hashcat/issues/917
2016-12-10 09:37:59 +01:00
jsteube
ec5610271a
New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit
2016-12-09 23:44:43 +01:00
jsteube
f9ba94954b
Added sanity check to disallow --speed-only in combination with -i
2016-12-09 15:26:35 +01:00
jsteube
1342cf2ce3
Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
2016-12-09 14:54:13 +01:00
Jens Steube
fa598a463f
Merge pull request #913 from anthraxx/master
...
extend global CFLAGS and LDFLAGS to aid distro packaging
2016-12-07 12:30:02 +01:00
Jens Steube
2b24f60310
Merge pull request #912 from neheb/master
...
Fix %m with MinGW and potentially OS X.
2016-12-07 12:24:45 +01:00
anthraxx
62fc436a4f
extend global CFLAGS and LDFLAGS to aid distro packaging
...
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.
this re-fixes 7f8aaf7430
after it was
somehow undone ;)
2016-12-06 20:39:04 +01:00
Gabriele Gristina
cadd3d24ea
Fix sec_etc overflow
2016-12-04 15:54:34 +01:00
Rosen Penev
66d4eea649
Fix %m with MinGW
2016-12-03 17:38:27 -08:00
Rosen Penev
f27675a0ec
Only apply gnu_printf to MinGW
2016-12-03 16:04:38 -08:00
Gabriele Gristina
134922ba7a
Fix wrong usage of ctime_r()
2016-12-03 14:59:35 +01:00
Jens Steube
035dcd6898
Merge pull request #898 from neheb/master
...
Thread safety fixes.
2016-12-03 13:04:27 +01:00
Rosen Penev
96591f3118
Replace ctime with _r variant
2016-12-02 21:32:18 -08:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
2016-12-02 21:26:10 -08:00
Nikolai Lifanov
4c8addcfb5
FreeBSD: fix refactoring some more - sysctl produces a string
2016-12-02 19:43:51 -05:00
jsteube
cc1dca7a2b
Fixed double free (actually, double fclose()) in opencl.c
2016-12-02 20:39:42 +01:00
magnum
fb56ce9b5a
Only lock loopback and pot files while actually writing to them. Closes #893 .
2016-12-02 11:18:55 +01:00
jsteube
f218e85c4d
Fix -m 7300 hash output from ascii_digest()
2016-12-01 17:28:19 +01:00
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
2016-11-30 15:14:42 -08:00
Rosen Penev
f5f17997b2
Fix cppcheck warnings
2016-11-30 14:45:21 -08:00
jsteube
d8cccfce48
Reset cracking register in case autotune engine accidentially cracked a hash
2016-11-30 17:51:59 +01:00
jsteube
daddffa3dc
Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated
2016-11-30 15:36:51 +01:00
jsteube
8d899db110
Add FOREGROUND_INTENSITY to windows error message color
2016-11-30 11:45:24 +01:00
jsteube
cad3b3e10b
Get rid of truecrypt_mdlen
2016-11-30 11:41:31 +01:00
jsteube
3c40b88eff
Status: Do not show Recovered/Time as floats but as integers to reduce over-information
2016-11-30 11:12:56 +01:00
jsteube
813911788a
Status: Do not show Recovered/Time when cracking < 1000 hashes
2016-11-30 11:12:30 +01:00
Jens Steube
60bc53311c
Merge pull request #891 from neheb/master
...
Fix compilation for native Cygwin
2016-11-30 00:29:42 +01:00
Rosen Penev
96783ed7a3
Fix compilation for native Cygwin
2016-11-29 14:10:39 -08:00
jsteube
db5291a76c
Add special weak-hash detection section for LM
...
Fixes https://github.com/hashcat/hashcat/issues/889
2016-11-29 20:37:29 +01:00
jsteube
72d0b272c2
Update win_file_globbing.mk to not check 32 bit folder in 64 bit compilation
2016-11-29 13:46:59 +01:00
jsteube
f6e0f1494a
Add a warning using beignet driver
2016-11-29 13:02:05 +01:00
neheb
eff04d1633
Change fseek and ftell to o variants
...
Standard way to do 64-bit file sizes
2016-11-28 16:50:27 -08:00
Jens Steube
d1fe054d65
Merge branch 'master' of https://github.com/hashcat/hashcat
2016-11-28 15:20:28 +01:00
Jens Steube
cd3fae958d
Add Makefile code to find CRT_glob.o using the native target when compiling on Cygwin or Msys2 host
2016-11-28 15:20:10 +01:00
Gabriele Gristina
49b44da588
Request build log only if size > 1 (v2)
2016-11-27 21:40:01 +01:00
jsteube
e77c029dad
Fixed event_log_warning() format in debug builds
2016-11-27 12:43:26 +01:00
jsteube
ed149fdd52
More benchmark fixes
2016-11-26 20:14:30 +01:00
jsteube
a56aa30754
Fix reported speed for slow hashes which was broken somewhere between hashcat (v3.10-809-g7fe575e) to hashcat (v3.10-820-g899413f)
2016-11-26 19:48:39 +01:00