Finished adapting the code to tcp packets (+ researched a lot about xdp and ebpf, we should be OK with xdps, found a lot of ideas)

This commit is contained in:
h3xduck
2021-11-23 19:55:44 -05:00
parent 516e98748c
commit 72fddcac62
12 changed files with 319 additions and 1503 deletions

View File

@@ -119,6 +119,8 @@ char* getLocalIpAddress(){
}*/
void send_secret_packet(char* argv){
//TODO revise this, in wireshark it is seen not to be a TCP packet??????
//Should be working, it did in other projects
char* local_ip = getLocalIpAddress();
printf("["KBLU"INFO"RESET"]""Victim IP selected: %s\n", argv);
check_ip_address_format(argv);