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

HTTPS request #182

Open
sdv75 opened this issue Mar 21, 2024 · 0 comments
Open

HTTPS request #182

sdv75 opened this issue Mar 21, 2024 · 0 comments

Comments

@sdv75
Copy link

sdv75 commented Mar 21, 2024

Helo.
I have code

import asyncio, pproxy

async def test_tcp(proxy_uri):
    conn = pproxy.Connection(proxy_uri)
    reader, writer = await conn.tcp_connect('www.google.com', 443)
    writer.write(b'GET / HTTP/1.1\r\n\r\n')
    data = await reader.read(1024*16)
    print(data.decode())

asyncio.run(test_tcp('ss://aes-256-cfb:password@remote_host:remote_port'))

I want to make a request https to the 443 port. But I have an empty response.
How can I make a request with https to the 403 port?
Also, I am interested in requests to the SMTP server (SSL and STARTTLS)

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