Debian Codegraph @

src/global.h

raw
1 /*
2 * DIRB
3 *
4 * global.h - Global Includes
5 *
6 */
7
8
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string.h>
12 #include <unistd.h>
13 #include <time.h>
14 #include <termios.h>
15 #include <sys/types.h>
16 #include <sys/stat.h>
17 #include <curl/curl.h>
18 #include <sys/ioctl.h>
19 #include <errno.h>
20 #include <libgen.h>
21 #include "../config.h"
22
23
24 /* Constantes */
25
26 #define MAX_FAILS 3
27 #define TIMEOUT 50
28 #define BIGWORDLIST 100000
29 #define AGENT_STRING "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
30 #define MAX_ALERT 100
31 #define STRING_SIZE 256
32 #define DUMP_TIMEOUT 100
33
34 #define DUMP_DIR ".cache/dirb/resume"
35 #define OPTIONS_DUMP ".cache/dirb/resume/options.dump"
36 #define WORDLIST_DUMP ".cache/dirb/resume/wordlist.dump"
37 #define DIRLIST_DUMP ".cache/dirb/resume/dirlist.dump"
38