Open roysG opened 7 years ago
The program still works ,It still works , please add proxy
@virginsince1997 I didn't check the script since some month ago,I didn't know it works. I will add proxy option to the script.
Thanks ,I use it alot , works really well, please implement it asap , thank you in advance ..your work is appreciated
On Sep 27, 2017 8:57 AM, "Behdad Ahmadi" notifications@github.com wrote:
@virginsince1997 https://github.com/virginsince1997 I didn't check the script since some month ago,I didn't know it works. I will add proxy option to the script.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-332441087, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkk64gow9DWma9lBgB9tbiPzOUQvfks5smf_5gaJpZM4PXSFS .
You're welcome. I'm so glad you use it and like it. I will implement it so soon. Thank you for your kind words.
You're welcome bro
On Sep 27, 2017 5:14 PM, "Behdad Ahmadi" notifications@github.com wrote:
You're welcome. I'm so glad you use it and like it. I will implement it so soon. Thank you for your kind words.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-332574581, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGktytqOWTgZhATNtyPVrYKN-bcJJnks5smnQ5gaJpZM4PXSFS .
im trying to implement a proxy option, give me 3 more hours and ill have it :dancing_men:
Alright thank you
On Sep 30, 2017 12:23 PM, "rektbyme" notifications@github.com wrote:
im trying to implement a proxy option, give me 3 more hours and ill have it 👯♂️
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-333302248, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGknULGDHslTUs3YSv_CSRKcx-2oHRks5sniSfgaJpZM4PXSFS .
@rektbyme still waiting on you bro
@behdadahmadi still waiting on you bro
@virginsince1997 Which OS do you use bro? If you are using macOS or Linux, you can just simply set the environment variables : HTTP_PROXY and HTTPS_PROXY .
export HTTP_PROXY="http://10.10.1.10:3128"
export HTTPS_PROXY="http://10.10.1.10:1080"
For example, I set 2 Proxies (one for HTTP,and another one for HTTPS). Just change the address of your desired proxies. It will be like this:
export HTTP_PROXY="http://YOUR_HTTP_PROXY_ADDRESS:PORT"
export HTTPS_PROXY="http://YOUR_HTTPS_PROXY_ADDRESS:PORT"
Just run one after another in your Terminal (Console) and then close the terminal,and after that just run the script as usual.
By the way,I will add proxy option to the script,these days I am so busy bro.
I run the script on my phone with termux
@virginsince1997 Aha OK bro. Do you use one proxy address for both HTTP and HTTPS?
No I don't I just run script
On Oct 2, 2017 12:26 PM, "Behdad Ahmadi" notifications@github.com wrote:
@virginsince1997 https://github.com/virginsince1997 Aha OK bro. Do you use on proxy address for both HTTP and HTTPS?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-333507748, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkgSaix3fpArHwnr-sDmForeoBshKks5soMhsgaJpZM4PXSFS .
@behdadahmadi didn't work, checked if the IP has changed with ,,, wget -q -O - checkip.dyndns.org \ | sed -e 's/.Current IP Address: //' -e 's/<.$//' still the same
'''
import requests import hmac import hashlib import random import string import json import argparse import os
proxy = 'http://192.99.68.187:8080'
os.environ['http_proxy'] = proxy os.environ['HTTP_PROXY'] = proxy os.environ['https_proxy'] = proxy os.environ['HTTPS_PROXY'] = proxy
def HMAC(text): key = '3f0a7d75e094c7385e3dbaa026877f2e067cbd1a4dbcf3867748f6b26f257117' hash = hmac.new(key,msg=text,digestmod=hashlib.sha256) return hash.hexdigest()
def randomString(size): chars = string.asciilowercase + string.digits return ''.join(random.choice(chars) for in range(size))
def banner(): dotname = "-" * 31 print " " print dotname.center(16,'-') print ".:: " + 'Instagram Account Maker' + " ::.".center(4) print "by Behdad Ahmadi".center(30) print "Twitter:behdadahmadi".center(30) print dotname.center(20,'-')
def main(): banner() parser = argparse.ArgumentParser() parser.add_argument('name', help='Full Name') parser.add_argument('username', help='Username') parser.add_argument('email', help='Email') parser.add_argument('password', help='Password') args = parser.parse_args()
getHeaders = {'User-Agent':'Instagram 7.1.1 Android (21/5.0.2; 480dpi; 1080x1776; LGE/Google; Nexus 5; hammerhead; hammerhead; en_US)',
'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Encoding':'gzip, deflate, sdch',
'Accept-Language':'en-US,en;q=0.8',
'upgrade-insecure-requests':'1'}
s = requests.Session()
s.get('https://instagram.com',headers=getHeaders)
guid = randomString(8) + '-' + randomString(4) + "-" + randomString(4) + '-' + randomString(4) + '-' +randomString(12)
device_id = 'android-' + str(HMAC(str(random.randint(1000,9999))))[0:min(64,16)]
information = {'username':args.username,'first_name':args.name,'password':args.password,'email':args.email,'device_id':device_id,'guid':guid}
js = json.dumps(information)
payload = {'signed_body': HMAC(js) + '.' + js,'ig_sig_key_version':'4'}
postHeaders = {'Host':'i.instagram.com',
'User-Agent':'Instagram 7.1.1 Android (21/5.0.2; 480dpi; 1080x1776; LGE/Google; Nexus 5; hammerhead; hammerhead; en_US)',
'Accept-Language':'en-US',
'Accept-Encoding':'gzip',
'Cookie2':'$Version=1',
'X-IG-Connection-Type':'WIFI',
'X-IG-Capabilities':'BQ=='
}
x = s.post('https://i.instagram.com/api/v1/accounts/create/',headers=postHeaders,data=payload)
result = json.loads(x.content)
if result['status'] != 'fail':
if result['account_created'] == True:
print 'Account has been created successfully'
else:
print 'Error:'
for i in result['errors']:
print str(result['errors'][i][0])
else:
if result['spam'] == True:
print 'Instagram blocks your IP due to spamming behaviour.'
if name == 'main': main() '''
Is 'http://192.99.68.187:8080' the proxy which you want to use?
Yes
Help me out bro
On Oct 3, 2017 2:47 AM, "Behdad Ahmadi" notifications@github.com wrote:
Is 'http://192.99.68.187:8080' the proxy which you want to use?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-333715492, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkozJYEPt7jlFmFcPQ1NWn8-NPCLSks5soZIYgaJpZM4PXSFS .
@virginsince1997 Bro,I added a file named "instaMakerWithProxies.py" for you in the new branch called "withProxy". Just run the script it gonna work.
I got this error whole running "instamakerwithproxies.py" script
Traceback (most recent call last):
File "instaMakerWithProxies.py", line 87, in
Let me check and rewrite the script
@virginsince1997 Now please check the file. I edited. It should work OK right now.
Thank you I appreciate it
@virginsince1997 You're welcome. I'm so happy it works and helps you.
@behdadahmadi
I always get error "This username isn't available. Please try another."
I have tried to another usernames, and it always giving me this error. Can you help me?
all the proxy I use don't work , always getting "banned by Instagram " even at first try
On Oct 7, 2017 2:40 PM, "Yohanes Raymond" notifications@github.com wrote:
@behdadahmadi https://github.com/behdadahmadi
I always get error "This username isn't available. Please try again."
I have tried to another usernames, and it always giving me this error. Can you help me?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-334935817, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkuwowgQVNlNOQK8chYiJjkzljWCeks5sp39CgaJpZM4PXSFS .
@virginsince1997
I do get that error "Instagram blocks your IP due to spamming behaviour." And my solution is, try running the script again, and it will get thru you somehow.
That is because Instagram mark your action as spamming due to high repeated actions on the short time
Try give it some times before running again.
Didn't work for me , where do you run your script
On Oct 7, 2017 2:49 PM, "Yohanes Raymond" notifications@github.com wrote:
@virginsince1997 https://github.com/virginsince1997
I do get that error "Instagram blocks your IP due to spamming behaviour." And my solution is, try running the script again, and it will get thru you somehow.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-334936425, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkm7zrV7GydPZWHrI3obxzuGq7gw0ks5sp4GBgaJpZM4PXSFS .
@virginsince1997
On ubuntu server
@yray I think the username you want to create is used by someone else. Make sure about it by using Instagram app and attempt to create the user via desired username (the one which you try to create). This is from Instagram API ,and I can't help.
@virginsince1997 Maybe you are using public HTTP proxies. Instagram block them due to many requests from same IP address.
@behdadahmadi
Tried using 50 different combination of usernames, passwords, emails. And still no luck at all. But when I tried to register manually via browser using one of my usernames, it can register flawlessly.
I doubt it's from IG itself :(
Try to see if you input the arguments correctly
On Oct 7, 2017 4:12 PM, "Yohanes Raymond" notifications@github.com wrote:
@behdadahmadi https://github.com/behdadahmadi
Tried using 50 different combination of usernames, passwords, emails. And still no luck at all. But when I tried to register manually via browser using one of my usernames, it can register flawlessly.
I doubt it's from IG itself :(
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-334941874, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkiHYdvYzHh98aPuae3gYIm02hlgdks5sp5TBgaJpZM4PXSFS .
@behdadahmadi we can establish a range for the characters of the password and username maybe between 10-15 characters, so the prob of getting the error existent username is minimum, about the proxy checkout using controlport of tor (9051 or 9151 default control port in tor), usefull as hell app for changing ip in each request :)
@rektbyme Yes man! That's awesome! It gonna be automatic Instagram account creator!
How do I use tor proxy for it ,,,all the proxies I use keep failing on 3rd try
On Oct 11, 2017 7:26 PM, "rektbyme" notifications@github.com wrote:
@behdadahmadi https://github.com/behdadahmadi we can establish a range for the characters of the password and username maybe between 10-15 characters, so the prob of getting the error existent username is minimum, about the proxy checkout using controlport of tor (9051 or 9151 default control port in tor), usefull as hell app for changing ip in each request :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-335903769, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkpfCF1GIQROIHLQ7OXLVvJoH2j0Wks5srQhOgaJpZM4PXSFS .
@virginsince1997 I don't have any idea. I never use Tor proxy for the scripts. But maybe until next week I commit new script to work with Tor proxy. I'm sorry, I am so busy these days.
hi can u please tell me how many requests does it require to get banned by ip?
@Lounah Hi, I think 3 requests per minutes could lead to be banned by IP.
Still waiting for your implementation😿
On Oct 30, 2017 4:40 PM, "Behdad Ahmadi" notifications@github.com wrote:
@Lounah https://github.com/lounah Hi, I think 3 requests per minutes could lead to be banned by IP.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/behdadahmadi/instamaker/issues/2#issuecomment-340484707, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPGkgNLYo0Mtev4fORvANeql0x59uEYks5sxe37gaJpZM4PXSFS .
@virginsince1997 Really? :-D , honestly I am working on an app which is for Android and iOS. It really makes me upset and time consuming. I will implement Tor proxy option for 3,4 days later. Thank you.
@behdadahmadi Hi there.as far as I see this won't work anymore! right? whats the reason?
@annaT1970 Hi, Yes. The script does not work anymore due to Instagram API changes. If I find a solution,I will change the script to work.
It doesn't work anymore due to Instagram changed it's API one year ago.