View gist:66bfd2b0705f612f9fa8
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 | |
import socket | |
import ssl | |
import datetime | |
import smtplib | |
import argparse | |
import sys | |
import logging |
View throttle.py
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 python3 | |
import re | |
import socket | |
from subprocess import check_output | |
def eval_position(position, status): | |
try: | |
if status[position] == 1: | |
return 1 |
View sslcheck.py
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 socket | |
import ssl | |
import datetime | |
from multiprocessing.dummy import Pool as ThreadPool | |
# Tuples containing host and port | |
CERTS_TO_CHECK = [("host_one", 443), | |
("host_two", 25)] |
View compression.py
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 | |
from multiprocessing.dummy import Pool | |
from collections import defaultdict | |
import requests | |
import logging | |
def uses_compression(domain): | |
logging.info(domain) | |
try: |
View iflip.py
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 python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
flipdict = { | |
'a': 'ɐ', | |
'b': 'q', | |
'c': 'ɔ', | |
'C': 'Ɔ', | |
'd': 'p', |