document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(int argc, char **argv)
  5. {
  6.      char copy_buff[263];
  7.      char exploit_string[1024];
  8.      char vuln_array[256];
  9.  
  10.      if(argc <= 2){
  11.           printf("Usage: %s <name> <message>.\\n", argv[0]);
  12.           exit(0);}
  13.  
  14.      strncpy(vuln_array, argv[1], sizeof(vuln_array));
  15.      strncpy(exploit_string, argv[2], sizeof(exploit_string));
  16.      
  17.      sprintf(copy_buff, "MSG: %s\\n", vuln_array);
  18.      printf("%s\\n", copy_buff);
  19.      return(0);
  20. }
');