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
#ch6_burp_intruder_fuzz_example.py | |
#Required for Burp Extender | |
from burp import IBurpExtender | |
from burp import IIntruderPayloadGeneratorFactory | |
from burp import IIntruderPayloadGenerator | |
from java.util import List, ArrayList | |
import random | |
#Class to Define Burp Intruder Payload Generator Factory. Please refer to |
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
#ch5_html_form_brute_force.py | |
from html.parser import HTMLParser | |
import urllib.request | |
import urllib.parse | |
import http.cookiejar | |
import queue | |
import threading | |
import sys | |
import os |
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
#HTTP URL Brute Forcer | |
import threading | |
import urllib.request | |
import queue | |
import sys | |
arguments = sys.argv | |
successful_attempts = [] | |
extensions = [".png", ".inc", ".php", ".orig"] | |
threads = 10 |
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 scapy.all import * | |
import zlib | |
import uuid | |
import re | |
import sys | |
#Usage Instructions | |
def usage(): | |
print("\n") | |
print(f"Strip URL Usage (with pcap file): python3 {sys.argv[0]} --inputpcap /path/to/pcap --stripurl /path/to/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
from scapy.all import * | |
import os | |
import signal | |
import sys | |
import threading | |
import time | |
#ARP Poison parameters | |
gateway_ip = "10.0.0.1" | |
target_ip = "10.0.0.250" |
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 struct | |
import threading | |
import sys | |
import os | |
import time | |
from ctypes import * | |
from netaddr import IPNetwork, IPAddress | |
class ICMP(Structure): |
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 os | |
import sys | |
import socket | |
import struct | |
from ctypes import * | |
#This is the IP Class inherited from Structure. | |
class IP(Structure): | |
#A fields attribute is required to be able to parse the buffer into 1, 2 or |
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
#tcp server tools | |
import socket | |
import getopt | |
import threading | |
import subprocess | |
import sys | |
global target | |
global port | |
global file_destination | |
global execute |
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
#netcat example | |
import sys | |
import socket | |
import getopt | |
global target | |
global port | |
target = "" | |
port = 0 | |
def usage(): | |
print(" ") |
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
#a simple tcp proxy | |
import sys | |
import threading | |
import socket | |
import hexdump | |
import time | |
global localhost | |
global localport | |
global remotehost | |
global remoteport |