This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
Scanner Class Reference
Demo - TCP Port Scanner. More...
#include <scanner.h>
Public Member Functions | |
Scanner (Sniffer *_sniffer) | |
Constructor. | |
void | handle_tcp (TCP_SegmentHeader *packet, u32 data_bytes) |
Handle incoming TCP packets. | |
void | finish () |
Handle the conclusion of the port scan (should not be called externally) | |
void | start (Ethernet_MAC src, Ethernet_MAC dst, IP_Address srcip, IP_Address dstip) |
Start a TCP port scan. | |
void | scan () |
Incremental scan updates (should not be called externally) |
Detailed Description
Demo - TCP Port Scanner.
Definition at line 25 of file scanner.h.
Constructor & Destructor Documentation
Member Function Documentation
void finish | ( | ) |
void handle_tcp | ( | TCP_SegmentHeader * | packet, |
u32 | data_bytes | ||
) |
void scan | ( | ) |
void start | ( | Ethernet_MAC | src, |
Ethernet_MAC | dst, | ||
IP_Address | srcip, | ||
IP_Address | dstip | ||
) |
Generated on Tue Jul 12 2022 11:59:40 by 1.7.2