Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api
MIT License
244 stars 49 forks source link

publishing events #113

Closed ra7bi closed 4 months ago

ra7bi commented 4 months ago

Hello , Thanks for amazing project , my question is ,

is it possible to publish an event for example sending Typing event or any other .?

Thank you.

Nerixyz commented 4 months ago

You can use realtime.direct.indicateActivity but I don't know if it still works.

ra7bi commented 4 months ago

Thanks , also is it possible to share what is the version of Instagram APK you worked with ? i tried to reverse engineering Instagram on android using Frida ( with patched APK - no ssl pinning ) i can see all the endpoints Restful api (http) as plain but MQTT encrypted with TLS , if possible share some information or hints . Thanks again

Nerixyz commented 4 months ago

There's a small paragraph in the readme, so it seems like last time I updated it, I used v123. Last time I checked, you could also just use mitmproxy if you're in the whitehat mode.

ra7bi commented 4 months ago

i cant see in the readme , BTW i will try with v123 ,

i tried burp and Mitmproxy , the problem is i can see the entire app traffic except MQTT requests , so i was thinking there is another pinning for MQTT or kind of trick ,

i will redo the test again Thanks

Nerixyz commented 4 months ago

i cant see in the readme

I linked it to you above. I didn't use any proxy but intercepted the read/write calls of the app with frida.

ra7bi commented 4 months ago

confirmed it's working

You can use realtime.direct.indicateActivity but I don't know if it still works.