Comments (2)
from os import system
system('pip install requests')
print('=========\n\n')
print("""
/ / / _ / /____ _ / __ ) / /
/ / / / _ / /// _ / / / |\ /
/ // / / / __/ ,< / __/ / / // / / /
_////_//||_// // //
| |/ / // /| |/ // __/ \
| / // /| // / / / / /
/ / / |/ // // /
//|| // //|//___/
""")
from time import sleep,time,strftime
from requests import get,post,session
from uuid import uuid4
import string
import random
browser = session()
u = 'Instagram 123.1.0.26.114 (iPhone8s)'
def get_random_acc():
# Random string with the combination of lower and upper case
letters = string.ascii_letters
return ''.join(random.choice(letters).lower() for i in range(4))
def login():
global data,session_id,csr
data = {
'username':input('User: '),
'password':input('Password: '),
'device_id':str( uuid4() )
}
global log
log = browser.post("https://i.instagram.com/api/v1/accounts/login/",data=data, headers={'User-Agent': u}).text
if 'logged_in_user' in log:
session_id = browser.cookies.get_dict()['sessionid']
csr = browser.cookies.get_dict()['csrftoken']
else:
if input('See Result? y/n: ') == 'y':
print(log)
login()
login()
num = int(input('How Many Accounts ? (1=400 user): ' ))
for _ in range(num):
user = get_random_acc()
source = get(f'https://www.instagram.com/{user}',headers = {'x-csrftoken':csr},cookies={'sessionid':session_id}).text
if 'href="/static/bundles/es6/HttpErrorPage.js' in source:
print(f'{user}: Available')
Available= open('Available.txt','a')
Available.write(user+'\n')
Available.close()
else:
print(f'{user}: Not Available')
input('Done!\nPress Enter To Close.. ')
from cardpwn.
+964 772 222 2626
from cardpwn.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cardpwn.