Home/Sector 04

Source Code

C#, PHP, VB6, PowerShell and script library.

‹ Back to library
BATCH

Re-open the closed vulnerable ports

Re-open the ports you closed. Save file as .bat and run. *Use at own risk

Uploaded 2025.10.0913 lines426 bytesID reopen-windows-ports
reopen-windows-portsBatch
@echo off
setlocal
set "GROUP=QuickClose_VulnPorts"

:: Must run as Administrator
net session >nul 2>&1 || (echo [!] Run this as Administrator.& pause & exit /b 1)

echo [+] Deleting firewall rules in group "%GROUP%"...
netsh advfirewall firewall delete rule group="%GROUP%" >nul 2>&1

echo [✓] Ports reopened (custom block rules removed). Existing allow/deny rules outside this group remain unchanged.
endlocal

Next sector · 05 Research Papers, write-ups and exploit notes.