Skip to content

Instantly share code, notes, and snippets.

View fortuna's full-sized avatar
🔥
Prevent, Mitigate and Expose Censorship

Vinicius Fortuna fortuna

🔥
Prevent, Mitigate and Expose Censorship
View GitHub Profile
1
00:00:28,190 --> 00:00:51,310
[Musik]
[Music]
2
00:00:54,550 --> 00:01:38,760
[Musik]
[Music]
@fortuna
fortuna / example.sh
Last active May 8, 2023 09:35
ClientHello splitting in Bash
# Author: Vinicius Fortuna
# Example practical usage at https://github.com/pypi/support/issues/2751#issuecomment-1535248888
mkfifo in.fifo
nc -l localhost 8443 < in.fifo | { dd bs=100 count=1; sleep 0.1; cat; } | nc files.pythonhosted.org 443 > in.fifo &
time curl --connect-to ::localhost:8443 'https://files.pythonhosted.org/packages/84/a9/2bf119f3f9cff1f376f924e39cfae18dec92a1514784046d185731301281/scipy-1.10.1.tar.gz' > /dev/null
<!DOCTYPE html>
<html>
<body>
<p>
I'm <a rel="me" href="https://github.com/fortuna">fortuna</a> on Github and
<a rel="me" href="https://mastodon.social/@vinifortuna">@vinifortuna@mastodon.social</a> on Mastodon.
</p>
</body>
</html>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I'm @fortuna on Keybase and @vinifortuna@mastodon.social on Mastodon. Signed proof: https://gist.github.com/fortuna/7456cf29428e73f7af153e61ea88538e#file-mastodon-proof
Verify the signed message at https://keybase.io/verify.
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.1.13
Comment: https://keybase.io/crypto
wsBcBAABCgAGBQJjmMhOAAoJEJCUHN7iahDDl1gH/R2bgCROQB/GJhR73iyKqRrL
@fortuna
fortuna / echo.go
Last active October 23, 2020 15:51
Dial-back Echo Server
package main
import (
"io"
"log"
"net"
"os"
"sync"
"github.com/google/gopacket"
@fortuna
fortuna / Sites blocked on AS29049 (Delta Telecom Ltd).csv
Last active October 15, 2020 19:27
Azerbaijan SNI-based Blocking, September 2020
We couldn’t find that file to show.
@fortuna
fortuna / Belarus Blocking - Pivot Table.csv
Last active October 6, 2020 00:29
Sites blocked on Bel Telecom (AS 6697) in Belarus on August 9-10, 2020, from Censored Planet HTTPS data.
date Values
8/6/2020 8/10/2020 8/11/2020 8/13/2020
domain interference_rate total interference_rate total interference_rate total interference_rate total
www.crazyshit.com 0.96875 32 1 4 1 1 1 33
tutanota.com 0 32 0 7 0 1 0.8 45
psiphon.ca 0 32 1 10 0 1 0.7954545455 44
protonmail.com 0.0303030303 33 0 6 0 1 0.7804878049 41
www.protonmail.com 0 31 0 11 0.775 40
www.xroxy.com 0.09375 32 0.125 8 1 1 0.09090909091 33
www.hustler.com 0 31 0.2727272727 11 1 1 0.09090909091 33
@fortuna
fortuna / Queries.md
Last active April 27, 2024 17:00
Grafana dashboard for Outline Servers

Example Queries

1h active keys by location:

sum(max(increase(shadowsocks_data_bytes{access_key!=""} [1h])) by (access_key, location) > bool 0) by (location)

1h usage by location:

sum(increase(shadowsocks_data_bytes{dir=~"c<p|p>t"} [1h])) by (location)

Keybase proof

I hereby claim:

  • I am fortuna on github.
  • I am fortuna (https://keybase.io/fortuna) on keybase.
  • I have a public key whose fingerprint is B580 D084 2BE0 A4E7 5DD8 AD3D 3A90 9184 F9CE 0D6F

To claim this, I am signing this object:

@fortuna
fortuna / python_resources.md
Created April 7, 2014 04:55 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides