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 | |
from argparse import ArgumentParser, Namespace | |
import os | |
import base64 | |
import json | |
def main(srcFile: str, dstFile:str) -> None: | |
if not os.path.isfile(srcFile): |
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
#!/bin/env python3 | |
import argparse | |
import datetime | |
import re | |
import sys | |
import uuid | |
############################################################################### | |
# Based off of Daniel Thatcher's guid tool |
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
.paths | to_entries | map(select(.key | test("^x-") | not)) | map ( .key as $path | .value | to_entries | map( select( .key | IN("get", "put", "post", "delete", "options", "head", "patch", "trace")) | { method: .key, path: $path, summary: .value.summary?, deprecated: .value.deprecated? })[] ) | map( .method + "\t" + .path + "\t" + .summary + (if .deprecated then " (deprecated)" else "" end)) [] |
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
[ | |
{"payload":"'"}, | |
{"payload":"''"}, | |
{"payload":";%00"}, | |
{"payload":"--"}, | |
{"payload":"-- -"}, | |
{"payload":"\"\""}, | |
{"payload":";"}, | |
{"payload":"' OR '1"}, | |
{"payload":"' OR 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 json | |
import sys | |
from typing import List | |
from dataclasses import dataclass | |
from presidio_analyzer import AnalyzerEngine, RecognizerResult | |
import argparse | |
from har_capture_reader import HarCaptureReader | |
analyzer: AnalyzerEngine = AnalyzerEngine() |
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
rom base64 import b64decode | |
import os | |
from typing import Iterator, Union | |
import json_stream | |
# This HAR capture reader was taken from mitmproxy2swagger and slightly modified to work for our needs. | |
# See https://github.com/alufers/mitmproxy2swagger/blob/master/mitmproxy2swagger/har_capture_reader.py | |
class HarFlowWrapper: | |
def __init__(self, flow: dict): |
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
#!/bin/bash | |
# Author: Dana Epp (@danaepp) | |
GROUP_NAME="DisposableVPN" | |
VM_NAME="DisposableVPN" | |
REGION="canadacentral" | |
PORT="51820" | |
echo "Creating resource group '$GROUP_NAME'..." |
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
{{7*7}} | |
${7*7} | |
<%= 7*7 %> | |
${{7*7}} | |
#{7*7} | |
*{7*7} |
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
#!/bin/env python3 | |
""" | |
request_logger.py | |
A simple HTTP server that will dump the requests being mirrored from an implant on an API server | |
WARNING: This will record all header and body content of a request to a JSON file. To reduce the risk of | |
information disclosure, care should be placed in the ACL of the output file. |
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
#!/bin/env python3 | |
import getpass | |
import time | |
import requests | |
from requests.cookies import create_cookie | |
from requests.adapters import HTTPAdapter | |
from requests.packages.urllib3.util.retry import Retry | |
import re | |
from typing import List |
NewerOlder