Reverse-engineering Instagram to access the private API
definedcodehosting.com
Reverse-engineering Instagram to access the private API
1–10 of 16 posts
Re: Reverse-engineering Instagram to access the private API
#2Anyway interesting post.
Re: Reverse-engineering Instagram to access the private API
#3Re: Reverse-engineering Instagram to access the private API
#4Interesting write up. Seems rather simple, really. Presumably Instagram could change their private key and rollout a new client version on each platform, breaking all third party apps using the current key though. Although I guess it'd be just as easy to get it again.
Re: Reverse-engineering Instagram to access the private API
#5Note that Instagram doesn't encrypt requests to their private API, they're only signing them. In fact the parameter is called 'signed_body', not 'encrypted_body'. Anyway interesting post.
Re: Reverse-engineering Instagram to access the private API
#6Interesting write up. Seems rather simple, really. Presumably Instagram could change their private key and rollout a new client version on each platform, breaking all third party apps using the current key though. Although I guess it'd be just as easy to get it again.
Well if you have the private key on the device you can always pull it out, so really they should have used public key encryption if they didn't want people to forge the signatures.
Re: Reverse-engineering Instagram to access the private API
#7Re: Reverse-engineering Instagram to access the private API
#8Earlier quoted context omitted.
Well if you have the private key on the device you can always pull it out, so really they should have used public key encryption if they didn't want people to forge the signatures.
Public key encryption to sign involves encrypting using my own private key. Which would be on the phone, and so any end user could pull it from the device.
Re: Reverse-engineering Instagram to access the private API
#9Earlier quoted context omitted.
Public key encryption to sign involves encrypting using my own private key. Which would be on the phone, and so any end user could pull it from the device.
So what can you do ? You can't fight the private key retrieval right ?
Re: Reverse-engineering Instagram to access the private API
#10If instead of using the POST data only to create the hash they added another information, like a the hour of the day. Wouldn't it be way harder for a hacker to actually understand what went into signing the request?