Advertisement
Linkcabin

Block Skype Resolvers From Resolving Your IP

May 11th, 2013
1,846
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. _ _ _ _ _
  2. | | (_) | | | | (_)
  3. | | _ _ __ | | _____ __ _| |__ _ _ __
  4. | | | | '_ \| |/ / __/ _` | '_ \| | '_ \
  5. | |____| | | | | < (_| (_| | |_) | | | | |
  6. |______|_|_| |_|_|\_\___\__,_|_.__/|_|_| |_|
  7. ============================================
  8. Ever been resolved by API's? Want to make
  9. sure you can never be booted? Trawling
  10. through various forums I found some neat
  11. VB code that takes advantage of the netsh
  12. firewall to block Skype TCP requests
  13. through your direct IP.
  14. ============================================
  15. I N S T R U C T I O N S
  16. ============================================
  17. 1. Paste the code you want into notepad.
  18. 2. Save as a .vbs file
  19. 3. Run the .vbs by double clicking, done!
  20. 4. For installing the patch:
  21. 4a. Go to Tools> Options> Advanced>
  22. Connections:
  23. 4b. Enter these details:
  24. 4bi. Proxy Protocol: Socks5
  25. 4bii. Host: 127.0.0.1
  26. 4biii. Port: 9050
  27. 4c. UNCHECK port 80 and 443
  28. 4ci.http://i.imgur.com/WtG9FKS.png
  29. 4cii. Enter port 9050 for incoming.
  30. 4d. Save the changes and restart Skype.
  31. ============================================
  32. C O D E
  33. ============================================
  34. Hide your IP Patch
  35. ============================================
  36. Set objShell = WScript.CreateObject("WScript.Shell")
  37. ss= objShell.RegRead ("HKEY_CURRENT_USER\Software\Skype\Phone\SkypePath")
  38. ss= """" + ss + """"
  39. 'Add Block rule
  40. objShell.run "netsh advfirewall firewall add rule name=""SkypeBlockTCP"" dir=out action=block program=" + ss + " enable=yes protocol=any profile=any"
  41. 'Add Allow rule
  42. objShell.run "netsh advfirewall firewall add rule name=""SkypeAllowToProxy"" dir=out action=allow program=" + ss + " enable=yes remoteip=127.0.0.1"
  43. 'Turn On firewall
  44. objShell.run "Netsh advfirewall set allprofiles state on"
  45. msgbox "Skype Is Tored"
  46. ===========================================
  47. Remove Patch
  48. ===========================================
  49. Set objShell = WScript.CreateObject("WScript.Shell")
  50. objShell.run "netsh advfirewall firewall delete rule name=""SkypeBlockTCP"""
  51. objShell.run "netsh advfirewall firewall delete rule name=""SkypeAllowToProxy"""
  52. msgbox "Skype Isn't Tored"
  53. ===========================================
  54. S O U R C E S
  55. ===========================================
  56. Original: http://is.gd/6DUKKR
  57. What is VBS?: http://is.gd/EBOuKk
  58.  
  59. Enjoy!
  60.  
  61. - Link
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement