Finished xdp ebpf program, successfully showing packets received. Added client from Umbra, it will be the C&C client

This commit is contained in:
h3xduck
2021-11-22 18:58:58 -05:00
parent 23c7331d16
commit b04200526c
19 changed files with 522 additions and 371 deletions

16
src/client/Makefile Normal file
View File

@@ -0,0 +1,16 @@
CC = gcc
HEADERS = lib/RawTCP.h
EXTRA_CFLAGS= -I$(PWD)/lib
default:
make injector
client.o: client.c $(HEADERS)
gcc -c client.c
injector: client.o lib/libRawTCP_Lib.a
gcc -lm -o injector client.o -L. lib/libRawTCP_Lib.a
clean:
-rm -f client.o
-rm -f injector