elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
29 Mayo 2012, 05:15  


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales

+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting (Moderadores: Novlucker, Leo Gutiérrez., EleKtro H@cker)
| | |-+  [Python] RFI Tester
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Python] RFI Tester  (Leído 147 veces)
Doddy

Desconectado Desconectado

Mensajes: 220



Ver Perfil
[Python] RFI Tester
« en: 7 Octubre 2011, 01:39 »

Hola a todos.

Acabo de hacer un simple verificador de vulnerabilidad RFI

Código
#!usr/bin/python
#RFI Tester (C) Doddy Hackman
 
import os,sys,urllib2,re
 
def header() :
print "\n--== RFI Tester ==--\n"
 
def copyright() :
print "\n\n(C) Doddy Hackman 2010\n"
exit(1)
 
def show() :
print "\n[*] Sintax : ",sys.argv[0]," <web>\n"
 
def toma(web) :
return urllib2.urlopen(web).read()
 
def test(web):
try:
 print "\n[+] Testing vulnerability RFI in",web
 code = toma(web+"http://www.supertangas.com")
 if(re.findall("Los mejores TANGAS de la red",code,re.I)):
  print "[+] RFI Detected"
 else:
  print "[-] RFI Not Found"
except:
 pass
 
header()
 
if len(sys.argv) != 2 :
show()
 
else :
test(sys.argv[1])
 
copyright()
 
 
#The End
 

Ejemplo de uso

Código:
python rfi.py http://127.0.0.1/rfi.php?index=

Código:
C:\Users\DoddyH\Desktop\Arsenal X parte 2>rfi.py http://127.0.0.1/rfi.php?index=

--== RFI Tester ==--


[+] Testing vulnerability RFI in http://127.0.0.1/rfi.php?index=
[+] RFI Detected

(C) Doddy Hackman 2010



« Última modificación: 8 Octubre 2011, 19:07 por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Firewall Tester
Análisis y Diseño de Malware
krispin 0 215 Último mensaje 3 Marzo 2006, 18:38
por krispin
Tester TROY 2.0.0 « 1 2 »
Análisis y Diseño de Malware
LixKeÜ 23 1,907 Último mensaje 14 Septiembre 2006, 01:18
por LixKeÜ
Tester
Electrónica
Yasmesita 2 1,180 Último mensaje 24 Abril 2010, 18:19
por Yasmesita
Placa Tester PCI POST
Hardware
mary_10 11 3,338 Último mensaje 30 Octubre 2010, 02:35
por mary_10
[Python] Proxy Tester
Scripting
Doddy 0 253 Último mensaje 16 Octubre 2011, 02:52
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines