There is a program:
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char pass[10] = {0}; printf("Enter password ?"); scanf("%s", pass); if(strcmp(pass, "zorg443") == 0) { printf("Success.\r\n"); } else { printf("Bad password.\r\n"); return EXIT_FAILURE; } return EXIT_SUCCESS; } I'm sitting on kali linux. I got the idea to open a.out (on windows name.exe) via bless hex editor (Reads the 16th code), and in it the password is directly allocated. How can you encrypt it to protect against this?