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 | |
# | |
# Copyright (c) 2024 defparam | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTI |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDOLtmqAAxp1FOns+IPNlWWR91vNbh7ue8SMmRbGXO0MnTK7F06OiYkc0LTqWQDTlqRT06fjZaSrjmaHypKHa/fyPr2+ZTQQUXiEAre1u1dXS7oJU6iApwzYkoEmNu3Uk1ssj1xCvrbuirxHPTRGcyz3XmifCIFpsza5ak+epSgH2sTIELalbrPREau3R4J65clsxsO/ENOj9z4WmUq/LLJZzEHbmV00H2XRaknqL6Aw9DIkalbop9/PIdDBvm1LqRFJTKR2bJPxkGV0braBQi5ZUsLRBmdbM625ltK5TBIajKUnNywc4sLJVmcSPcEs5tbTEykRMEFueu/bLyHKWlBGAIo1Lob/5e/ezD1ADmI8MDqk6mzyM9236ykJ+OirLanAe31axFDhMM/T8T86I/f9m1VFa5b6R+YOfrTUsZy/g/U2+ZNX+IgJYkEebNc5SkrHN5tZq/BqlOSJne8UAa7PYTuwyqxOCU/u+QZQMOef83AR+CR0LRXLQk37bqNAFz4ssuPvO0YK34z43EKXDm+9tWHP94P340GnhrNyDs/JQWyE2Y7dpru51k8NI44uvUSu9iacP4IrXXcYTmSDRq4p8fS/zqveXqK0QoSU4BqXC2UDivHwGZymUQ6emD8lvR10osrLTLoNov+8oeyj6XKzM76+f+XjJKATFJTYqTc2Q== openpgp:0xF4C0A3A3 |
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
def examine(obj): | |
objl = dir(obj) | |
for item in objl: | |
print("%s: %s"%(item.ljust(40," "), type(getattr(obj, item)))) |
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
from threading import Thread | |
import time | |
class TrafficMagnet(burp.IProxyListener): | |
def __init__(self): | |
callbacks.registerProxyListener(self) | |
self._helpers = callbacks.getHelpers() | |
self._callbacks = callbacks | |
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 | |
# Copyright 2021-2023 Evan Custodio (@defparam) | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
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
# Gist of the Day: Turbo Intruder Cluster Bomb with SmartFiltering | |
# Author: Evan Custodio (@defparam) | |
# | |
# MIT License | |
# Copyright 2021 Evan Custodio | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# |
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, re | |
import atheris | |
from urllib.parse import urlparse | |
# Our sketchy regex to be tested | |
OurRegex = re.compile(b"^(((([A-Za-z0-9.-]*\.)?example1\.com)|(([A-Za-z0-9.-]*\.)\?example2\.com)|(([A-Za-z0-9.-]*\.)?example3\.com)))") | |
# The allow list of domains the regex is trying to validate | |
Allowlist = [b"example1.com", b"example2.com", b"example3.com"] |
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
# JSON Fuzz Proof of Concept using JSONAccessor | |
# Author: Evan Custodio (@defparam) | |
# | |
# MIT License | |
# Copyright 2021 Evan Custodio | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# |