KhaosBringer icon

Phishing Site Random Info Spammer.py

KhaosBringer | PRO | 11/26/18 09:12:09 PM UTC | 0 ⭐ | 1638 👁️ | Never ⏰ | []
Python |

1.64 KB

|

None

|

0 👍

/

0 👎

#FloodPhishingSite
#A script that can be used to flood a phishing website with useless information.
#This script is designed confuse the Phishing Website makers, flooding them with useless information.
#Warning: Recommend use with a proxy.
#How to use it?
#Inspect the phishing website to find out the form elements (email, password). Then change the data structure in the attack function. #Also update the url with the phsihing website's url.
#Then launch it with:
#python goodbye.py 5
#(replace 5 with the number of threads you want to launch)
 
 
import urllib
import urllib2 
import random
import string
from threading import Thread
import sys
import time
 
'''the number of threads'''
num = int (sys.argv[1])
 
'''the number of minutes to run'''
minute = int (sys.argv[2])
 
'''the time to stop'''
timeout = time.time() + 60*minute
 
def attack():
    while True:
        if time.time() <= timeout:
            data = {
                'email': id_generator(random.randint(3,10))+"@"+id_generator(random.randint(3,10))+".com",
                'password': id_generator(random.randint(3,10)),
            }
            req = urllib2.Request(url="",
                                  data=urllib.urlencode(data), 
                                  headers={"Content-type": "application/x-www-form-urlencoded"}) 
            response = urllib2.urlopen(req)
            the_page = response.read()
            print 'flooded with '+ str(data)
        else
            break
 
def id_generator(size=12, chars=string.ascii_uppercase + string.digits):
    return ''.join(random.choice(chars) for _ in range(size))
 
if __name__ == "__main__":
    for k in range(0, num):
        thread = Thread(target = attack)
        thread.start()
        print 'Launched thread '+str(k)
        print

Comments