2015-03-05 14:29:05 +00:00
|
|
|
#ifndef EXTERNDATA_H
|
|
|
|
#define EXTERNDATA_H
|
2015-04-16 11:51:51 +00:00
|
|
|
#include <atomic>
|
2015-03-05 14:29:05 +00:00
|
|
|
|
|
|
|
#include <qjsonarray.h>
|
2015-02-24 14:00:19 +00:00
|
|
|
#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 CSSOCKET(Socket) shutdown(Socket, SD_BOTH); closesocket(Socket); Socket = -1;
|
|
|
|
|
2015-02-27 13:55:35 +00:00
|
|
|
#ifndef CP_UTF8
|
|
|
|
#define CP_UTF8 65001
|
|
|
|
#endif
|
|
|
|
#ifndef CP_ACP
|
|
|
|
#define CP_ACP 0
|
|
|
|
#endif
|
|
|
|
|
2015-03-20 14:28:51 +00:00
|
|
|
#ifndef MAX_ADDR_LEN
|
|
|
|
#define MAX_ADDR_LEN 128
|
|
|
|
#endif
|
|
|
|
|
2015-02-24 14:00:19 +00:00
|
|
|
extern QJsonArray *jsonArr;
|
|
|
|
|
2015-04-14 11:58:33 +00:00
|
|
|
extern unsigned long long gTargetsNumber;
|
2015-04-03 14:36:22 +00:00
|
|
|
extern long long unsigned int gTargets;
|
2015-04-16 11:51:51 +00:00
|
|
|
extern std::atomic<int> cons, BrutingThrds, gThreads;
|
|
|
|
extern char **loginLst, **passLst, **wfLoginLst, **wfPassLst, **sshlpLst;
|
|
|
|
extern bool trackerOK, globalScanFlag, MapWidgetOpened,
|
|
|
|
widgetIsHidden, gNegDebugMode,
|
2015-03-06 14:32:36 +00:00
|
|
|
gDebugMode, horLineFlag, gPingNScan, gShuffle,
|
2015-04-16 11:51:51 +00:00
|
|
|
BALogSwitched;
|
2015-02-24 14:00:19 +00:00
|
|
|
extern int found, indexIP, gMode,
|
|
|
|
MaxPass, MaxLogin, MaxWFLogin, MaxWFPass, MaxSSHPass,
|
2015-04-16 11:51:51 +00:00
|
|
|
gMaxBrutingThreads,
|
2015-02-24 14:00:19 +00:00
|
|
|
gTimeOut, PieAnomC1, PieSusp, PieBA, PieLowl, PieWF, PieSSH,
|
2015-04-16 11:51:51 +00:00
|
|
|
AnomC1, filtered, Overl, Lowl, Alive, saved,
|
2015-03-05 14:29:05 +00:00
|
|
|
Susp,
|
2015-03-06 14:32:36 +00:00
|
|
|
WF,
|
2015-04-04 12:43:22 +00:00
|
|
|
baCount,
|
2015-04-16 11:51:51 +00:00
|
|
|
ssh, globalPinger, gPingTimeout;
|
2015-03-10 14:35:50 +00:00
|
|
|
extern unsigned int Activity;
|
|
|
|
extern char trcSrv[256], trcScr[256], trcProxy[128], trcPersKey[64],
|
2015-04-16 11:51:51 +00:00
|
|
|
trcPort[32], trcSrvPortLine[32],
|
2015-04-14 11:58:33 +00:00
|
|
|
gTLD[128], gPorts[65536],
|
2015-03-20 14:28:51 +00:00
|
|
|
gProxyIP[64], gProxyPort[8],
|
|
|
|
currentIP[MAX_ADDR_LEN],
|
|
|
|
finalIP[32];
|
2015-02-24 14:00:19 +00:00
|
|
|
|
2015-03-24 11:15:38 +00:00
|
|
|
extern char gVER[32];
|
|
|
|
|
2015-03-05 14:29:05 +00:00
|
|
|
#endif // EXTERNDATA
|