mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
56 lines
1.6 KiB
C
56 lines
1.6 KiB
C
#ifndef EXTERNDATA_H
|
|
#define EXTERNDATA_H
|
|
|
|
#include <qjsonarray.h>
|
|
#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;
|
|
|
|
#ifndef CP_UTF8
|
|
#define CP_UTF8 65001
|
|
#endif
|
|
#ifndef CP_ACP
|
|
#define CP_ACP 0
|
|
#endif
|
|
|
|
#ifndef MAX_ADDR_LEN
|
|
#define MAX_ADDR_LEN 128
|
|
#endif
|
|
|
|
extern QJsonArray *jsonArr;
|
|
|
|
extern unsigned long long gTargetsOverall;
|
|
extern long long unsigned int gTargets;
|
|
extern volatile int cons, BrutingThrds, gThreads;
|
|
extern char **loginLst, **passLst, **wfLoginLst, **wfPassLst, **sshlpLst, **GlobalNegatives;
|
|
extern bool trackerOK, __savingBackUpFile, globalScanFlag, MapWidgetOpened,
|
|
widgetIsHidden, OnlineMsgSentFlag, HTMLDebugMode, gNegDebugMode,
|
|
gDebugMode, horLineFlag, gPingNScan, gShuffle,
|
|
BALogSwitched;
|
|
extern int found, indexIP, gMode,
|
|
MaxPass, MaxLogin, MaxWFLogin, MaxWFPass, MaxSSHPass,
|
|
GlobalNegativeSize, gMaxBrutingThreads,
|
|
gTimeOut, PieAnomC1, PieSusp, PieBA, PieLowl, PieWF, PieSSH,
|
|
gThreadDelay, AnomC1, Filt, Overl, Lowl, Alive, saved,
|
|
Susp,
|
|
WF,
|
|
baCount,
|
|
offlines, ssh, globalPinger, gPingTimeout, nickFlag, offlineFlag;
|
|
extern unsigned int Activity;
|
|
extern char trcSrv[256], trcScr[256], trcProxy[128], trcPersKey[64],
|
|
trcPort[32], trcSrvPortLine[32], saveEndIP[128],
|
|
gRange[128], gTLD[128], gPorts[65536],
|
|
gProxyIP[64], gProxyPort[8],
|
|
currentIP[MAX_ADDR_LEN],
|
|
finalIP[32];
|
|
|
|
extern char gVER[32];
|
|
|
|
struct pl{
|
|
int loginCounter;
|
|
int passCounter;
|
|
};
|
|
|
|
#endif // EXTERNDATA
|