Skip to main content

Telethon MTProxy FakeTLS

Thanks everyone who has starred the project, it means a lot!

TelethonFakeTLS adds support MTProxyFakeTLS Proxy (EE-secrets) to Telethon! (yes finally !!!)

What is this?

After long wait for Telethon to add support for EE proxy, i tired up and started implementing it myself !

Installing

pip3 install TelethonFakeTLS

Creating a client

You can use a base64 secret or hex one,
But remember to
Remove “ee” from the starting of hex secret
And
Remove “7” from the starting of the base64 secret.
Example:
ee9b43b87555bf9464e02bdcd2db8932b07777772e736974652e636f6d -> 9b43b87555bf9464e02bdcd2db8932b07777772e736974652e636f6d
7gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20= -> gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20=
import telethon.sync
import TelethonFakeTLS

api_id = 1234567
api_hash = 'a1b2c3d4e5f6g7h8i9j9b8euryueusjj'

proxy = ('195.201.142.247', 443, 'gEBAQEBAQEBAQEBAQEBAQFsaWIuYXJ2YW5jbG91ZC5jb20=')

connection = TelethonFakeTLS.ConnectionTcpMTProxyFakeTLS
proxy = proxy

client = telethon.TelegramClient(
    session='test', api_id=api_id, api_hash=api_hash,
    connection=connection,
    proxy=proxy)

client.start()

Metadata

Release files for TelethonFakeTLS 2022.4.4.16.1.48.440701

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TelethonFakeTLS 2022.4.4.16.1.48.440701
File Size Uploaded Provenance Actions
TelethonFakeTLS-2022.4.4.16.1.48.440701.tar.gz 16.7 kB Without provenance Details for TelethonFakeTLS-2022.4.4.16.1.48.440701.tar.gz

Release files / TelethonFakeTLS-2022.4.4.16.1.48.440701.tar.gz

Download URL TelethonFakeTLS-2022.4.4.16.1.48.440701.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
594df719d40192c84310464518a41361169c54a038ce91a1f7018191b80762b7
BLAKE2b-256 checksum
How to use checksums
da64224eb43d0c8c5fae0d2efcd01d3f7ec7626006c52e8ac530e40f95ac78a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Security for TelethonFakeTLS 2022.4.4.16.1.48.440701

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page