feature: default interface and basic start

This commit is contained in:
0x35c
2025-05-21 18:22:46 +02:00
parent ba6eb6c27e
commit 1361cd9f9c
13 changed files with 170 additions and 10 deletions

16
include/scan.h Normal file
View File

@ -0,0 +1,16 @@
#pragma once
#include <stdint.h>
typedef enum {
SCAN_SYN,
SCAN_NULL,
SCAN_ACK,
SCAN_FIN,
SCAN_XMAS,
SCAN_UDP,
SCAN_TCP,
} e_scantype;
int routine(const char *ip_addr, e_scantype type, uint16_t min_port,
uint16_t max_port);