projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee315fb
)
fixed -m 5500 parser, avoid strange crashes
author
philsmd
<philsmd@hashcat.net>
Mon, 21 Mar 2016 08:11:10 +0000
(09:11 +0100)
committer
philsmd
<philsmd@hashcat.net>
Mon, 21 Mar 2016 08:11:10 +0000
(09:11 +0100)
docs/changes.txt
patch
|
blob
|
history
src/shared.c
patch
|
blob
|
history
diff --git
a/docs/changes.txt
b/docs/changes.txt
index
6f5759d
..
f691d28
100644
(file)
--- a/
docs/changes.txt
+++ b/
docs/changes.txt
@@
-167,6
+167,10
@@
Type.: Bug
File.: Host
Desc.: Fixed some checks in the parser of -m 5300 = IKE-PSK MD5 and -m 5400 = IKE-PSK SHA1
+Type.: Bug
+File.: Host
+Desc.: Fixed some checks in the parser of -m 5500 = NetNTLMv1
+
* changes v2.00 -> v2.01:
Type.: Bug
diff --git
a/src/shared.c
b/src/shared.c
index
afb3d47
..
3679ae7
100644
(file)
--- a/
src/shared.c
+++ b/
src/shared.c
@@
-10795,7
+10795,7
@@
int netntlmv1_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
char *hash_pos = strchr (srvchall_pos, ':');
- if (srvchall_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
+ if (hash_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
uint srvchall_len = hash_pos - srvchall_pos;