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 argparse | |
| import ipaddress | |
| from os import path | |
| from time import sleep | |
| from shlex import split | |
| from scapy.all import sniff | |
| from threading import Thread | |
| from subprocess import Popen, PIPE | |
| valid_ranges = [] |
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
| from ctypes import (windll, wintypes, c_uint64, cast, POINTER, Union, c_ubyte, | |
| LittleEndianStructure, byref, c_size_t) | |
| import zlib | |
| # types and flags | |
| DELTA_FLAG_TYPE = c_uint64 | |
| DELTA_FLAG_NONE = 0x00000000 | |
| DELTA_APPLY_FLAG_ALLOW_PA19 = 0x00000001 |
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
| <# | |
| ================ | |
| PATCHCLEAN.PS1 | |
| ================= | |
| Version 1.0 Patch Folder Cleaner by Greg Linares (@Laughing_Mantis) | |
| This Tool will go through the patch folders created by PatchExtract.PS1 and look for files created older | |
| than 30 days prior to the current date and move these to a sub folder named "OLD" in the patch folders. |