Guest User

Untitled

a guest
May 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. FILE* fp = fopen("/etc/hosts", "r");
  2. Blocked = NO;
  3.  
  4. if(fp != NULL)
  5. {
  6. while(!feof(fp))
  7. {
  8. if(fgets(Temp, 95, fp) == NULL) break;
  9. if(strstr(Temp, "mm.admob.com") != NULL)
  10. {
  11. Blocked = YES;
  12. }
  13. }
  14. fclose(fp);
  15. }
Add Comment
Please, Sign In to add comment