mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
ntlm long string fix attempt
This commit is contained in:
parent
6c1db2a038
commit
e693c2fe8f
1 changed files with 3 additions and 3 deletions
6
ntlm.c
6
ntlm.c
|
@ -1172,7 +1172,7 @@ static void dumpRaw(FILE * fp, unsigned char *buf, size_t len) {
|
|||
|
||||
static char *unicodeToString(char *p, size_t len) {
|
||||
int i;
|
||||
static char buf[1024];
|
||||
static char buf[4096];
|
||||
|
||||
assert(len + 1 < sizeof buf);
|
||||
|
||||
|
@ -1186,7 +1186,7 @@ static char *unicodeToString(char *p, size_t len) {
|
|||
}
|
||||
|
||||
static unsigned char *strToUnicode(char *p) {
|
||||
static unsigned char buf[1024];
|
||||
static unsigned char buf[4096];
|
||||
size_t l = strlen(p);
|
||||
int i = 0;
|
||||
|
||||
|
@ -1201,7 +1201,7 @@ static unsigned char *strToUnicode(char *p) {
|
|||
}
|
||||
|
||||
static unsigned char *toString(char *p, size_t len) {
|
||||
static unsigned char buf[1024];
|
||||
static unsigned char buf[4096];
|
||||
|
||||
assert(len + 1 < sizeof buf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue