Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

184 B
Raw Blame
#include <stdio.h>

// gcc -static -o readflag ./readflag.c
int main(){
    char s[1024] = {0};
    FILE *fp = fopen("/flag", "rb");
    fread(&s, 1, 1024, fp);
    printf("%s", s);
}