Coder Social home page Coder Social logo

Infinity Checkpoint about itsagramlive HOT 24 CLOSED

harrypython avatar harrypython commented on May 30, 2024
Infinity Checkpoint

from itsagramlive.

Comments (24)

osyduck avatar osyduck commented on May 30, 2024 1

image

just add verify method by using email or phone

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024 1

Please update the branch 12 and give me the output again, the output will help me to move forward

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

Hello,

Thanks for your job @harrypython ! I'm having the same difficulty.

root@vps21652:~/itsagramlive# python3 live_broadcast.py -u user -p pass
Let's do it!
Two factor required
Enter verification code: 918765

  • ERROR(400): challenge_required

So, when I go to the app and click "this was me" it happened again when I run live_broadcast.py and I can't use it.

Could you check if has a solution?

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

Hello guys,

I've clicked "this was me"
Are you log in with Facebook?

Please add verify method by phone or email
It's working 2FA for SMS and TOTP apps, do you try any of this methods?

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

Hello,

Thanks for you quick reply. Sorry, I don't know if my problem it's the same of the guy above.

I'm not login with facebook. I'm login using 2FA for SMS. When I write the code, i receive this error:
ERROR(400): challenge_required

Even though I disable the 2FA, I continue receiving this error when I try login:
root@vps21652:~/itsagramlive# python3 live_broadcast.py -u user -p pass

ERROR(400): challenge_required

I've tried using proxy, using on another server with other IP, nothing fixes. I keep getting the same error with an my specific account, as if there were some parameter fixed in the python script that would allow instagram to identify the access and suppose to that it is not a "human".

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

@crprata try this:

  1. Open your Instagram App
  2. Going Settings
  3. Security
  4. Login Activity
  5. look for "star2qltecs" tap on the 3 dots and logout

The other suggestion is: change your password

Let me know if works.

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython I've already change my password, didn't work.

I cannot see "star2qltecs" on Login Activity (I only see one session of my browser and one of my phoneapp). Instagram is blocking access then I try access through python. When I try i receive this message:
root@vps21652:~/itsagramlive# python3 live_broadcast.py -u user -p pass
Let's do it!

When I reply this challenge in my browser and try again, instagram asks for the challenge again and interrupt access with the * ERROR(400): challenge_required . Because of this I think the guy above called this issue of "infinity checkpoint".

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython maybe this could help to fix:
https://gist.github.com/Nerixyz/7f65bc19e5e666865a2682fb509a5d83
https://github.com/zProAle/InstaLive-PHP/blob/master/live.php#L46
\InstagramAPI\Instagram::$allowDangerousWebUsageAtMyOwnRisk = false;

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

I need help to reproduce this "challenge_required" error.

  1. The account use a 2FA? Which one?
  2. Are you using a proxy or something else that can create this "unusual login" trigger?
  3. Do you have a test account I can use where this "challenge_required" error happens?

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython

  1. This happens regardless of 2FA. In accounts with it enabled or disabled.

  2. No, the checkpoint challenge error happens randomly, when instagram suspects that the access is made from a suspicious place or that is not a "human". In my experience, in 50% of cases, using this "python script" in the first access, Instagram asks for the challenge. If it doesn't happen to you, you can try to force the "challenge" putting your password wrong through "python script" for 3 times sequentially and, after this, putting the correct password in an account that has never received a session/login from "python script".

  3. Not at the moment, I've tested only with real accounts. But I'll try to create a test account to send you.

For your better comprehension, the challenge checkpoint also has verification methods, similar to 2FA. When I use a mobile (or a script simulating a mobile) and the checkpoint challenge happens, Instagram sends a question to another logged session asking to confirm "if it was me" (see: https://prnt.sc/snlfgc). In theory, when I mark "it was me", Instagram should give access to the "script" , but it's not happening because of a cookie problem/protection, which causes an "infinite loop checkpoint challenge".
When I try to login using a desktop (or simulating a desktop session), the verification method used by challenge checkpoint is: send a SMS or an E-mail to confirm it, similar to 2FA. When challenge uses SMS/E-mail instead of the other method verification, it works. So, the solution for guys has been "forcing" instagram to use SMS/Email verification method to challenge checkpoint instead of the option "it was me" in another logged session.

maybe this could help to fix:
https://webcache.googleusercontent.com/search?q=cache:fWFhN7sEn8sJ:https://gitmemory.com/issue/LevPasha/Instagram-API-python/718/568266268

And this: (see choice: '1'):
https://gist.github.com/Nerixyz/7f65bc19e5e666865a2682fb509a5d83
https://github.com/zProAle/InstaLive-PHP/blob/master/live.php#L46

I hope to have helped.

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

@crprata great job explaining the case.

The method on the old LevPasha/Instagram-API-python looks a good solution, but it's impossible developer the solution without reproduce the "challenge_required" error.

I try with different accounts without success. When you have an account where I can take the test let me know.

Is using 2fa a way to avoid this error? Can be this a solution @osyduck ?

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython I've tried too, but it seems like happens only with real accounts that exists by a few months. 2FA doesn't avoid this error. When some account uses 2FA, instagram asks for one first code for challenge checkpoint and after that asks for another code for 2FA to give it the access.

Have you checked this links? Maybe they could be useful to develop an solution (But I know that is hard to test if it could work without reproduces the error):
https://webcache.googleusercontent.com/search?q=cache:fWFhN7sEn8sJ:https://gitmemory.com/issue/LevPasha/Instagram-API-python/718/568266268
And this: (see choice: '1'):
https://gist.github.com/Nerixyz/7f65bc19e5e666865a2682fb509a5d83
https://github.com/zProAle/InstaLive-PHP/blob/master/live.php#L46

@osyduck do you have an account that could be used by @harrypython to reproduce the challenge?

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython I have a colleague account stuck at challenge checkpoint. Unfortunately, I cannot give you access. But I can test in my environment if you send a possible solution. Thanks!

from itsagramlive.

osyduck avatar osyduck commented on May 30, 2024

@crprata thanks for your explain but I didn't use any 2fa. This checkpoint appears when I use instagram private api for the first time. I've been using another library(javascript) and it worked. Please try InstaLogin

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

@crprata try harrypython/itsagramlive/tree/issue-12

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython it didn't work! ;/ Same error. No code was sent by Instagram for the challenge and the script didn't give the option to type it.

$ python3 live_broadcast.py -u user -p pass
Let's do it!
Two factor required
Enter verification code: 803672

  • ERROR(400): challenge_required

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython Even in accounts without 2FA it also doesn't work, doesn't ask or send the challenge code.

$ python3 live_broadcast.py -u user -p pass
Let's do it!

  • ERROR(400): challenge_required

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

@crprata it's possible you debug the application?

from itsagramlive.

osyduck avatar osyduck commented on May 30, 2024

@harrypython this is the challenge response

{'message': 'challenge_required', 'challenge': {'url': 'https://i.instagram.com/challenge/3130860500/dFTjfWbPw3/', 'api_path': '/challenge/3130860500/dFTjfWbPw3/', 'hide_webview_header': True, 'lock': True, 'logout': False, 'native_flow': True, 'challenge_context': '{"step_name": "", "nonce_code": "dFTjfWbPw3", "user_id": 3130860500}'}, 'status': 'fail', 'error_type': 'checkpoint_challenge_required'} <Response [400]>

from itsagramlive.

osyduck avatar osyduck commented on May 30, 2024

@harrypython please take a look at this python code . It would help you.

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython same responde of @osyduck to me.

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

@harrypython please take a look at this python code . It would help you.

Thank you

from itsagramlive.

crprata avatar crprata commented on May 30, 2024

@harrypython good neews! It's working! Good job, thanks! The only thing I verified is that after I've put the challenge code, I needed to run the script again to login.
See output:

$ python3 live_broadcast.py -u user -p pass
Let's do it!
Choose a challenge mode (0 - SMS, 1 - Email): 0
Enter the code: 372109
$ python3 live_broadcast.py -u user -p pass
Let's do it!
You'r logged in
17856002782988004?s_efg=eyJxZV9ncm91cHMiOnsiaWdfbGl2ZV9lbmFibGVfcG9wX3ByaW1pbmciOnsiZW5hYmxlZCI6InRydWUifSwiaWdfbGl2ZV9ub3RpZmljYXRpb25zX2FmdGVyX2ZpcnN0X21wZF91bml2ZXJzZSI6W10sImlnX2xvd19sYXRlbmN5X3Byb2R1Y3Rpb25fdW5pdmVyc2UiOnsiZW5hYmxlZCI6InRydWUifX19&s_sw=0&s_vt=ig&a=AbwHaU3NfrbsoEQn
Broadcast ID: {}

  • Broadcast ID: 17856002782988004
  • Server URL: rtmps://live-upload.instagram.com:443/rtmp/
  • Server Key: 17856002782988004?s_efg=eyJxZV9ncm91cHMiOnsiaWdfbGl2ZV9lbmFibGVfcG9wX3ByaW1pbmciOnsiZW5hYmxlZCI6InRydWUifSwiaWdfbGl2ZV9ub3RpZmljYXRpb25zX2FmdGVyX2ZpcnN0X21wZF91bml2ZXJzZSI6W10sImlnX2xvd19sYXRlbmN5X3Byb2R1Y3Rpb25fdW5pdmVyc2UiOnsiZW5hYmxlZCI6InRydWUifX19&s_sw=0&s_vt=ig&a=AbwHaU3NfrbsoEQn
    The stream key was automatically copied to your clipboard
    Press Enter after your setting your streaming software.
    command> stop
    Save Live replay to story ? <y/n>
    command> n
    Exiting...
    Bye bye

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

Amazing work guys, thank you so much for your help.

from itsagramlive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.