Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get it work with Telegram Desktop 4.0.2 #467

Open
MicroCBer opened this issue Aug 8, 2023 · 1 comment
Open

Unable to get it work with Telegram Desktop 4.0.2 #467

MicroCBer opened this issue Aug 8, 2023 · 1 comment

Comments

@MicroCBer
Copy link

I modified Desktop 4.0.2 and failed to connect.

Here's the log of the client:

[00:44:08.045 02-0000824] Connection 128(dc:5,127.0.0.1:443) Info: Connecting... (connection_abstract.cpp : 25)
[00:44:08.047 02-0000825] Connection 129(dc:5,http://127.0.0.1:80/api) Info: Sending 288 len request. (connection_abstract.cpp : 25)
[00:44:08.048 02-0000826] Connection 128(dc:5,127.0.0.1:443) Info: Sending fake req_pq. (connection_abstract.cpp : 25)
[00:44:08.048 02-0000827] Connection 128(dc:5,127.0.0.1:443) Info: TCP Info: write packet 73 bytes. (connection_abstract.cpp : 25)
[00:44:08.065 02-0000828] Connection 128(dc:5,127.0.0.1:443) Info: Read 53 bytes (connection_abstract.cpp : 25)
[00:44:08.065 02-0000829] Connection 128(dc:5,127.0.0.1:443) Info: Packet received, size = 52. (connection_abstract.cpp : 25)
[00:44:08.065 02-0000830] Connection 128(dc:5,127.0.0.1:443) Error: Could not parse TCP fake pq-responce (connection_abstract.cpp : 25)
[00:44:09.254 00-0000831] MTP Info: Cancel request 10. (mtp_instance.cpp : 25)
[00:44:09.254 00-0000832] MTP Info: unregistering request 10. (mtp_instance.cpp : 25)
[00:44:09.255 00-0000833] MTP Info: Cancel request 3. (mtp_instance.cpp : 25)
[00:44:09.255 00-0000834] MTP Info: unregistering request 3. (mtp_instance.cpp : 25)
[00:44:09.460 00-0000835] MTP Info: Cancel request 4. (mtp_instance.cpp : 25)
[00:44:09.460 00-0000836] MTP Info: unregistering request 4. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000837] MTP Info: Cancel request 2. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000838] MTP Info: unregistering request 2. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000839] MTP Info: Cancel request 23. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000840] MTP Info: unregistering request 23. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000841] Session Info: stopping session dcWithShift 10005 (session.cpp : 25)
[00:44:09.461 00-0000842] Session Info: marked session dcWithShift 10005 as killed (session.cpp : 25)
[00:44:09.461 00-0000843] MTP Info: Cancel request 22. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000844] MTP Info: unregistering request 22. (mtp_instance.cpp : 25)
[00:44:09.461 00-0000845] Session Info: stopping session dcWithShift 1004 (session.cpp : 25)
[00:44:09.461 00-0000846] Session Info: marked session dcWithShift 1004 as killed (session.cpp : 25)
[00:44:09.462 00-0000847] Session Info: stopping session dcWithShift 2 (session.cpp : 25)
[00:44:09.462 00-0000848] Session Info: marked session dcWithShift 2 as killed (session.cpp : 25)
[00:44:09.521 00-0000849] QWindowsEGLStaticContext::~QWindowsEGLStaticContext Releasing EGL display  0x148eec30
[00:44:09.791 00-0000850] Telegram finished, result: 0 (launcher.cpp : 25)

The RSA Public keys in the client have been replaced with this, which is the same as the one in your android client.

-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAyMEdY1aR+sCR3ZSJrtztKTKqigvO/vBfqACJLZtS7QMgCGXJ6XIR
yy7mx66W0/sOFa7/1mAZtEoIokDP3ShoqF4fVNb6XeqgQfaUHd8wJpDWHcR2OFwv
plUUI1PLTktZ9uW2WE23b+ixNwJjJGwBDJPQEQFBE+vfmH0JP503wr5INS1poWg/
j25sIWeYPHYeOrFp/eXaqhISP6G+q2IeTaWTXpwZj4LzXq5YOpk4bYEQ6mvRq7D1
aHWfYmlEGepfaYR8Q0YqvvhYtMte3ITnuSJs171+GDqpdKcSwHnd6FudwGO4pcCO
j4WcDuXc2CTHgH8gFTNhp/Y8/SpDOhvn9QIDAQAB
-----END RSA PUBLIC KEY-----
@MicroCBer
Copy link
Author

Log of Ferrite:

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt1YElR7/5enRYr788g21
0K6QZzUAmaithnSzmQsKb+XL5KhQHrJwVNMINO17SkB6i4fxG7ydDyFDbLA0Ls6j
QZ0mX33Gl8vYWsczPbkbqzs9N6GkOo10dDVoGObvSHRSwT9zkDixGiq/3b+WPhFc
pdJ4OY+5ElD89+fXYgUIhskjYoI8P/PJLCf6GLfneJ00N+wDVxAiwOaD6dxvj8ki
UDHSwdTXWQ56Nc/Il121fIGbEmho+ShAfzwQPynnEsA0EyTsqtYHle+KowMhnQYp
cvK/iv290NXwRjB4jWtH7tNT/PgB5tud1LJ9Ta3FusvnDE35w97G6q+yXltErSpM
/QIDAQAB
-----END PUBLIC KEY-----

Modulus: 23144026816383085710137756243222382868098501554947919409566757795567787097889084480104693153339123201985549706150246474875274300383457149119227754026296494166520627872548216281033728996053382211921408942905551140777910942060945380345956795013597623723930586138936263120626099839151576764045523443539619764753147394458425824378931132150784093420341866160417249342759791620760963685657822404540218087107585595619377822030985786278116585352832774977533603809275431605812472826696883690624406464247276092994407997200667327428504335444319435549087880705158334258381736446348211093071861670124833009250746108537220528491773
Exponent: 65537
Fingerprint-HEX: 0xB0DE7BE520EC5879
Fingerprint-DECIMAL: -5701983854174381959
Server is listening at 0.0.0.0:443
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.
New MTProto connection was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant