eaabak / instagram-auto-create-account

An automatic account creation bot script for Instagram.
450 stars 132 forks source link

Just tried this. The proxy doesnt work. It just uses my real ip #26

Open xenaxon opened 3 years ago

xenaxon commented 3 years ago

Can you tell me how I can use a user/password protected proxy, and how I input port?

I will modify this, but can you tell me how I input user/password and port for the proxy? It just doesnt work, anyway I place my proxy, it just doesnt work. It just uses my real ip.

mikegrep commented 3 years ago

For me is working how you setup the proxy

xenaxon commented 3 years ago

Hello. Yes. I was trying to use user/pass but doesnt work that way unfortunately. It works fine by PROXY without authentification.

But I face other issues... the accounts I make by email method... instantly request Kapcha and Phone Verification after finishing...

I modified this to work directly by SMS Verification, and I don't get challenge as often by SMS.

Also, the accounts made by Email method, and then added phone number... also almost ALL were challenged a SECOND time, when I tried to log in to them from a different device(I used same proxys, each account with its own proxy.).

It seems instagram detects the fake emails, and handles these accounts differently. Anyway, I'm not interested in the email method, was just interested in the automation part, and I modified this to work by SMS verification instead of email).

When I logged the accounts from a different device... instagram responds with "Wrong password" or "Challenge Required" or even "Account doesnt exist". Even though I am inputing the correct password, and I verified both by email and SMS. Maybe it's because of my proxys, I used datacenter proxys. The challenge/banning on second device logged in occurs on a part of the accounts, not on all. Some accounts remain working. Again this may be caused by the cheap dc proxys I used. I will try private proxys.

mikegrep commented 3 years ago

I use residential proxy and receive the challenge can you share you code for SMS verification to test it.

eaabak commented 3 years ago

@xenaxon can you share your code?

mikegrep commented 3 years ago

Also I try with 4g proxys its showing captcha again I can hendale captcha solving with anti captcha but I don't know after submiting g-response code how to validate.

eaabak commented 3 years ago

@mikegrep I'm looking at how to verify too

mikegrep commented 3 years ago

I try to ask in stackoverflow also support in anticaptcha nobody say nothing.

eaabak commented 3 years ago

@mikegrep any answer came?

xenaxon commented 3 years ago

Hello guys, sorry I am out of town for a few more days. then will message again with update/code.

Here are my experiences and work: I added datacenter proxys, it worked. I got the captcha but ... not always. Sometimes it just makes the account directly.

I think you are looking for the wrong solution. I wouldnt try to make a script to handle the captcha, I would just figure out why it's appearing in the first place.

I made accounts manually, with my real ip OR with proxys, and I didnt get captcha. I think this has something to do with the browser through the chrome driver. Insta is detecting it, it's also showing a message that this browser is no longer supported... and I am using the latest version of chrome. So it makes no sense, why is insta giving that message. It is because it detects it being ran through a driver... possibly.

I have one question though. On finish or on fail, how can I make the browser window close itself. I am left with a bunch of browser windows open.

mikegrep commented 3 years ago

You can close the windows with driver.close().I also have message for not supported browser also I use some chrome options witch prevent instagram to catch is selenium but is still having a problem is probably is detect the driver I read it can change one string variable in the chromedriver file to random string the default string is grabet by the websites and thats why they detect you are using automation software.Anyway when I check it the driver is not working maybe beacouse I am on Linux.Please try with solving the captcha with anticaptha service or 2captcha.

xenaxon commented 3 years ago

I am using windows, tried to do that and driver not working for me either after modifying directly in editor. I think the problem is much more complicated than that and requires modifying multiple things in the webdriver's source code and recompiling.

As a side not I know this is out of scope here, but I think to achieve the purpose of making account automatically is possibly easier to just use regular browser and using other technique. Selenium is pretty much detected. Yes, doing the captcha is also a solution but... I did the captcha manually after it finishes... and I still get the accounts limited/banned after I log them in a second time. Some say password is wrong... others just get deleted altogether, and some get the challenge AGAIN.

After making multiple accounts, only around 40-45% of them were working on the second login. the rest were as I said above... wrong password, username doesnt exist, or challenged again.

sheikabbas24 commented 3 years ago

issue pls help me to clear

image

issue show like this usage: botaccountcreate.py [-h] (--firefox | --chrome) botaccountcreate.py: error: one of the arguments --firefox --chrome is required