This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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 1237 0644 0259 3491 7A91 3F4B 763B 58DE C2F6 F0AA | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
cymru.py | |
""" | |
import sys | |
import os | |
import socket | |
import unittest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from cymru import CymruIPtoASNService | |
a = CymruIPtoASNService() | |
queries = [] | |
with open(sys.argv[1]) as fd: | |
i = 0 | |
for l in fd: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
import os | |
import subprocess | |
import sys | |
import logging | |
import multiprocessing | |
from multiprocessing import Pool | |
import time | |
import socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ztag.test | |
class AgranatEmWeb(Annotation): | |
protocol = protocols.HTTP | |
subprotocol = protocols.HTTP.GET | |
port = None | |
def _process(self, d): | |
s = d["headers"]["server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import M2Crypto | |
address = "mail.google.com" | |
context = M2Crypto.SSL.Context(); | |
context.set_allow_unknown_ca(True) | |
context.set_verify(M2Crypto.SSL.verify_none, True) | |
conn = M2Crypto.SSL.Connection(context) | |
conn.connect((address, 443)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "postgres.h" | |
#include "fmgr.h" | |
#include <openssl/x509.h> | |
#include <openssl/x509v3.h> | |
#include <openssl/bio.h> | |
#ifdef PG_MODULE_MAGIC | |
PG_MODULE_MAGIC; | |
#endif |
OlderNewer