mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
parent
4a87299ec6
commit
460994915c
@ -212,6 +212,11 @@ int pConnect(const char* ip, const int port, std::string *buffer,
|
|||||||
|| res == CURLE_SEND_ERROR
|
|| res == CURLE_SEND_ERROR
|
||||||
|| res == CURLE_RECV_ERROR
|
|| res == CURLE_RECV_ERROR
|
||||||
) {
|
) {
|
||||||
|
if (gNegDebugMode)
|
||||||
|
{
|
||||||
|
stt->doEmitionDebugFoundData("NConnect failed (curl_code: " + QString::number(res) + ") [<a href=\"" + QString(ip) +
|
||||||
|
"/\"><font color=\"#0084ff\">" + QString(ip) + " Port:" + QString::number(port) + "</font></a>]");
|
||||||
|
}
|
||||||
SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
SOCKET eNobuffSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
||||||
shutdown(eNobuffSocket, SD_BOTH);
|
shutdown(eNobuffSocket, SD_BOTH);
|
||||||
closesocket(eNobuffSocket);
|
closesocket(eNobuffSocket);
|
||||||
|
@ -23,7 +23,7 @@ extern QJsonArray *jsonArr;
|
|||||||
|
|
||||||
extern unsigned long long gTargetsNumber;
|
extern unsigned long long gTargetsNumber;
|
||||||
extern long long unsigned int gTargets;
|
extern long long unsigned int gTargets;
|
||||||
extern std::atomic<int> cons(0), BrutingThrds(0), gThreads(0);
|
extern std::atomic<int> cons, BrutingThrds, gThreads;
|
||||||
extern char **loginLst, **passLst,
|
extern char **loginLst, **passLst,
|
||||||
**wfLoginLst, **wfPassLst,
|
**wfLoginLst, **wfPassLst,
|
||||||
**ftpLoginLst, **ftpPassLst,
|
**ftpLoginLst, **ftpPassLst,
|
||||||
|
@ -584,7 +584,6 @@ void fillGlobalLogData(const char *ip, int port, const char *sz, const char *tit
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int __checkFileExistence(int flag)
|
int __checkFileExistence(int flag)
|
||||||
{
|
{
|
||||||
char fileName[64] = {0};
|
char fileName[64] = {0};
|
||||||
@ -767,8 +766,8 @@ void fputsf(char *text, int flag, char *msg)
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#define REDIRECT_PIC "<img src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAICAIAAAB/FOjAAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAA7SURBVHjaYmIgEbAA8f///4lUzcjIyILMAxE4lMINZUEWAxE4DIazmcjxA6YxRGkg0ussxJsNAQABBgDDuAwgjmnSVwAAAABJRU5ErkJggg=='/>"
|
#define REDIRECT_PIC "<img src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M/3AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAESSURBVHjaYvj//z8DEPxnBBEgFkAAMUJFGBgOHToEYv0HCCAGkAiMA6KZGBjgKhjs7OwYAAKIAWYKCMP0w5WDaBaQUmTABNaHBAACCMUMkDa49VAzWRgZGf/DjDlha8dQxohwBUgO7CyYsTBJZAD3Gkg1uiRQjhEggLAqAEnA2CzIkjC3wPhgE6CuhzvS4jCEDXIXzCS417r+M/xHDymUwAX5Aj3kUEzAhuFRia4T5gawN3GFAYgGCNA3FZgAAIKwiq7vrR4LI3MuTZBAnYpbTQrUszHsiOl8RFxFKeLYc0cGS9E4UeQX844pnrL1Wq0JA6+esQHbBk15y9fclaMVn6aQT9WY8RrRaF8Z1wp4Z5mrLRz17qdV1HtPAAAAAElFTkSuQmCC'/>"
|
||||||
#define PEKO_PIC "<a href='[PEKO]'><img src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAICAIAAAB/FOjAAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABASURBVHjaYmAgETAC8Yd1fESqFgj6BNLw//9/Yo1nZGSBsPg/SgHJTwLPiXISSTYQpe4/BIHNZSHJBnIAQIABAEhuFAfSpDW+AAAAAElFTkSuQmCC'/></a>"
|
#define PEKO_PIC "<a href='[PEKO]'><img src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M/3AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkSURBVHjaYvj//z8DEECIQ4cO/QcIIEaoCANcBCCAwCKHDx+GCzMxIAE7OzsGgABiQDLlP4jNwsjICNILVgFiM4AMgqkAYUao6XAzAAIIxQyQamQdIDkmZDNhAMQHYZAcE8wodEUwAPca2EVoACjHCBBAWBWAJGBsFmRJFP/BTED2FnowgRQwoYQbEhvFF8jGo7OZGHAAmIlM6MZj9SauMADRAAGGkgawKcRlMkpII2vEFSXYQgMejsRqxmYIRjDCJNFpZDbBYMYWqrhSHEoYkOoFnKkRm2HorsIajYSiEzn6YAAAuoS1lVGw2nsAAAAASUVORK5CYII='/></a>"
|
||||||
|
|
||||||
void putInFile(int flag, const char *ip, int port, int size, const char *finalstr, char *cp)
|
void putInFile(int flag, const char *ip, int port, int size, const char *finalstr, char *cp)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/nesca_3">
|
<qresource prefix="/nesca_3">
|
||||||
<file>small_font.ttf</file>
|
<file>small_font.ttf</file>
|
||||||
|
<file>xc.jpg</file>
|
||||||
<file>nesca.ico</file>
|
<file>nesca.ico</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
Loading…
Reference in New Issue
Block a user