26 lines
1.3 KiB
Reg
26 lines
1.3 KiB
Reg
# Script by Timur@0x01337.com
|
|
# Date: 2023-11-30
|
|
Windows Registry Editor Version 5.00
|
|
|
|
[HKEY_CLASSES_ROOT\exefile\shell\fwblock]
|
|
@="Blockiere in Firewall"
|
|
"NoWorkingDirectory"=""
|
|
"Icon"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
|
|
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
|
|
68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,20,00,2c,00,32,\
|
|
00,37,00,34,00,00,00
|
|
|
|
[HKEY_CLASSES_ROOT\exefile\shell\fwblock\command]
|
|
@="cmd.exe /c netsh advfirewall firewall add rule name=\"%1\" dir=in action=block program=\"%1\" description=\"Blockiert vom Benutzer\" && cmd.exe /c netsh advfirewall firewall add rule name=\"%1\" dir=out action=block program=\"%1\" description=\"Blockiert vom Benutzer\""
|
|
|
|
[HKEY_CLASSES_ROOT\exefile\shell\fwdelblock]
|
|
@="Blockade in Firewall entfernen"
|
|
"NoWorkingDirectory"=""
|
|
"Icon"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
|
|
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
|
|
68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,20,00,2c,00,32,\
|
|
00,37,00,35,00,00,00
|
|
|
|
[HKEY_CLASSES_ROOT\exefile\shell\fwdelblock\command]
|
|
@="cmd.exe /c Netsh Advfirewall Firewall delete Rule Name =ALL program=\"%1\""
|