Author Topic: how Could i change the Miranda useragent for facebook plugin ??  (Read 6832 times)

0 Members and 1 Guest are viewing this topic.

Offline Kimoo

how Could i change the Miranda useragent  for facebook plugin ??
So i can for example make facebook that i logged in from firefox ,Chrome , etc etc
 

Online dartraiden

We added the ability to change the user-agent into the developer version.

https://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en#Hidden_settings

But we don't know what the user agent should be. It should not be a browser user-agent, since we do not act as an HTTP browser. Miranda uses the MQTT protocol.

I tried to substitute the Chrome user agent there and Facebook just stopped logging in (both in Miranda and even in the browser (!)) until I reset the password. Seems like Facebook sees that access is made with the browser user-agent, but via MQTT instead of HTTPS and thinks "What the hell? I will block this strange dude"

So there is no way to show Miranda as a browser since Miranda and the browser use completely different protocols.

« Last Edit: 27 01 2023, 22:42:52 by dartraiden »
 

Offline Kimoo

We added the ability to change the user-agent into the developer version.

https://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en#Hidden_settings

But we don't know what the user agent should be. It should not be a browser user-agent, since we do not act as an HTTP browser. Miranda uses the MQTT protocol.

I tried to substitute the Chrome user agent there and Facebook just stopped logging in (both in Miranda and even in the browser (!)) until I reset the password. Seems like Facebook sees that access is made with the browser user-agent, but via MQTT instead of HTTPS and thinks "What the hell? I will block this strange dude"

So there is no way to show Miranda as a browser since Miranda and the browser use completely different protocols.

Could we add a useragent of the web messenger ?
or the user agent of the official FB messenger for windows ?
what you think ??
 

Online dartraiden

Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
 

Offline Kimoo

Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
i think the site that contains useragents have some problem

but i got those for you to test them

https://user-agents.net/applications/facebook-app/architectures/64
https://user-agents.net/applications/facebook-app
https://developers.facebook.com/docs/sharing/webmasters/crawler
https://gist.github.com/etienne-martin/bea6b38c6999c720d91bd77010fae4f4

and look on this so well https://whatmyuseragent.com/apps

i didn't found the one for windows now only this i found
https://developers.whatismybrowser.com/useragents/parse/457733-facebook-app-windows-webkit
 

Offline Kimoo

Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
Could you explain to me please how to change a user agent of the browser , i tried to do this in photo but didn't changed the useragent appeared for Facebook
 

Online dartraiden

You need a useragent that uses the application on the phone, not the browser.

To do this, you need to intercept and analyze application traffic using Fiddler or similar tool.
 

Offline Kimoo

You need a useragent that uses the application on the phone, not the browser.

To do this, you need to intercept and analyze application traffic using Fiddler or similar tool.
let's say that i know the useragent

How can i add it to Miranda ? please explain to me the steps , i already have DbEditor
 

Online dartraiden

See attached screenshots
 

Offline Kimoo


I already did the same in those photos , but no thing changed , the facebook still say that it's Messenger for Android
 

Online dartraiden

Since the Miranda plugin works on the same protocol (MQTT) like Messenger for Android, not HTTPS protocol like a browser, maybe there is no way to make Facebook believe it's a browser.

Most likely, we can disguise Miranda under Android Messenger, iOS Messenger, under any messenger that uses MQTT protocol. But not HTTPS.
« Last Edit: 11 06 2023, 12:05:46 by dartraiden »