mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Arp sp00fing c0de
This commit is contained in:
parent
db7794d596
commit
aafb4a0a82
19 changed files with 330 additions and 191 deletions
|
|
@ -220,6 +220,11 @@ class NmapOps {
|
|||
should be skipped */
|
||||
char *XSLStyleSheet() { return xsl_stylesheet; }
|
||||
|
||||
/* Sets the spoofed MAC address */
|
||||
void setSpoofMACAddress(u8 *mac_data);
|
||||
/* Gets the spoofed MAC address, but returns NULL if it hasn't been set */
|
||||
const u8 *spoofMACAddress() { return spoof_mac_set? spoof_mac : NULL; }
|
||||
|
||||
int max_ips_to_scan; // Used for Random input (-iR) to specify how
|
||||
// many IPs to try before stopping. 0 means unlimited.
|
||||
int extra_payload_length; /* These two are for --data_length op */
|
||||
|
|
@ -290,5 +295,7 @@ class NmapOps {
|
|||
bool pTrace; // Whether packet tracing has been enabled
|
||||
bool vTrace; // Whether version tracing has been enabled
|
||||
char *xsl_stylesheet;
|
||||
u8 spoof_mac[6];
|
||||
bool spoof_mac_set;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue