Jump to content

User:Dannyniu

I'm a non-notable StackExchange and GitHub user, and part-time Wik.ipedia.Pro lurker.

I don't patch KDE under FreeBSD.

Currently Interested Projects

Personal Project(s)

Exception-Free Programming.

Wik.ipedia.Pro Articles (PQCrypto Bucket List)

Ladder for Mainlanders

The IPv4 address for Wikimedia websites is 198.35.26.96

  • Setup a proxy to read from wiktionary.org or similar place to send a fake TLS Server Name Indication.
  • Setup a fake HTTPS website locally.
  • Disable Strict Transport Security in about:config.

One possible python-3.7 proxy script:

#!/usr/bin/env python3

import asyncio

async def passover(head, tail):
    while not head.at_eof():
        data = await head.read(512)
        tail.write(data)
        await tail.drain()
    tail.close()

async def accepted(reader, writer):
    rcv, snd = await asyncio.open_connection('wiktionary.org', 443, ssl=True)
    up = asyncio.create_task(passover(reader, snd))
    dn = asyncio.create_task(passover(rcv, writer))

async def main():
    s = await asyncio.start_server(accepted, port=8080)
    async with s:
        await s.serve_forever()

asyncio.run(main())

See what we do next...

OR

By submitting your email or phone number, you're giving mschf permission to send you email and/or recurring marketing texts. Data rates may apply. Text stop to cancel, help for help.

Success: You're subscribed now !