Skip to content

Instantly share code, notes, and snippets.

View meejah's full-sized avatar

meejah meejah

View GitHub Profile
@epixoip
epixoip / cloudflare_challenge
Last active December 2, 2023 11:53
How I obtained the private key for www.cloudflarechallenge.com
I wasn't first to get the key. Nor was I second, third, or even fourth. I'm probably not even the
10th to get it (ok, looks like I was the 8th.) But I'm happy that I was able to prove to myself
that I too could do it.
First, I have to admit I was a skeptic. Like the handful of other dissenters, I had initially
believed that it would be highly improbable under normal conditions to obtain the private key
through exploiting Heartbleed. So this was my motivation for participating in Cloudflare's
challenge. I had extracted a lot of other things with Heartbleed, but I hadn't actually set out to
extract private keys. So I wanted to see first-hand if it was possible or not.
"""
twisted async/await with asyncio reactor and uvloop
"""
import asyncio
import uvloop
from asyncio.tasks import ensure_future
try:
# as per github source the asyncio reactor is intended to be released in future version
@fasterthanlime
fasterthanlime / state-of-emergency-in-france.md
Last active March 26, 2021 21:29
What the state of emergency means in France, where it's been declared following the Paris attacks
Congestion Control
[E2ECONGESTION] Floyd, S., Fall, K.,
"Promoting the Use of End-to-End Congestion Control in the Internet",
IEEE/ACM Transactions on Networking, May 1999,
<https://www.icir.org/floyd/papers/collapse.may99.pdf>.
[RFC896] Nagle, J., "Congestion Control in IP/TCP Internetworks",
@octaflop
octaflop / app.py
Last active July 13, 2017 08:22 — forked from maccman/app.py
import os
from flask import Flask, render_template, request
import stripe
stripe_keys = {
'secret_key': os.environ['SECRET_KEY'],
'publishable_key': os.environ['PUBLISHABLE_KEY']
}
stripe.api_key = stripe_keys['secret_key']
@adeel
adeel / gist:1240589
Created September 25, 2011 13:11
Null-route Facebook netblocks
#!/usr/bin/env python2
# http://bgp.he.net/AS32934#_prefixes
import os
netblocks = [
"31.13.24.0/21",
"66.220.144.0/21",
"66.220.152.0/21",
"69.63.176.0/21",