Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python2
- # -*- coding: utf-8 -*-
- # EH BOCAH RECODER MINGGIR GUNAKAN AJA NAPA TOLOL
- #CODED ERIC PEDRA
- #https://www.facebook.com/Ahmad.AI.Ghazali
- #22 FEBUARI 2019
- # IMPORTS
- import requests
- import time
- import py_compile
- from api import *
- from colorama import Fore
- from colorama import Style
- from pprint import pprint
- from colorama import init
- init(autoreset=True)
- # COLORAMA COLORS
- rd = Fore.RED
- cy = Fore.CYAN
- wh = Fore.WHITE
- gr = Fore.GREEN
- yl = Fore.YELLOW
- mg = Fore.MAGENTA
- bl = Fore.BLACK
- #----------------TEMPAT INFO KU -------------
- coded = "Coded Eric Pedra"
- api = "FULL API "
- version = "PROGRAMMED PYTHON2."
- contact = "erikpedraz10@gmail.com"
- #-----------------TIME/ WATKTU ------------------
- wew = time.strftime('[%A,%d %B %Y]')
- wow = time.strftime('%H:%M:%S %p')
- #-------------TEMPAT BIAR GK BISA RECODER -----------------
- py_compile.compile('api.py')
- print '''
- _____ _____ _ _
- | __ \ / ____| | | |
- | |__) | __ _____ ___ _ | | | |__ ___ ___| | _____ _ __
- | ___/ '__/ _ \ \/ / | | | | | | '_ \ / _ \/ __| |/ / _ \ '__|
- | | | | | (_) > <| |_| | | |____| | | | __/ (__| < __/ |
- |_| |_| \___/_/\_\\__, | \_____|_| |_|\___|\___|_|\_\___|_|
- __/ |
- |___/
- [{0}+{1}] {6}
- [{0}+{1}] {5}
- [{0}!{1}] {4}
- [{0}*{1}] {2}
- [{0}*{1}] {3}
- '''.format(rd, wh, wew, wow, version, api,coded, contact)
- print ""
- #----------INPUT TEXT---------
- list = raw_input('{} {}[!] Masukkan Proxy.TXT '.format(gr, gr) ) #OPEN YOUR PROXY TEXT (BUKA PROXY ANDA GOBLOK)
- print ""
- file = open(list,'r').readlines()
- list_len = str(len(file))
- print '{} {}[!] '.format(rd, rd) + 'TOTAL PROXY ANDA '.format(gr, gr) + list_len + '\n'
- count = 0
- for item in open(list,'r'):
- count+=1
- proxy = item.strip()
- proxies = {
- 'https': proxy
- }
- try:
- req = requests.get(url, proxies=proxies)
- # //DONE
- print '{} {}[+] '.format(rd, rd) + '(' + str(count) + ') ' + proxy + ' => [ + DIE + ]'.format(rd, rd)
- except:
- print '{} {}[+] '.format(gr, gr) + '(' + str(count) + ') ' + proxy + ' => [ + LIVE + ]'.format(gr, gr)
- valid = open('LIVE-PROXIES.txt', 'a+')
- valid.write('[+] [ ' + proxy + ' ] => [ + LIVE + ] \n')
- valid.close()
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement