binhards 0.1.0

A CLI tool to inspect compiled binaries (ELF, PE, Mach-O) for security mitigations and insecure patterns.
#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[]) {
    char buffer[100];
    
    if (argc > 1) {
        strcpy(buffer, argv[1]);
        printf("Input: %s\n", buffer);
    } else {
        printf("Usage: %s <input>\n", argv[0]);
    }

    char input[100];
    printf("Enter something (using gets - unsafe!): ");
    gets(input);
    printf("You entered: %s\n", input);

    return 0;
}