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
"""scrape github gists""" | |
#!/usr/bin/env python | |
from sys import argv | |
from json import load | |
from urllib import request | |
from subprocess import call | |
GITHUB = "https://api.github.com/users/" | |
USER = argv[1] | |
call(['mkdir', '-p', USER]) |
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
//template by @beesandbombs edited by @13utters | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) |
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
""" | |
what: | |
download all sketches (as .zip) from a given user on p5.js | |
how: | |
python <TARGET> [<OUT_DIR>] | |
who: | |
@13utters | |
""" | |
from sys import argv, exit | |
from pathlib import Path |
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
#!/bin/bash | |
# This script generates nuclei templates for out-of-band | |
# testing using a local server in the same network as the target. | |
# (no Interactsh needed) | |
template_dir="$1" | |
oob_server="$2" | |
if [ -z "$template_dir" ] || [ -z "$oob_server" ]; then |
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
#!/bin/bash | |
# ./prepX.sh <IP> <BOX_PATH> <INTERFACE> | |
bold=$(tput bold); | |
normal=$(tput sgr0); | |
NMAP_MIN_RATE=500; | |
convert_xml_to_csv() { | |
XMLS=/usr/bin/xmlstarlet | |
NMAP_PATH="$1/nmap" |
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
import json | |
import csv | |
from sys import argv | |
def flatten_dict(dictionary, parent_key='', sep='.'): | |
items = [] | |
for key, value in dictionary.items(): | |
new_key = f"{parent_key}{sep}{key}" if parent_key else key | |
if isinstance(value, dict): | |
if "Permissions" in key: |
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
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "$0 <PATH TO NMAP SCAN RESULTS>" | |
exit 1 | |
fi | |
AUDIT_RESULTS=$1 | |
PREFIX=$2 | |
DB_HOST="127.0.0.1" |
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
#!/bin/bash | |
NET=$1 | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
error="${bold}[!]${normal}" | |
if [ -z "${1}" ]; then | |
echo "${0} <NET_IN_CIDR>|<FILE> [--check]" | |
exit 1 | |
fi |
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 | |
from os import listdir, path | |
from argparse import ArgumentParser | |
import xml.etree.ElementTree as ET | |
__version__ = 1.0 | |
def scan(in_file, search_pattern): | |
systems = {} |
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 | |
__version__ = "1.0" | |
__about__ = "nessus report exporter" | |
from time import sleep | |
from os import environ | |
import requests | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) |
OlderNewer