Re: Facebook to be hacked
I have much practice. Any of the old VC regulars could tell you that~
I have much practice. Any of the old VC regulars could tell you that~


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int chkauth(char *password) {
int auth_flag = 0;
char buffer[16];
strcpy(buffer, password);
if(strcmp(buffer, "passwrd") == 0)
auth_flag = 1;
return auth_flag;
}
int main(int argc, char *argv[]) {
if(argc < 2) {
exit(0);
}
if(chkauth(argv[1])) {
printf("%s\n", "You got it");
} else {
printf("%s\n", "Nope");
}
}



Comment