Instagram Sessionid?

pr41s3w0rthy

BANNED
Joined
Nov 14, 2018
Messages
205
Reaction score
35
Hi,

I just wonder, what is the algorithm behind "sessionid" that generated for each login.

"sessionid=3915126414%3AALzPGVAvq7al8y%3A20;"

3915126414 = UserID.
%3A = :
ALzPGVAvq7al8y = ?!
3A = :
20 = random number from 0 to 30.

so what is the algorthim behind "ALzPGVAvq7al8y" ?

sessionId = SHA2(userid + password + secretKey /* or salt */) ?
 
I don't think anyone knows. It gets set by the ISG server, so it isn't something you can reverse the APK and find out.
 
Is this used on the web API ? Im wondering if you have downloaded the Javascript yourself and investigated, pretty straight forward if you do.
Also why do you want to actually generate this ? The Session ID usually is given by Instagram Itself contained in Cookies.

Please check this article : https://blog.storrito.com/instagram/2018/09/21/instagram-sessionid-cookie.html


what javascript. if you can investigate with me i will be really happy. thank you.

i just want to know what is the algorithm behind it.
 
what javascript. if you can investigate with me i will be really happy. thank you.

i just want to know what is the algorithm behind it.

They are wrong. The session ID is NOT in the javascript, it is not set client set. It is set server side, there is no way to access the code that creates it.
 
They are wrong ? lolwoot. What is actually wrong in my response? Mr.Expert
If you read twice instead of posting to promote your tool and bs bot, you would actually read that i told him that session id is generated by instagram itself. In other hand there is a lot to explore in the Instagram web javascripts source code, such has crypto tokens, random uuids and similar stuff.

ps : Your post is totally wrong and you contributed nothing relevant but +1 post into your count lol

Back to the topic, is clear that after multiple explenations you dont understand so you better investigate and read more, clearly shows you are fresh on it. Work more
 
my understanding is sessionid is no more than a log-- or handle- of the communication between a client and server. if client( phone-browser-application ) logs into a server( facebook, instagram, twitter..etc) the server needs a handle to process the many others going on at the same time. it gets a new sessionid everytime one logs in or checks in.
 
They are wrong ? lolwoot. What is actually wrong in my response? Mr.Expert
If you read twice instead of posting to promote your tool and bs bot

If you think I am promoting a product in this thread, report the thread to a mod who will have me temporarily banned for doing so as per the BHW self promotion rules out side of a BST.

you would actually read that i told him that session id is generated by instagram itself.

As I said in the first post
In other hand there is a lot to explore in the Instagram web javascripts source code, such has crypto tokens, random uuids and similar stuff.
Irrelevant, OP is asking about how to work out the session ID. You ask why the OP wanted this and said it is in the cookies. I think you do not understand the benefits of being able to calculate the session ID (not scrape it / access it, but generate it.

ps : Your post is totally wrong and you contributed nothing relevant but
My reply is 100% correct. You are not going to generate a session ID from scratch. You can look in the JS all you want, it is not there, you are wasting your time.

+1 post into your count lol
ahh yes, that all important metric (perhaps for accounts created in the last month with just 10s of posts only)


Back to the topic, is clear that after multiple explenations you dont understand so you better investigate and read more, clearly shows you are fresh on it. Work more

ok, be my guest. Go figure out how to generate a valid session_id that can access ISG server without the need for login. When you do, you will be a rich man

Or, being as knowledge as you think you are, you will realise that it is a wild goose chase and a waste of your time. But up to you
 
What's up with decrypting such a complex code?
 
Back
Top