Vavun

Untitled

Sep 23rd, 2017
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REG 0.79 KB | None | 0 0
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Allow]
  4. @="Разблокировать доступ в интернет"
  5. "icon"="imageres.dll,101"
  6. "Extended"=""
  7.  
  8. [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Allow\command]
  9. @="netsh advfirewall firewall delete rule name=\"%1\""
  10.  
  11. [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Block]
  12. @="Заблокировать доступ в интернет"
  13. "icon"="imageres.dll,100"
  14. "Extended"=""
  15.  
  16. [HKEY_CLASSES_ROOT\exefile\shell\Firewall_Block\command]
  17. ; @="netsh advfirewall firewall add rule name=\"%1\" dir=out action=block program=\"%1\""
  18. @="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