diff --git a/connector.cpp b/connector.cpp index 6ec524b..7ce19e5 100644 --- a/connector.cpp +++ b/connector.cpp @@ -646,12 +646,9 @@ lopaStr _BABrute(char *cookie, char *ip, int port, char *pathT, char *method) if(port == 443) { ZeroMemory(recvBuff, sizeof(recvBuff)); -// while(baSSLLocked) Sleep(100); -// baSSLLocked = true; if(BALogSwitched) stt->doEmitionBAData("Probing SSL:BA " + QString(ip) + ":" + QString::number(port) + "; login/pass: "+ QString(tPass) + ";"); _baSSLWorker(ip, request, recvBuff); dataSz = strlen(recvBuff); -// baSSLLocked = false; } #pragma endregion else diff --git a/finder.cpp b/finder.cpp index 8857517..52dd141 100644 --- a/finder.cpp +++ b/finder.cpp @@ -2366,7 +2366,7 @@ void _getLinkFromJSLocation(char *dataBuff, char *str, char *tag, char *ip, int char link[512] = {0}; if(sz < 511) { - if(tempBuff[1] != '/' + if(tempBuff[0] != '/' && strstri(tempBuff, "http://") == NULL && strstri(tempBuff, "https://") == NULL ) @@ -2676,6 +2676,7 @@ int Lexems::_header(char *ip, int port, char str[], Lexems *l, PathStr *ps, std: || ps->flag == 10 ) return -2; + else if(ps->flag == -1) return -1; } else { @@ -2726,6 +2727,7 @@ int Lexems::_header(char *ip, int port, char str[], Lexems *l, PathStr *ps, std: || ps->flag == 10 ) return -2; + else if(ps->flag == -1) return -1; }; }; }; @@ -2847,7 +2849,8 @@ int Lexems::_header(char *ip, int port, char str[], Lexems *l, PathStr *ps, std: || flag == 13 || flag == 14 || flag >= 17 || flag == 10) { return -2; - }; + } + else if(ps->flag == -1) return -1; } else {