Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Allow]
- @="Разблокировать доступ в интернет"
- "icon"="imageres.dll,101"
- "Extended"=""
- [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Allow\command]
- @="netsh advfirewall firewall delete rule name=\"%1\""
- [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Block]
- @="Заблокировать доступ в интернет"
- "icon"="imageres.dll,100"
- "Extended"=""
- [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Block\command]
- ; @="netsh advfirewall firewall add rule name=\"%1\" dir=out action=block program=\"%1\""
- @="cmd /d /c \"netsh advfirewall firewall add rule name=\"%1\" dir=in action=block program=\"%1\" & netsh advfirewall firewall add rule name=\"%1\" dir=out action=block program=\"%1\"\""
Advertisement
Add Comment
Please, Sign In to add comment