mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Fix up some more header includes
This commit is contained in:
2
nmap.h
2
nmap.h
@@ -232,8 +232,6 @@
|
|||||||
|
|
||||||
#define MAX_DECOYS 128 /* How many decoys are allowed? */
|
#define MAX_DECOYS 128 /* How many decoys are allowed? */
|
||||||
|
|
||||||
#define MAXFALLBACKS 20 /* How many comma separated fallbacks are allowed in the service-probes file? */
|
|
||||||
|
|
||||||
/* TCP Options for TCP SYN probes: MSS 1460 */
|
/* TCP Options for TCP SYN probes: MSS 1460 */
|
||||||
#define TCP_SYN_PROBE_OPTIONS "\x02\x04\x05\xb4"
|
#define TCP_SYN_PROBE_OPTIONS "\x02\x04\x05\xb4"
|
||||||
#define TCP_SYN_PROBE_OPTIONS_LEN (sizeof(TCP_SYN_PROBE_OPTIONS)-1)
|
#define TCP_SYN_PROBE_OPTIONS_LEN (sizeof(TCP_SYN_PROBE_OPTIONS)-1)
|
||||||
|
|||||||
@@ -4,9 +4,10 @@ extern "C" {
|
|||||||
#include "lauxlib.h"
|
#include "lauxlib.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "nmap.h"
|
|
||||||
#include "nse_debug.h"
|
#include "nse_debug.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
|
#undef NDEBUG
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
/* Print a Lua table. depth_limit is the limit on recursive printing of
|
/* Print a Lua table. depth_limit is the limit on recursive printing of
|
||||||
subtables. */
|
subtables. */
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
#define SERVICE_SCAN_H
|
#define SERVICE_SCAN_H
|
||||||
|
|
||||||
#include "portlist.h"
|
#include "portlist.h"
|
||||||
#include "nmap.h"
|
#include "scan_lists.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@@ -145,12 +145,17 @@
|
|||||||
# include <pcre.h>
|
# include <pcre.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef NDEBUG
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
/********************** DEFINES/ENUMS ***********************************/
|
/********************** DEFINES/ENUMS ***********************************/
|
||||||
#define DEFAULT_SERVICEWAITMS 5000
|
#define DEFAULT_SERVICEWAITMS 5000
|
||||||
#define DEFAULT_TCPWRAPPEDMS 2000 // connections closed after this timeout are not considered "tcpwrapped"
|
#define DEFAULT_TCPWRAPPEDMS 2000 // connections closed after this timeout are not considered "tcpwrapped"
|
||||||
#define DEFAULT_CONNECT_TIMEOUT 5000
|
#define DEFAULT_CONNECT_TIMEOUT 5000
|
||||||
#define DEFAULT_CONNECT_SSL_TIMEOUT 8000 // includes connect() + ssl negotiation
|
#define DEFAULT_CONNECT_SSL_TIMEOUT 8000 // includes connect() + ssl negotiation
|
||||||
#define SERVICEMATCH_REGEX 1
|
#define SERVICEMATCH_REGEX 1
|
||||||
|
#define MAXFALLBACKS 20 /* How many comma separated fallbacks are allowed in the service-probes file? */
|
||||||
|
|
||||||
// #define SERVICEMATCH_STATIC 2 -- no longer supported
|
// #define SERVICEMATCH_STATIC 2 -- no longer supported
|
||||||
|
|
||||||
/********************** STRUCTURES ***********************************/
|
/********************** STRUCTURES ***********************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user