Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Zakir Durumeric zakird

💭
I may be slow to respond.
Block or report user

Report or block zakird

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0c795f8d40597438e4b659cdc8c57192
### Keybase proof
I hereby claim:
* I am zakird on github.
* I am zakir (https://keybase.io/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
{"name":"google.com","alexa_rank":1,"status":"SUCCESS","data":{"answers":[{"ttl":86395,"type":"CAA","tag":"issue","value":"symantec.com","flag":0}],"additionals":[{"ttl":341299,"type":"A","name":"ns1.google.com","answer":"216.239.32.10"},{"ttl":341299,"type":"A","name":"ns2.google.com","answer":"216.239.34.10"},{"ttl":341299,"type":"A","name":"ns3.google.com","answer":"216.239.36.10"},{"ttl":341299,"type":"A","name":"ns4.google.com","answer":"216.239.38.10"}],"authorities":[{"ttl":167769,"type":"NS","name":"google.com","answer":"ns1.google.com."},{"ttl":167769,"type":"NS","name":"google.com","answer":"ns2.google.com."},{"ttl":167769,"type":"NS","name":"google.com","answer":"ns4.google.com."},{"ttl":167769,"type":"NS","name":"google.com","answer":"ns3.google.com."}],"protocol":"udp"}}
{"name":"googleusercontent.com","alexa_rank":90,"status":"SUCCESS","data":{"answers":[{"ttl":86400,"type":"CAA","tag":"issue","value":"symantec.com","flag":0}],"additionals":[{"ttl":167770,"type":"A","name":"ns1.google.com","answ
View gist:bec563b6b09c23c6e037f994df0a820d
{
"uniqid": "umich-sandy",
"name": "Hurricane Sandy ZMap Scans",
"status": "production",
"short_desc": "TCP SYN scans of the public IPv4 address space on port 443 completed on October 30-31, 2012 in order to measure the impact of Hurricane Sandy. The initial results from these scans were originally released as part of \"ZMap: Fast Internet-Wide Scanning and its Security Applications\" at USENIX Security 2013. The dataset consists of the unique TCP SYN-ACK and RST responses received by ZMap in CSV format.",
"long_desc": "The dataset is composed the ZMap CSV output of full TCP SYN scans of the IPv4 address against port 443. All files contain the following fields: response, saddr, daddr, sport, dport, in_cooldown, timestamp. The output contains any TCP SYN-ACK or TCP RST responses. We acknowledge that there are several hours that are missing from the dataset.",
View test.yml
---
receipt: Oz-Ware Purchase Invoice
date: 2012-08-06
customer:
first_name: Dorothy
family_name: Gale
items:
- part_no: A4786
descrip: Water Bucket (Filled)
View ztag.diff
diff --git a/ztag/annotations/export.py b/ztag/annotations/export.py
index b4472ff..930c2b2 100644
--- a/ztag/annotations/export.py
+++ b/ztag/annotations/export.py
@@ -1,4 +1,4 @@
-from ztag.annotation import *
+from ztag.annotation import *
class RSAExportTag(Annotation):
View annotation.py
import ztag.test
class AgranatEmWeb(Annotation):
protocol = protocols.HTTP
subprotocol = protocols.HTTP.GET
port = None
def _process(self, d):
s = d["headers"]["server"]
@zakird
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
zakird / lookup.py
Created Sep 23, 2014
ast lookup of
View lookup.py
import os.path
import os
import subprocess
import sys
import logging
import multiprocessing
from multiprocessing import Pool
import time
import socket
@zakird
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) )
}
You can’t perform that action at this time.