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.

193 B
Raw Blame
#include <stdio.h>

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