1.86b: Auth header and time display fixes
- HTTP auth header value changed from "basic" to "Basic" to compensate for picky web frameworks. - Minor fix to time display code.
This commit is contained in:
parent
276ce8a5a8
commit
2b28b72176
|
@ -1,3 +1,11 @@
|
||||||
|
Version 1.86b:
|
||||||
|
--------------
|
||||||
|
|
||||||
|
- HTTP auth header value changed from "basic" to "Basic" to
|
||||||
|
compensate for picky web frameworks.
|
||||||
|
|
||||||
|
- Minor fix to time display code.
|
||||||
|
|
||||||
Version 1.85b:
|
Version 1.85b:
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PROGNAME = skipfish
|
PROGNAME = skipfish
|
||||||
VERSION = 1.85b
|
VERSION = 1.86b
|
||||||
|
|
||||||
OBJFILES = http_client.c database.c crawler.c analysis.c report.c
|
OBJFILES = http_client.c database.c crawler.c analysis.c report.c
|
||||||
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \
|
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \
|
||||||
|
|
|
@ -958,7 +958,7 @@ u8* build_request_data(struct http_request* req) {
|
||||||
|
|
||||||
lpb64 = b64_encode(lp, strlen((char*)lp));
|
lpb64 = b64_encode(lp, strlen((char*)lp));
|
||||||
|
|
||||||
ASD("Authorization: basic ");
|
ASD("Authorization: Basic ");
|
||||||
ASD(lpb64);
|
ASD(lpb64);
|
||||||
ASD("\r\n");
|
ASD("\r\n");
|
||||||
|
|
||||||
|
@ -2482,7 +2482,7 @@ void http_stats(u64 st_time) {
|
||||||
en_time = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
|
en_time = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
|
||||||
|
|
||||||
SAY(cLBL "Scan statistics:\n\n"
|
SAY(cLBL "Scan statistics:\n\n"
|
||||||
cGRA " Scan time : " cNOR "%u:%02u:%02u.%04u\n"
|
cGRA " Scan time : " cNOR "%u:%02u:%02u.%03u\n"
|
||||||
cGRA " HTTP requests : " cNOR "%u (%.01f/s), %llu kB in, "
|
cGRA " HTTP requests : " cNOR "%u (%.01f/s), %llu kB in, "
|
||||||
"%llu kB out (%.01f kB/s) \n"
|
"%llu kB out (%.01f kB/s) \n"
|
||||||
cGRA " Compression : " cNOR "%llu kB in, %llu kB out "
|
cGRA " Compression : " cNOR "%llu kB in, %llu kB out "
|
||||||
|
|
Loading…
Reference in New Issue