Some tests for payloads on the remote end

This commit is contained in:
2019-12-09 15:40:03 -05:00
parent 9e53560614
commit e9d5ec0243
4 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#include "../include/payload.h"
#include <elf.h>
#include <stdio.h>
void read_elf_header(const char *filename)
{
Elf64_Ehdr header;
FILE *file = fopen(filename, "rb");
if(file)
{
fread(&header, 1, sizeof(header), file);
}
}