Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Set objShell = WScript.CreateObject("WScript.Shell")
  2. ss= objShell.RegRead ("HKEY_CURRENT_USER\Software\Skype\Phone\SkypePath")
  3. ss= """" + ss + """"
  4. 'Add Block rule
  5. objShell.run "netsh advfirewall firewall add rule name=""SkypeBlockTCP"" dir=out action=block program=" + ss + " enable=yes protocol=any profile=any"
  6. 'Add Allow rule
  7. objShell.run "netsh advfirewall firewall add rule name=""SkypeAllowToProxy"" dir=out action=allow program=" + ss + " enable=yes remoteip=127.0.0.1"
  8. 'Turn On firewall
  9. objShell.run "Netsh advfirewall set allprofiles state on"
  10. msgbox "A Plus de reverse <3 !"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement