Skip to content

Instantly share code, notes, and snippets.


Zakir Durumeric zakird

View GitHub Profile
View cloudflare-family-tranco-censored
View gist:0c795f8d40597438e4b659cdc8c57192
### Keybase proof
I hereby claim:
* I am zakird on github.
* I am zakir ( on keybase.
* I have a public key whose fingerprint is D70D 134F A713 F45F F784 5711 98A3 5EEE 5966 EBBE
To claim this, I am signing this object:
View gist:d729370f04cbc6053dc0db06f33cd390
View test.yml
receipt: Oz-Ware Purchase Invoice
date: 2012-08-06
first_name: Dorothy
family_name: Gale
- part_no: A4786
descrip: Water Bucket (Filled)
View ztag.diff
diff --git a/ztag/annotations/ b/ztag/annotations/
index b4472ff..930c2b2 100644
--- a/ztag/annotations/
+++ b/ztag/annotations/
@@ -1,4 +1,4 @@
-from ztag.annotation import *
+from ztag.annotation import *
class RSAExportTag(Annotation):
import ztag.test
class AgranatEmWeb(Annotation):
protocol = protocols.HTTP
subprotocol = protocols.HTTP.GET
port = None
def _process(self, d):
s = d["headers"]["server"]
zakird / judycount.c
Created Nov 28, 2014
Judy Array Counting
View judycount.c
#include <assert.h>
#include <stdint.h>
#include <arpa/inet.h>
#include <Judy.h>
void lml_set(Pvoid_t *a, uint64_t k1, uint64_t k2, uint64_t v)
Word_t *v_;
Pvoid_t b = *a;
JLI(v_, b, k1);
View gist:c90abcb3a6e5adb19456
1% IPv4 All Certificates
Highest Support:
SSLv3: 9,817 (2.7%)
TLS1.0: 215,743 (60.4%)
TLS1.1: 2,227 (0.6%)
TLS1.2: 129,364 (36.2%)
Any SSLv3 Support:
SSLv3 Support: 342,659 (95.9%)
No SSLv3 Support: 14,492 (4.1%)
zakird /
Created Sep 23, 2014
ast lookup of
import os.path
import os
import subprocess
import sys
import logging
import multiprocessing
from multiprocessing import Pool
import time
import socket
zakird / get-root-cas.ps1
Created Aug 23, 2014
powershell script that exports trusted root certificate authorities on Windows machine
View get-root-cas.ps1
$type = [System.Security.Cryptography.X509Certificates.X509ContentType]::Cert
get-childitem -path cert:\LocalMachine\AuthRoot | ForEach-Object {
$hash = $_.GetCertHashString()
[System.IO.File]::WriteAllBytes("$hash.der", $_.export($type) )