Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. #include<string.h>
  4. int main(int argc, char **argv){
  5. char * passwd = "myMilkShakesBringAllTheBoysToTheYard";
  6. if(argc == 1){
  7. printf("need a passwd boi\n");
  8. exit(0);
  9. }
  10. if(strcmp(passwd,argv[1]) == 0){
  11. printf("flag is the password, congrats!\n");
  12. }else{
  13. printf("LOL TRY AGAIN\n");
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement