nesca/externData.h

49 lines
1.6 KiB
C
Raw Normal View History

2015-03-05 14:29:05 +00:00
#ifndef EXTERNDATA_H
#define EXTERNDATA_H
#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 IRC_CHAN "iskopasi_lab03"
#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-02-24 14:00:19 +00:00
extern QJsonArray *jsonArr;
extern unsigned long long gTargetsOverall, Activity;
extern char top_level_domain[128];
extern volatile int BA, cons, BrutingThrds, gThreads;
extern char **loginLst, **passLst, **wfLoginLst, **wfPassLst, **sshlpLst, **GlobalNegatives;
extern bool trackerOK, __savingBackUpFile, globalScanFlag, MapWidgetOpened,
widgetIsHidden, OnlineMsgSentFlag, utfIRCFlag, HTMLDebugMode, gNegDebugMode,
2015-03-06 14:32:36 +00:00
gDebugMode, horLineFlag, gPingNScan, gShuffle,
BALogSwitched;
2015-02-24 14:00:19 +00:00
extern int found, indexIP, gMode,
MaxPass, MaxLogin, MaxWFLogin, MaxWFPass, MaxSSHPass,
GlobalNegativeSize, isActive, gMaxBrutingThreads,
gTimeOut, PieAnomC1, PieSusp, PieBA, PieLowl, PieWF, PieSSH,
gThreadDelay, AnomC1, Filt, Overl, Lowl, Alive, saved,
2015-03-05 14:29:05 +00:00
Susp,
2015-03-06 14:32:36 +00:00
WF,
offlines, ssh, globalPinger, gPingTimeout, nickFlag, offlineFlag;
2015-02-24 14:00:19 +00:00
extern char trcSrv[256], trcScr[256], trcProxy[128], trcPersKey[32],
ircServer[32], ircPort[32], ircProxy[64], ircProxyPort[8], ircNick[32],
trcPort[32], trcSrvPortLine[32], saveStartIP[128], saveEndIP[128],
gRange[128], gFirstDom[128], gPorts[65536], endIP2[128],
2015-03-06 14:32:36 +00:00
gVER[16],
gProxyIP[64], gProxyPort[8];
2015-02-24 14:00:19 +00:00
struct pl{
int loginCounter;
int passCounter;
};
2015-03-05 14:29:05 +00:00
#endif // EXTERNDATA