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
#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. |
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
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 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 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 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 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! |