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
| /* | |
| * IP6_EXTHDR_CHECK Double Free (CVE-2020-9892) Exploit PoC for FreeBSD 9.0 | |
| * https://github.com/google/security-research/security/advisories/GHSA-gxcr-cw4q-9q78 | |
| * - | |
| * Bug credit: Andy Nguyen (@theflow0) | |
| * Exploit credit: @SpecterDev, @tihmstar | |
| * Thanks: @sleirsgoevy, @littlelailo, flatz (@flat_z), @balika011 | |
| * - | |
| * Build: gcc -o expl ip6_expl_poc.c -pthread | |
| * - |
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 | |
| import socket, os, select, struct | |
| import errno | |
| import logging | |
| from logging import info, warn, error | |
| logging.root.setLevel(logging.INFO) |
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 | |
| # Filename s5.py | |
| # Python Dynamic Socks5 Proxy | |
| # Usage: python s5.py 1080 | |
| # Background Run: nohup python s5.py 1080 & | |
| # Email: ringzero@557.im | |
| import socket, sys, select, SocketServer, struct, time | |
| class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): pass |
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 | |
| import asyncio | |
| from vpn import get_proxy | |
| proxy = port = auth = None | |
| pool = asyncio.Queue(5) | |
| psize = 0 | |
| async def process_client(client_reader, client_writer, *, CHUNK=4096): | |
| global psize |
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
| /* | |
| ********************************************************************* | |
| Part of UEFI DXE driver code that injects Hyper-V VM exit handler | |
| backdoor into the Device Guard enabled Windows 10 Enterprise. | |
| Execution starts from new_ExitBootServices() -- a hook handler | |
| for EFI_BOOT_SERVICES.ExitBootServices() which being called by | |
| winload!OslFwpKernelSetupPhase1(). After DXE phase exit winload.efi | |
| transfers exeution to previously loaded Hyper-V kernel (hvix64.sys) |
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/bash | |
| git clone https://github.com/hashcat/hashcat.git | |
| mkdir -p hashcat/deps | |
| git clone https://github.com/KhronosGroup/OpenCL-Headers.git hashcat/deps/OpenCL | |
| cd hashcat/ && make | |
| ./hashcat --version | |
| ./hashcat -b -D 1,2 | |
| ./example0.sh |
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 | |
| # cross & static compile shadowsocks-libev | |
| PCRE_VER=8.41 | |
| PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz" | |
| MBEDTLS_VER=2.6.0 | |
| MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz" |
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
| // Adds IDA symbols as WinDbg synthetic symbols | |
| // | |
| // Original code by 'blabb'. | |
| // | |
| // See: | |
| // http://www.woodmann.com/forum/entry.php?262-addsym-windbg-extension-%28extension-to-load-names-from-ida-to-windbg%29 | |
| // http://reverseengineering.stackexchange.com/questions/3850/importing-list-of-functions-and-addresses-into-windbg | |
| #include <engextcpp.hpp> |