Arp sp00fing c0de

This commit is contained in:
fyodor 2005-07-26 06:26:00 +00:00
parent db7794d596
commit aafb4a0a82
19 changed files with 330 additions and 191 deletions

View file

@ -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;
};