mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-23 00:00:26 +02:00
3 lines
227 B
Batchfile
3 lines
227 B
Batchfile
|
netsh advfirewall firewall add rule name="Open Port 3389" dir=in action=allow protocol=TCP localport=3389
|
||
|
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
|