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 os | |
| import sys | |
| import shutil | |
| import zipfile | |
| import platform | |
| import tempfile | |
| MAX_BACKUPS = 5 | |
| PATCHES = { | |
| "chrome/devtools/modules/devtools/server/actors/thread.js": { |
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
| debug(7); | |
| global('$frame $button $clicked'); | |
| import javax.swing.*; | |
| import java.awt.*; | |
| import java.awt.event.*; | |
| global('$dialog $label $label2'); | |
| #$dialog = dialog("Shortcut", 200, 200); | |
| $dialog = [new JDialog: $frame, 200]; |
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/python | |
| #coding: utf-8 | |
| # F-Isolation v0.1 - F**k isolated enviroments | |
| # Because we hate that kind of pentests where you start at an isolated citrix where our | |
| # clipboard is useless, we do not have internet access inside the machine and we can not | |
| # map a local resource to upload our tools. | |
| # OCR + Keyboard emulation FTW! |
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
| #[ | |
| Author: Ward | |
| Example of NtAllocateVirtualMemory, NtReadVirtualMemory, NtFreeVirtualMemory | |
| References: | |
| https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntallocatevirtualmemory | |
| ]# | |
| import winim/lean |
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/sh | |
| # VKontakte *m3u8 downloader | |
| # Worked at the time of writing | |
| mkdir /tmp/m3u8 | |
| set -e -x | |
| cd /tmp/m3u8 | |
| rm * |
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
| # For some reason dude secreted it so im just gonna steal his shit and repurpose it | |
| # Java packages | |
| import aggressor.windows.ScriptManager; | |
| import aggressor.AggressorClient; | |
| import aggressor.Prefs; | |
| import cortana.Cortana; | |
| import java.util.List; |
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 | |
| # Author:jftuga | |
| # shows how to use concurrent.futures threads and print its results | |
| import concurrent.futures, threading, random | |
| def example_func(a1: int,a2: int ,x: int) -> int: | |
| print(f"[{threading.current_thread().name}] {a1} * {a2} / {x}") |
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 python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
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
| find -type f -size +3M -print0 | while IFS= read -r -d '' i; do | |
| #echo $i | |
| echo -n '.' | |
| if grep -q "$i" md5-partial.txt; then | |
| echo -n ':'; #-e "\n$i ---- Already counted, skipping."; | |
| continue; | |
| fi | |
| #md5sum "$i" >> md5.txt | |
| MD5=`dd bs=1M count=1 if="$i" status=none | md5sum` | |
| MD5=`echo $MD5 | cut -d' ' -f1` |
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
| #https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/select-types-of-rules-to-create | |
| # Ensure System.Security assembly is loaded. | |
| Add-Type -AssemblyName System.Security | |
| function ConvertTo-CIPolicy { | |
| <# | |
| .SYNOPSIS | |
| Converts a binary file that contains a Code Integrity policy into XML format. |
NewerOlder