This file contains hidden or 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
#define _CRT_SECURE_NO_WARNINGS // turn off SAFE COMMANDS | |
// ############################ | |
// Written By: Cristian Colocho | |
// Date Written: March, 14, 2015 | |
// Purpose: Loop Menu and Switch | |
// ############################ | |
#include <stdio.h> | |
#include <stdlib.h> | |
int enter(int n) { |
This file contains hidden or 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 os | |
import yaml | |
import glob | |
import re | |
import logging | |
import colorsys | |
import random | |
logger = logging.getLogger(__name__) |
This file contains hidden or 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/python | |
from __future__ import print_function | |
import sys | |
from datetime import datetime | |
import certifi | |
import pem | |
import OpenSSL | |
from acme import crypto_util as acme_crypto_util |
This file contains hidden or 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/python | |
from __future__ import print_function | |
import os | |
import OpenSSL | |
import pem | |
import click | |
def get_cn(cert_pem): |
This file contains hidden or 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 OpenSSL import crypto | |
import click | |
def validate_country(ctx, param, value): | |
try: | |
assert len(value) == 2 | |
except AssertionError: | |
raise click.BadParameter('{} must be two letters'.format(param.name)) |
This file contains hidden or 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
try: | |
config = yaml.load(open(CONFIGFILE).read()) | |
except: | |
config = None | |
if not config: config = {} | |
username = config.get('username', None) | |
password = keyring.get_password(PROGRAM, username) if username else None |
This file contains hidden or 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/python | |
import csv | |
import os | |
from datetime import datetime | |
skipped = open('no-target.csv', 'w') | |
targets = {} | |
with open('file_mapping.csv') as csvfile: |
This file contains hidden or 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
body { | |
background-color: #eeeeee; | |
} | |
a { | |
color: #333333; | |
text-decoration: none; | |
} | |
.server-stats { |
This file contains hidden or 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/python3 | |
import os | |
import re | |
import logging | |
import boto3 | |
from queue import Queue | |
from threading import Thread | |
from datetime import datetime, timedelta, timezone |
This file contains hidden or 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 sys | |
import os | |
import getpass | |
import socket | |
import select | |
import threading | |
import logging | |
import yaml |
OlderNewer