diff --git a/00000036.wav b/00000036.wav deleted file mode 100644 index 8466549..0000000 Binary files a/00000036.wav and /dev/null differ diff --git a/ActivityDrawerTh_HorNet.o b/ActivityDrawerTh_HorNet.o new file mode 100644 index 0000000..f853f59 Binary files /dev/null and b/ActivityDrawerTh_HorNet.o differ diff --git a/BasicAuth.o b/BasicAuth.o new file mode 100644 index 0000000..71793f8 Binary files /dev/null and b/BasicAuth.o differ diff --git a/BruteUtils.o b/BruteUtils.o new file mode 100644 index 0000000..cc4a32c Binary files /dev/null and b/BruteUtils.o differ diff --git a/CheckKey_Th.cpp b/CheckKey_Th.cpp index 753ba05..34a0c1a 100644 --- a/CheckKey_Th.cpp +++ b/CheckKey_Th.cpp @@ -1,5 +1,4 @@ #include "CheckKey_Th.h" -#include "CheckProxy_Th.h" #include "STh.h" #include "externData.h" #include "externFunctions.h" diff --git a/CheckKey_Th.o b/CheckKey_Th.o new file mode 100644 index 0000000..c657fc6 Binary files /dev/null and b/CheckKey_Th.o differ diff --git a/CheckProxy_Th.cpp b/CheckProxy_Th.cpp deleted file mode 100644 index 02f10b2..0000000 --- a/CheckProxy_Th.cpp +++ /dev/null @@ -1,149 +0,0 @@ -#include "CheckProxy_Th.h" -#include "externData.h" - -void CheckProxy_Th::doEmitChangeRedIRCData(QString str) -{ - emit chPTh->changeRedIRCData(str); -}; -void CheckProxy_Th::doEmitChangeGreenIRCData(QString str) -{ - emit chPTh->changeGreenIRCData(str); -}; -void CheckProxy_Th::doEmitChangeYellowIRCData(QString str) -{ - emit chPTh->changeYellowIRCData(str); -}; -void CheckProxy_Th::doEmitChangeRawIRCDataInc(QString str) -{ - emit chPTh->changeRawIRCDataInc(str); -}; -void CheckProxy_Th::doEmitChangeRawIRCDataOut(QString str) -{ - emit chPTh->changeRawIRCDataOut(str); -}; - -void CheckProxyLogic() -{ - QString str1 = ui->ircProxyPort->text(); - QString str2 = ui->ircProxy->text(); - strcpy(ircProxy, str2.toUtf8().data()); - strcpy(ircProxyPort, str1.toUtf8().data()); - - SOCKET pSock; - char precvBuff[2048] = {0}; - sockaddr_in addr; - addr.sin_family = AF_INET; - addr.sin_port = htons(atoi(ircProxyPort)); - - HOSTENT *host; - -#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__) - if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.S_un.S_addr = inet_addr(ircProxy); - else if(host = gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0]; -#else - if(inet_addr(ircProxy) != INADDR_NONE) addr.sin_addr.s_addr = inet_addr(ircProxy); - else if(host=gethostbyname (ircProxy)) ((unsigned long*) &addr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0]; -#endif - pSock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); - - if(pSock == INVALID_SOCKET) - { - - chPTh->doEmitChangeRedIRCData("CheckProxy: -INVALID SOCKET."); - - } - else - { - if(connect(pSock, (sockaddr*)&addr, sizeof(addr)) != SOCKET_ERROR) - { - - chPTh->doEmitChangeRawIRCDataOut(QString::fromLocal8Bit("CONNECT 2ip.ru HTTP/1.1\r\n\r\n")); - - send(pSock, "CONNECT 2ip.ru HTTP/1.1\r\n\r\n", strlen("CONNECT 2ip.ru HTTP/1.1\r\n\r\n"), 0); - - while(recv(pSock, precvBuff, sizeof(precvBuff), 0) > 0) - { - - chPTh->doEmitChangeRawIRCDataInc(QString::fromLocal8Bit(precvBuff)); - - if( (strstr(precvBuff, "HTTP/1.1 200 OK") || strstr(precvBuff, "200 OK") - || strstr(precvBuff, "OK 200") || strstr(precvBuff, "200 Connection") - ) - && (strlen(precvBuff) < 150) - && strstr(precvBuff, "404 File Not Found") == NULL - && - ( - strstr(precvBuff, "Invalid Request") == NULL - || strstr(precvBuff, "Invalid request") == NULL || strstr(precvBuff, "invalid request") == NULL - || strstr(precvBuff, "400 Bad Request") == NULL || strstr(precvBuff, " 400 bad request") == NULL - ) - ) - { - - chPTh->doEmitChangeRawIRCDataOut(QString::fromLocal8Bit("GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n")); - - send(pSock, "GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n", strlen("GET / HTTP/1.1\r\nHost: 2ip.ru\r\n\r\n"), 0); - ZeroMemory(precvBuff, sizeof(precvBuff)); - while(recv(pSock, precvBuff, sizeof(precvBuff), 0) > 0) - { - - chPTh->doEmitChangeRawIRCDataInc(QString::fromLocal8Bit(precvBuff)); - - if(strstr(precvBuff, "404 File Not Found") == NULL && strstr(precvBuff, "Invalid Request") == NULL - && strstr(precvBuff, "Invalid request") == NULL && strstr(precvBuff, "invalid request") == NULL - && strstr(precvBuff, "400 Bad Request") == NULL && strstr(precvBuff, "400 bad request") == NULL - && strstr(precvBuff, "404 Not") == NULL && strstr(precvBuff, "404 not") == NULL - && strstr(precvBuff, "500 Internal") == NULL && strstr(precvBuff, "500 internal") == NULL - && strstr(precvBuff, "401 Unauthorized") == NULL && strstr(precvBuff, "401 unauthorized") == NULL - && strstr(precvBuff, "InvalidUrl") == NULL && strstr(precvBuff, "invalidurl") == NULL - && strstr(precvBuff, "Invalid Url") == NULL && strstr(precvBuff, "invalid url") == NULL - && strstr(precvBuff, "Gateway Timeout") == NULL && strstr(precvBuff, "Gateway timeout") == NULL - && strstr(precvBuff, "gateway timeout") == NULL - ) - { - chPTh->doEmitChangeGreenIRCData("[OK] Success! Now using " + QString(ircProxy) + ":" + QString(ircProxyPort) + "."); - - proxyEnabledFlag = 1; - - CSSOCKET(pSock); - break; - } - else - { - - chPTh->doEmitChangeRedIRCData(QString(ircProxy) + ":" + QString(ircProxyPort) + " - is not CONNECT proxy? Try another one."); - - proxyEnabledFlag = 0; - - CSSOCKET(pSock); - break; - }; - }; - break; - } - else - { - - chPTh->doEmitChangeRedIRCData(QString(ircProxy) + ":" + QString(ircProxyPort) + " - is not CONNECT proxy? Try another one."); - - proxyEnabledFlag = 0; - - CSSOCKET(pSock); - break; - }; - }; - } - else - { - - chPTh->doEmitChangeRedIRCData("Cannot connect to " + QString(ircProxy) + ":" + QString(ircProxyPort) + "."); - - proxyEnabledFlag = 0; - }; - }; -}; - -void CheckProxy_Th::run() -{ - CheckProxyLogic(); -}; diff --git a/CheckProxy_Th.h b/CheckProxy_Th.h deleted file mode 100644 index d2f93c5..0000000 --- a/CheckProxy_Th.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef CHECKPROXY_TH_H -#define CHECKPROXY_TH_H - -#pragma once -#include "nesca_3.h" - -class CheckProxy_Th : public QThread -{ - Q_OBJECT - -public: signals: void changeRedIRCData(QString); -public: signals: void changeGreenIRCData(QString); -public: signals: void changeYellowIRCData(QString); -public: signals: void changeRawIRCDataInc(QString); -public: signals: void changeRawIRCDataOut(QString); - -public: - void doEmitChangeRedIRCData(QString str); - void doEmitChangeGreenIRCData(QString str); - void doEmitChangeYellowIRCData(QString str); - void doEmitChangeRawIRCDataOut(QString str); - void doEmitChangeRawIRCDataInc(QString str); -protected: - void run(); -}; -extern CheckProxy_Th *chPTh; -#endif // CHECKPROXY_TH_H diff --git a/CheckProxy_Th.o b/CheckProxy_Th.o new file mode 100644 index 0000000..f5b9003 Binary files /dev/null and b/CheckProxy_Th.o differ diff --git a/Connector.o b/Connector.o new file mode 100644 index 0000000..14da8af Binary files /dev/null and b/Connector.o differ diff --git a/DrawerTh_GridQoSScanner.o b/DrawerTh_GridQoSScanner.o new file mode 100644 index 0000000..d285c1a Binary files /dev/null and b/DrawerTh_GridQoSScanner.o differ diff --git a/DrawerTh_HorNet.o b/DrawerTh_HorNet.o new file mode 100644 index 0000000..f80161f Binary files /dev/null and b/DrawerTh_HorNet.o differ diff --git a/DrawerTh_ME2Scanner.o b/DrawerTh_ME2Scanner.o new file mode 100644 index 0000000..a865831 Binary files /dev/null and b/DrawerTh_ME2Scanner.o differ diff --git a/DrawerTh_QoSScanner.o b/DrawerTh_QoSScanner.o new file mode 100644 index 0000000..1fe2acd Binary files /dev/null and b/DrawerTh_QoSScanner.o differ diff --git a/DrawerTh_VoiceScanner.o b/DrawerTh_VoiceScanner.o new file mode 100644 index 0000000..57279bc Binary files /dev/null and b/DrawerTh_VoiceScanner.o differ diff --git a/FTPAuth.o b/FTPAuth.o new file mode 100644 index 0000000..bed994c Binary files /dev/null and b/FTPAuth.o differ diff --git a/IRCPinger_Th.cpp b/IRCPinger_Th.cpp deleted file mode 100644 index 29fde02..0000000 --- a/IRCPinger_Th.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include "IRCPinger_Th.h" -#include "externData.h" - -void IRCPinger_Th::doEmitChangeRedIRCData(QString str) -{ - emit ircPTh->changeRedIRCData(str); -}; -void IRCPinger_Th::doEmitRestartIRC() -{ - emit ircPTh->RestartIRC(); -}; - -void IRCPinger_Th::run() -{ - while(iWantToConnect) - { - if(globalPinger >= 360) //6min timeout - { - - ircPTh->doEmitChangeRedIRCData("-//- Ping timeout. Reconnecting... "); - - - ircPTh->doEmitRestartIRC(); - globalPinger = 0; - msleep(10000); - }; - ++globalPinger; - msleep(1000); - }; -}; diff --git a/IRCPinger_Th.h b/IRCPinger_Th.h deleted file mode 100644 index 5872ea4..0000000 --- a/IRCPinger_Th.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef IRCPINGER_TH_H -#define IRCPINGER_TH_H - -#pragma once -#include "nesca_3.h" -extern int iWantToConnect; - -class IRCPinger_Th : public QThread -{ - Q_OBJECT - -public: - static void doEmitChangeRedIRCData(QString str); - static void doEmitRestartIRC(); - -public: signals: void changeRedIRCData(QString); -public: signals: void RestartIRC(); - -protected: - void run(); -}; -extern IRCPinger_Th *ircPTh; -#endif // IRCPINGER_TH_H diff --git a/IRCPinger_Th.o b/IRCPinger_Th.o new file mode 100644 index 0000000..8e55e7e Binary files /dev/null and b/IRCPinger_Th.o differ diff --git a/STh.o b/STh.o new file mode 100644 index 0000000..5a402ea Binary files /dev/null and b/STh.o differ diff --git a/Threader.o b/Threader.o new file mode 100644 index 0000000..2e7127a Binary files /dev/null and b/Threader.o differ diff --git a/Utils.o b/Utils.o new file mode 100644 index 0000000..ae958c6 Binary files /dev/null and b/Utils.o differ diff --git a/WebformWorker.o b/WebformWorker.o new file mode 100644 index 0000000..16216d8 Binary files /dev/null and b/WebformWorker.o differ diff --git a/base64.o b/base64.o new file mode 100644 index 0000000..e17de10 Binary files /dev/null and b/base64.o differ diff --git a/connector_old.o b/connector_old.o new file mode 100644 index 0000000..446277b Binary files /dev/null and b/connector_old.o differ diff --git a/externData.h b/externData.h index 8e1e8ea..51d0b0b 100644 --- a/externData.h +++ b/externData.h @@ -5,7 +5,6 @@ #define RECV_MAX_SIZE 350000 #define REQUEST_MAX_SIZE 4096 #define PORTSET "80,81,88,8080,8081,60001,60002,8008,8888,554,9000,441,4111,6667,3536,22,21" -#define IRC_CHAN "iskopasi_lab03" #define CSSOCKET(Socket) shutdown(Socket, SD_BOTH); closesocket(Socket); Socket = -1; @@ -27,7 +26,7 @@ extern char top_level_domain[128]; extern volatile int cons, BrutingThrds, gThreads; extern char **loginLst, **passLst, **wfLoginLst, **wfPassLst, **sshlpLst, **GlobalNegatives; extern bool trackerOK, __savingBackUpFile, globalScanFlag, MapWidgetOpened, - widgetIsHidden, OnlineMsgSentFlag, utfIRCFlag, HTMLDebugMode, gNegDebugMode, + widgetIsHidden, OnlineMsgSentFlag, HTMLDebugMode, gNegDebugMode, gDebugMode, horLineFlag, gPingNScan, gShuffle, BALogSwitched; extern int found, indexIP, gMode, @@ -41,7 +40,6 @@ extern int found, indexIP, gMode, offlines, ssh, globalPinger, gPingTimeout, nickFlag, offlineFlag; extern unsigned int Activity; extern char trcSrv[256], trcScr[256], trcProxy[128], trcPersKey[64], - ircServer[32], ircPort[32], ircProxy[64], ircProxyPort[8], ircNick[32], trcPort[32], trcSrvPortLine[32], saveEndIP[128], gRange[128], gFirstDom[128], gPorts[65536], gVER[16], diff --git a/finder.cpp b/finder.cpp index 79a3af8..620bbd8 100644 --- a/finder.cpp +++ b/finder.cpp @@ -489,7 +489,6 @@ char topBuff[1024] = {"