Fixed segmentation fault and removed the check for *Insufficient buffer/memory size...*. Also removed everything related to personal keys.

This commit is contained in:
ChronosX 2018-08-17 14:50:53 +03:00
parent 877be11d30
commit 2ccf5f8829
10 changed files with 169 additions and 470 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.pro.user
*.swo
*.swp
debugData.txt
@ -41,4 +42,4 @@ moc_*
*.user
Makefile
tmp/*
qrc_nesca_3.cpp
qrc_nesca_3.cpp

View File

@ -59,7 +59,7 @@ int KeyCheckerMain()
std::string buffer;
Connector con;
con.nConnect((std::string(trcSrv) + std::string(trcScr)).c_str(), std::stoi(trcSrvPortLine), &buffer, NULL, &headerVector);
con.nConnect((std::string(trcSrv) + std::string(trcScr)).c_str(), std::atoi(trcSrvPortLine), &buffer, NULL, &headerVector);
int hostStringIndex = buffer.find("\r\n\r\n");
if(hostStringIndex != -1) {
@ -69,7 +69,7 @@ int KeyCheckerMain()
std::string url = buffer.substr(s, e - s);
Connector con;
con.nConnect((url + std::string("/api/checkaccount?key=") + std::string(trcPersKey)).c_str(),
std::stoi(trcSrvPortLine), &buffer, NULL, &headerVector);
std::atoi(trcSrvPortLine), &buffer, NULL, &headerVector);
if(Utils::ustrstr(buffer, std::string("202 Accepted")) != -1) {
stt->doEmitionGreenFoundData("Key is valid.");

View File

@ -1,91 +1,5 @@
#include "Connector.h"
#include "SSHAuth.h"
// #include "Filter.h" // Pantene: Где файл?
//#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
//int _pingMyTarget(const char *ip)
//{
// HANDLE hIcmpFile;
// unsigned long ipaddr = INADDR_NONE;
// DWORD dwRetVal = 0;
// char SendData[32] = "Data Buffer";
// LPVOID ReplyBuffer = NULL;
// DWORD ReplySize = 0;
//
// ipaddr = inet_addr(ip);
//
// if (ipaddr == INADDR_NONE)
// {
// stt->doEmitionRedFoundData("[Pinger] INADDR_NONE! [" + QString(ip) + "]");
// return 0;
// }
//
// hIcmpFile = IcmpCreateFile();
// if (hIcmpFile == INVALID_HANDLE_VALUE)
// {
// stt->doEmitionRedFoundData("[Pinger] Unable to open handle. [" + QString::number(GetLastError()) + "]");
// return 0;
// }
//
// ReplySize = sizeof(ICMP_ECHO_REPLY) + sizeof(SendData);
// ReplyBuffer = (VOID*) malloc(ReplySize);
// if (ReplyBuffer == NULL)
// {
// stt->doEmitionRedFoundData("[Pinger] Unable to allocate memory.");
// return 0;
// }
//
// dwRetVal = IcmpSendEcho(hIcmpFile, ipaddr, SendData, sizeof(SendData),
// NULL, ReplyBuffer, ReplySize, gPingTimeout*1000);
// if (dwRetVal != 0) {
// PICMP_ECHO_REPLY pEchoReply = (PICMP_ECHO_REPLY)ReplyBuffer;
// struct in_addr ReplyAddr;
// ReplyAddr.S_un.S_addr = pEchoReply->Address;
// printf("\tSent icmp message to %s\n", "127.0.0.1");
// if (dwRetVal > 1)
// {
// if(gDebugMode) stt->doEmitionYellowFoundData("[Pinger] Received " + QString::number(dwRetVal) + " icmp message responses.");
// }
// else
// {
// if(gDebugMode) stt->doEmitionYellowFoundData("[Pinger] Received " + QString::number(dwRetVal) + " icmp message responses.");
// }
//
// if(gDebugMode) stt->doEmitionYellowFoundData("[Pinger] Received from: " + QString(inet_ntoa( ReplyAddr )) + "; Status = " + QString::number(pEchoReply->Status) + "; Roundtrip time = " + QString::number(pEchoReply->RoundTripTime) + "ms.");
// return 1;
// }
// else
// {
// printf("\tCall to IcmpSendEcho failed.\n");
// printf("\tIcmpSendEcho returned error: %ld\n", GetLastError() );
// if(gDebugMode) stt->doEmitionRedFoundData("[Pinger] Call to IcmpSendEcho failed. IcmpSendEcho returned error: " + QString::number(GetLastError()));
// return 0;
// };
//}
//#else
//int _pingMyTarget(const char *ip)
//{
// FILE *pipe = popen(("ping -w " + std::to_string(gPingTimeout) + " " + ip).c_str(), "r");
// if(!pipe) {
// stt->doEmitionRedFoundData("Ping pipe failed: cannot open pipe.");
// perror("pipe");
// return 0;
// }
//
// char buffer[128] = {0};
// std::string result;
//
// while(!feof(pipe)) {
// if(fgets(buffer, 128, pipe) != NULL){
// result += buffer;
// }
// }
// pclose(pipe);
//
// if(strstr((char*)result.c_str(), "100% packet loss") != NULL) return 0;
// return 1;
//}
//#endif
struct data {
char trace_ascii; /* 1 or 0 */
@ -146,7 +60,7 @@ int pConnect(const char* ip, const int port, std::string *buffer,
{
buffer->clear();
int res = 0;
CURL *curl = curl_easy_init();
CURL *curl = curl_easy_init();
if (curl != NULL)
{
@ -231,10 +145,10 @@ int pConnect(const char* ip, const int port, std::string *buffer,
SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
shutdown(eNobuffSocket, SD_BOTH);
closesocket(eNobuffSocket);
if (ENOBUFS == eNobuffSocket || ENOMEM == eNobuffSocket) {
/*if (ENOBUFS == eNobuffSocket || ENOMEM == eNobuffSocket) {
stt->doEmitionRedFoundData("Insufficient buffer/memory space. Sleeping for 10 sec...");
Sleep(10000);
}
}*/
return -1;
}
else {
@ -519,10 +433,10 @@ bool portCheck(const char * sDVRIP, int wDVRPort) {
SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
shutdown(eNobuffSocket, SD_BOTH);
closesocket(eNobuffSocket);
if (ENOBUFS == eNobuffSocket || ENOMEM == eNobuffSocket) {
/*if (ENOBUFS == eNobuffSocket || ENOMEM == eNobuffSocket) {
stt->doEmitionRedFoundData("Insufficient buffer/memory space. Sleeping for 10 sec...");
Sleep(10000);
}
}*/
}
return false;
}

View File

@ -43,4 +43,5 @@ public:
int connectToPort(char *ip, int port);
int checkIsDigestRTSP(const char *ip, std::string *buffer);
};
#endif // CONNECTOR_H

View File

@ -1000,10 +1000,9 @@ void MainStarter::startIPScan(){
unsigned long long curIP = i;
while (curIP <= ip2) {
tAddr.s_addr = ntohl(curIP);
tAddr.s_addr = ntohl(curIP);
ipVec.push_back(inet_ntoa(tAddr));
curIP += (long long)limit;
curIP += (long long)limit;
}
std::random_shuffle(ipVec.begin(), ipVec.end());
@ -1504,4 +1503,4 @@ void MainStarter::start(const char* targets, const char* ports) {
stt->doEmitionGreenFoundData("Done. Saved <u>" + QString::number(saved) +
"</u> of <u>" + QString::number(found) + "</u> nodes.");
stt->doEmitionKillSttThread();
}
}

View File

@ -113,7 +113,7 @@ char *_findLast(char *str, char *delim)
return (char *)(str + savedPosition);
}
char *getCodePage(const char *str)
char getCodePage(const char *str)
{
char cdpg[32] = {0};
char *ptr1 = strstri(str, "charset=");
@ -3566,8 +3566,11 @@ int Lexems::filler(char* ip, char *ipRaw, int port, std::string *buffcpy, int si
const std::string &location = handleRedirects(buffcpy, ip, port);
char cp[32] = { 0 };
strncpy(cp, getCodePage(buffcpy->c_str()), 32);
char cp[32] = { 0 };
//int codePageSize = sizeof(getCodePage(buffcpy->c_str()));
char codePage = getCodePage(buffcpy->c_str());
char *codePagePtr = &codePage;
strncpy(cp, codePagePtr, 32);
int flag = contentFilter((const std::string *) buffcpy, port, (location.size() > 0 ? location.c_str() : ip), cp, size);
if (flag != -1) {
const std::string &header = getHeader((const std::string *) buffcpy, flag);

View File

@ -1,6 +1,6 @@
#pragma once
#include "base64.h"
#include <libssh/libssh.h>
#include "libssh/libssh.h"
#include <curl/curl.h>
#include <vector>
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.2.1, 2015-04-03T15:20:42. -->
<!-- Written by QtCreator 4.7.0, 2018-08-14T21:40:29. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{09239471-2602-4d8c-98f8-d340993c53e4}</value>
<value type="QByteArray">{aee19962-08ac-4166-8673-b467f0f0742d}</value>
</data>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
@ -40,6 +40,7 @@
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
<value type="int" key="EditorConfiguration.TabSize">8</value>
@ -53,33 +54,37 @@
</data>
<data>
<variable>ProjectExplorer.Project.PluginSettings</variable>
<valuemap type="QVariantMap"/>
<valuemap type="QVariantMap">
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/>
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.3 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.3 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.53.gcc_64_kit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5101.gcc_64_kit</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/kvs/Documents/CProjects/build-nesca-Desktop_Qt_5_3_GCC_64bit-Debug</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/chronosx/Documents/Development/Nesca-build</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
@ -91,14 +96,14 @@
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
@ -110,21 +115,21 @@
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Очистка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Отладка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Отладка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/kvs/Documents/CProjects/build-nesca-Desktop_Qt_5_3_GCC_64bit-Release</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/chronosx/Documents/Development/build-nesca-Desktop_Qt_5_10_1_GCC_64bit-Release</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
@ -132,13 +137,14 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
@ -150,14 +156,14 @@
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
@ -169,35 +175,100 @@
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Очистка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Выпуск</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Выпуск</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/chronosx/Documents/Development/build-nesca-Desktop_Qt_5_10_1_GCC_64bit-Profile</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
<value type="QString">-w</value>
<value type="QString">-r</value>
</valuelist>
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Сборка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
<value type="QString">-w</value>
<value type="QString">-r</value>
</valuelist>
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Очистка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Профилирование</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Профилирование</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Установка</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Конфигурация установки</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
@ -236,12 +307,12 @@
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">nesca</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/kvs/Documents/CProjects/nesca/nesca.pro</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/chronosx/Documents/Development/nesca/nesca.pro</value>
<value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">nesca.pro</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/home/chronosx/Documents/Development/Nesca-build</value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
@ -258,10 +329,10 @@
</data>
<data>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">16</value>
<value type="int">18</value>
</data>
<data>
<variable>Version</variable>
<value type="int">16</value>
<value type="int">18</value>
</data>
</qtcreator>

View File

@ -158,77 +158,11 @@ int PekoWidget::m_yPos = 0;
int PekoWidget::m_windowCounter = 0;
int PekoWidget::offset = 0;
//
//int psh_lul(PIP_ADAPTER_INFO zzaza)
//{
// int chc = 0;
// for (int i = 0; i < zzaza->AddressLength; i++) chc += (zzaza->Address[i] << ((i & 1) * 8));
// return chc;
//}
//void hshjNune(int& mac1, int& mac2)
//{
// IP_ADAPTER_INFO idrigenopho[32];
// DWORD dwBufLen = sizeof(idrigenopho);
// DWORD dwStatus = GetAdaptersInfo(idrigenopho, &dwBufLen);
// if (dwStatus != ERROR_SUCCESS) return;
// PIP_ADAPTER_INFO pidrigenopho = idrigenopho;
// mac1 = psh_lul(pidrigenopho);
// if (pidrigenopho->Next) mac2 = psh_lul(pidrigenopho->Next);
//}
//int hsh_hsh()
//{
// DWORD psm = 0;
// GetVolumeInformation("C:\\", NULL, 0, &psm, NULL, NULL, NULL, 0);
// int ypyp = (int)((psm + (psm >> 16)) & 0xFFFF);
// return ypyp;
//}
//const char* fds_gds()
//{
// static char computerName[1024];
// DWORD size = 1024;
// GetComputerName(computerName, &size);
// static char cn[1024];
// for (int i = 0, j = 0; i < 512; i += 2, ++j) memset(cn + j, computerName[i], 1);
// return cn;
//}
//std::string grgNun() {
// DWORD Type;
// char value[64] = { 0 };
// HKEY hkey;
// if (RegOpenKey(HKEY_LOCAL_MACHINE,
// TEXT("Software\\ISKOPASI\\nesca3\\jipjip"), &hkey) == ERROR_SUCCESS)
// {
// DWORD value_length = 256;
// RegQueryValueEx(hkey, "nepnep", 0, &Type, (BYTE*)&value, &value_length);
// RegCloseKey(hkey);
// }
//
// std::string rNepnep = std::string(value);
// return rNepnep;
//}
//std::string ypypNunu()
//{
// int fafa1, faf2;
// hshjNune(fafa1, faf2);
// int d2 = hsh_hsh();
// char fds[1024] = { 0 };
// strcpy(fds, fds_gds());
// const std::string resNunu = std::to_string(fafa1) + "-"
// + std::to_string(d2) + "-" + std::string(fds) + "-"
// + std::string(trcPersKey);
//
// std::ostringstream strNunu;
// strNunu << std::setw(2) << std::setfill('0') << std::hex << std::uppercase;
// std::copy(resNunu.begin(), resNunu.end(), std::ostream_iterator<unsigned int>(strNunu, ""));
// return strNunu.str();
//}
//
//
void _LoadPersInfoToLocalVars(int savedTabIndex) {
//ZeroMemory(trcPersKey, sizeof(trcPersKey));
trcPersKey[0] = 0;
strncpy(trcPersKey, ui->linePersKey->text().toLocal8Bit().data(), 32);
memset(trcPersKey + 32, '\0', 1);
//trcPersKey[0] = 0;
//strncpy(trcPersKey, ui->linePersKey->text().toLocal8Bit().data(), 32);
//memset(trcPersKey + 32, '\0', 1);
currentIP[0] = 0;
finalIP[0] = 0;
gPorts[0] = 0;
@ -286,15 +220,15 @@ void _LoadPersInfoToLocalVars(int savedTabIndex) {
gPorts[ui->importPortLine->text().length() + 2] = '\0';
};
strcpy(trcSrv, ui->lineTrackerSrv->text().toLocal8Bit().data());
strcpy(trcScr, ui->lineTrackerScr->text().toLocal8Bit().data());
strncpy(trcPersKey, ui->linePersKey->text().toLocal8Bit().data(), 32);
memset(trcPersKey + 32, '\0', 1);
strcpy(trcSrvPortLine, ui->trcSrvPortLine->text().toLocal8Bit().data());
/*strcpy(trcSrv, ui->lineTrackerSrv->text().toLocal8Bit().data());
strcpy(trcScr, ui->lineTrackerScr->text().toLocal8Bit().data());
strncpy(trcPersKey, ui->linePersKey->text().toLocal8Bit().data(), 32);
memset(trcPersKey + 32, '\0', 1);
strcpy(trcSrvPortLine, ui->trcSrvPortLine->text().toLocal8Bit().data());
strncpy(gProxyIP, ui->systemProxyIP->text().toLocal8Bit().data(), 64);
gProxyIP[ui->systemProxyIP->text().size()] = '\0';
strncpy(gProxyPort, ui->systemProxyPort->text().toLocal8Bit().data(), 8);
gProxyPort[ui->systemProxyPort->text().size()] = '\0';
gProxyPort[ui->systemProxyPort->text().size()] = '\0';*/
}
Ui::nesca_3Class *ui = new Ui::nesca_3Class;
@ -440,7 +374,7 @@ void setSceneArea()
void setButtonStyleArea()
{
ui->checkKeyBut->setStyleSheet(
/*ui->checkKeyBut->setStyleSheet(
" #checkKeyBut {"
"background-color: qlineargradient(spread:none, x1:1, y1:0, x2:1, y2:1, stop:0.681818 rgba(0, 0, 0, 250), stop:1 rgba(255, 255, 255, 130));"
"color: #00b304;"
@ -452,7 +386,7 @@ void setButtonStyleArea()
"color: #1efd00;"
"border: 0.5px solid qlineargradient(spread:reflect, x1:0.54, y1:0.488591, x2:0.54, y2:0, stop:0 rgba(255, 255, 255, 130), stop:1 rgba(0, 0, 0, 255));"
"}"
);
);*/
ui->importButton->setStyleSheet(
" #importButton {"
"background-color: qlineargradient(spread:none, x1:1, y1:0, x2:1, y2:1, stop:0.681818 rgba(0, 0, 0, 250), stop:1 rgba(255, 255, 255, 130));"
@ -656,11 +590,11 @@ void SetValidators()
validator = new QRegExpValidator(QRegExp("(\\w|-|\\.)+((\\w|-|\\.)+)+"), NULL);
ui->lineILVL->setValidator(validator);
validator = new QRegExpValidator(QRegExp("\\d{1,5}"), NULL);
ui->trcSrvPortLine->setValidator(validator);
//validator = new QRegExpValidator(QRegExp("\\d{1,5}"), NULL);
//ui->trcSrvPortLine->setValidator(validator);
validator = new QRegExpValidator(QRegExp("[a-zA-Z0-9]{32}"), NULL);
ui->linePersKey->setValidator(validator);
//validator = new QRegExpValidator(QRegExp("[a-zA-Z0-9]{32}"), NULL);
//ui->linePersKey->setValidator(validator);
}
void nesca_3::slotDrawTextPlacers()
@ -2233,7 +2167,6 @@ void nesca_3::ConnectEvrthng()
connect ( ui->secretMessageBut_7, SIGNAL( clicked() ), this, SLOT( smReaction() ) );
connect ( ui->secretMessageBut_8, SIGNAL( clicked() ), this, SLOT( smReaction() ) );
connect ( ui->dataText, SIGNAL( anchorClicked(QUrl) ), this, SLOT( onLinkClicked(QUrl) ) );
connect ( ui->checkKeyBut, SIGNAL( clicked() ), this, SLOT( CheckPersKey() ) );
connect ( ui->DataflowModeBut, SIGNAL( clicked() ), this, SLOT( slotShowDataflow() ) );
connect ( ui->JobModeBut, SIGNAL( clicked() ), this, SLOT( switchToJobMode() ) );
connect ( ui->clearLogBut, SIGNAL( clicked() ), this, SLOT( slotClearLogs() ) );
@ -2261,7 +2194,7 @@ void nesca_3::ConnectEvrthng()
connect ( ui->restoreDefaultPorts1, SIGNAL( clicked() ), this, SLOT( slotRestoreDefPorts() ) );
connect ( ui->restoreDefaultPorts2, SIGNAL( clicked() ), this, SLOT( slotRestoreDefPorts() ) );
connect ( ui->restoreDefaultPorts3, SIGNAL( clicked() ), this, SLOT( slotRestoreDefPorts() ) );
connect ( ui->dnsLine, SIGNAL(textChanged(QString)), this, SLOT(DNSLine_ValueChanged(QString)));
connect ( ui->dnsLine, SIGNAL(textChanged(QString)), this, SLOT(DNSLine_ValueChanged(QString)));
connect ( ui->ipLine, SIGNAL( returnPressed() ), this, SLOT( startScanButtonClicked() ) );
connect ( ui->threadLine, SIGNAL( returnPressed() ), this, SLOT( startScanButtonClicked() ) );
@ -2464,9 +2397,9 @@ void RestoreSession()
};
};
setUIText("[NDBSERVER]:", ui->lineTrackerSrv, resStr);
/*setUIText("[NDBSERVER]:", ui->lineTrackerSrv, resStr);
setUIText("[NDBSCRIPT]:", ui->lineTrackerScr, resStr);
setUIText("[NDBPORT]:", ui->trcSrvPortLine, resStr);
setUIText("[NDBPORT]:", ui->trcSrvPortLine, resStr);*/
if (strstr(resStr, "[PING]:") != NULL) {
lex = strstr(resStr, "[PING]:") + strlen("[PING]:");
@ -2503,20 +2436,20 @@ void RestoreSession()
}
}
setUIText("[MAXBTHR]:", ui->maxBrutingThrBox, resStr);
setUIText("[PERSKEY]:", ui->linePersKey, resStr);
//setUIText("[PERSKEY]:", ui->linePersKey, resStr);
//ZeroMemory(trcPersKey, sizeof(trcPersKey));
trcPersKey[0] = 0;
strncpy(trcPersKey, resStr, 32);
memset(trcPersKey + 32, '\0', 1);
setUIText("[SYSTEMPROXYIP]:", ui->systemProxyIP, resStr);
setUIText("[SYSTEMPROXYPORT]:", ui->systemProxyPort, resStr);
/*setUIText("[SYSTEMPROXYIP]:", ui->systemProxyIP, resStr);
setUIText("[SYSTEMPROXYPORT]:", ui->systemProxyPort, resStr);*/
resStr[0] = 0;
//ZeroMemory(resStr, sizeof(resStr));
};
fclose(resFile);
_LoadPersInfoToLocalVars(nesca_3::savedTabIndex);
//_LoadPersInfoToLocalVars(nesca_3::savedTabIndex);
stt->doEmitionGreenFoundData("Previous session loaded.");
};
}
@ -2690,21 +2623,6 @@ void nesca_3::startScanButtonClicked()
if(startFlag == false)
{
stt->doEmitionStartScanIP();
/*if(trackerOK)
{
if(ui->linePersKey->text().size() != 0)
{
CheckPersKey();
}
else
{
stt->doEmitionRedFoundData("Empty \"Personal key\" field. ");
};
}
else
{
stt->doEmitionStartScanIP();
};*/
}
else
{
@ -2882,7 +2800,7 @@ void nesca_3::IPScanSeq()
ui->tabMainWidget->setTabEnabled(1, false);
ui->tabMainWidget->setTabEnabled(2, false);
saveOptions();
saveOptions();
stt->setMode(0);
stt->setTarget((ui->ipLine->text().indexOf("-") > 0 ? ui->ipLine->text() :
@ -2929,7 +2847,7 @@ void nesca_3::DNSScanSeq()
ui->lineILVL->setText(topLevelDomainStr);
};
saveOptions();
//saveOptions();
stt->setMode(1);
stt->setTarget(ui->dnsLine->text());
@ -2974,7 +2892,7 @@ void nesca_3::ImportScanSeq()
ui->tabMainWidget->setTabEnabled(0, false);
ui->tabMainWidget->setTabEnabled(1, false);
_LoadPersInfoToLocalVars(savedTabIndex);
//_LoadPersInfoToLocalVars(savedTabIndex);
stt->setMode(-1);
stt->setTarget(fileName);
@ -3175,7 +3093,7 @@ void nesca_3::finishLoading() {
//fuThread.detach();
_startVerCheck();
_startMsgCheck();
//_startMsgCheck();
qrp.setMinimal(true);
drawVerboseArcs(0);
@ -3412,7 +3330,7 @@ nesca_3::nesca_3(bool isWM, QWidget *parent = 0) : QMainWindow(parent)
ui->tabMainWidget->setTabEnabled(0, true);
ui->tabMainWidget->setTabEnabled(1, true);
ui->tabMainWidget->setTabEnabled(2, true);
finishLoading();
finishLoading();
/*
FILE* pipe = NULL;
@ -3444,7 +3362,7 @@ nesca_3::nesca_3(bool isWM, QWidget *parent = 0) : QMainWindow(parent)
nesca_3::~nesca_3()
{
delete[] ui;
delete ui;
}
void nesca_3::STTTerminate()

View File

@ -97,7 +97,7 @@
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>3</number>
<number>0</number>
</property>
<property name="elideMode">
<enum>Qt::ElideMiddle</enum>
@ -966,10 +966,13 @@ color: rgb(214, 214, 0);</string>
<string>Options</string>
</attribute>
<widget class="QCheckBox" name="trackerOnOff">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>120</y>
<y>60</y>
<width>281</width>
<height>17</height>
</rect>
@ -989,161 +992,18 @@ color: rgb(214, 214, 0);</string>
<property name="text">
<string>Send results to public NescaDatabase</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineTrackerScr">
<property name="geometry">
<rect>
<x>250</x>
<y>2</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:none;</string>
</property>
<property name="text">
<string>/go/</string>
</property>
<property name="maxLength">
<number>256</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Balancer script</string>
</property>
</widget>
<widget class="QLineEdit" name="lineTrackerSrv">
<property name="geometry">
<rect>
<x>30</x>
<y>2</y>
<width>211</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:none;</string>
</property>
<property name="text">
<string>balancer.d3w.org</string>
</property>
<property name="maxLength">
<number>256</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Balancer url</string>
</property>
</widget>
<widget class="QLineEdit" name="linePersKey">
<property name="geometry">
<rect>
<x>30</x>
<y>22</y>
<width>341</width>
<height>12</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56); border:none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>32</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Your personal key here</string>
</property>
</widget>
<widget class="QLineEdit" name="trcSrvPortLine">
<property name="geometry">
<rect>
<x>379</x>
<y>2</y>
<width>62</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:none;</string>
</property>
<property name="text">
<string>80</string>
</property>
<property name="maxLength">
<number>5</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Balancer port here</string>
</property>
</widget>
<widget class="QPushButton" name="checkKeyBut">
<property name="geometry">
<rect>
<x>379</x>
<y>18</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Eurostile</family>
<pointsize>8</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Check key</string>
</property>
</widget>
<widget class="QCheckBox" name="pingingOnOff">
<property name="geometry">
<rect>
<x>30</x>
<y>84</y>
<y>40</y>
<width>75</width>
<height>17</height>
</rect>
@ -1176,8 +1036,8 @@ color: rgb(214, 214, 0);</string>
</property>
<property name="geometry">
<rect>
<x>108</x>
<y>86</y>
<x>110</x>
<y>40</y>
<width>51</width>
<height>15</height>
</rect>
@ -1207,8 +1067,8 @@ color: rgb(214, 214, 0);</string>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>163</x>
<y>85</y>
<x>160</x>
<y>40</y>
<width>31</width>
<height>16</height>
</rect>
@ -1233,7 +1093,7 @@ color: rgb(214, 214, 0);</string>
<property name="geometry">
<rect>
<x>390</x>
<y>69</y>
<y>30</y>
<width>51</width>
<height>20</height>
</rect>
@ -1264,7 +1124,7 @@ color: rgb(214, 214, 0);</string>
<property name="geometry">
<rect>
<x>320</x>
<y>69</y>
<y>30</y>
<width>68</width>
<height>16</height>
</rect>
@ -1286,7 +1146,7 @@ color: rgb(214, 214, 0);</string>
<property name="geometry">
<rect>
<x>320</x>
<y>84</y>
<y>50</y>
<width>62</width>
<height>26</height>
</rect>
@ -1312,7 +1172,7 @@ color: rgb(214, 214, 0);</string>
<property name="geometry">
<rect>
<x>390</x>
<y>90</y>
<y>60</y>
<width>51</width>
<height>20</height>
</rect>
@ -1343,7 +1203,7 @@ color: rgb(214, 214, 0);</string>
<property name="geometry">
<rect>
<x>30</x>
<y>68</y>
<y>20</y>
<width>161</width>
<height>17</height>
</rect>
@ -1370,71 +1230,6 @@ color: rgb(214, 214, 0);</string>
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="systemProxyIP">
<property name="geometry">
<rect>
<x>30</x>
<y>38</y>
<width>341</width>
<height>12</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="toolTip">
<string/>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56); border:none;</string>
</property>
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>32</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Proxy here</string>
</property>
</widget>
<widget class="QLineEdit" name="systemProxyPort">
<property name="geometry">
<rect>
<x>379</x>
<y>38</y>
<width>62</width>
<height>12</height>
</rect>
</property>
<property name="font">
<font>
<family>Small Fonts</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(216, 216, 216);background-color: rgb(56, 56, 56);border:none;</string>
</property>
<property name="text">
<string>3128</string>
</property>
<property name="maxLength">
<number>5</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>Balancer port here</string>
</property>
</widget>
</widget>
</widget>
<widget class="QLabel" name="labelNesca_3">
@ -1743,7 +1538,7 @@ p, li { white-space: pre-wrap; }
<x>10</x>
<y>210</y>
<width>480</width>
<height>16</height>
<height>20</height>
</rect>
</property>
<property name="font">
@ -3273,9 +3068,6 @@ p, li { white-space: pre-wrap; }
<tabstop>lineILVL</tabstop>
<tabstop>dnsPortLine</tabstop>
<tabstop>lineEditThread</tabstop>
<tabstop>lineTrackerSrv</tabstop>
<tabstop>lineTrackerScr</tabstop>
<tabstop>linePersKey</tabstop>
<tabstop>trackerOnOff</tabstop>
<tabstop>tabMainWidget</tabstop>
<tabstop>startScanButton_3</tabstop>