Skip to content

Instantly share code, notes, and snippets.

@laanwj
laanwj / easyrpc.py
Last active August 18, 2024 09:21
Bitcoind RPC example from Python
'''
Convenience utility for connecting to a bitcoind instance through RPC.
'''
# W.J. van der Laan 2021 :: SPDX-License-Identifier: MIT
import base64
import decimal
from http import HTTPStatus
import http.client
import json
import logging
@sehrgut
sehrgut / xkeyscorerules100.txt
Created July 9, 2014 18:14
XKEYSCORE Tor rules
/*
Leaked by Das Erste
URL: http://daserste.ndr.de/panorama/archiv/2014/Quellcode-entschluesselt-Beweis-fuer-NSA-Spionage-in-Deutschland,nsa224.html
Source: http://daserste.ndr.de/panorama/xkeyscorerules100.txt
*/
// START_DEFINITION
/**
* Fingerprint Tor authoritative directories enacting the directory protocol.
*/