SHARE
TWEET

Untitled

a guest Jul 14th, 2014 319 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## ALL-U-NEED Ad Blocking v3.9e
  2.  
  3. sleep 10
  4.  
  5. ADB="/tmp/ADBLOCK.sh"
  6. {
  7. cat <<'ENDF' >$ADB
  8. #!/bin/sh
  9.  
  10. OPTIMISE="Y"
  11. GETS="1 2 3 4 5 6"
  12. TRIM_BEGIN=1
  13. S1="http://www.malwaredomainlist.com/hostslist/hosts.txt"
  14. S2="http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext"
  15. S3="http://hosts-file.net/ad_servers.asp"
  16. S4="http://winhelp2002.mvps.org/hosts.txt"
  17. S5="http://sysctl.org/cameleon/hosts"
  18. S6="http://hosts-file.net/hphosts-partial.asp"
  19.  
  20. USEWHITELIST="Y" # N/Y/R for remote
  21. WURL="http://example.com/whitelist.txt"
  22. WHITE="intel.com
  23. www.shadowandy.net"
  24. BLACK=""
  25.  
  26. USEPIXELSERV="Y"
  27. PXL_IP=192.168.1.10
  28. PXL_EXE="/tmp/pixelserv"
  29. PXL_URL="http://www.dropbox.com/s/c2nbejm79wdzxel/pixelserv?dl=1"
  30.  
  31. UPLOAD="N"
  32. FTP_SERVER="example.com"
  33. FTP_USER=""
  34. FTP_PASS=""
  35. FTP_PORT=21
  36. FTP_PATH="/gen"
  37.  
  38. ADD_CONF="Y"
  39. USEHOSTS="N"
  40. ROUTER="Y"
  41.  
  42. NIP="0.0.0.0"
  43.  
  44. ENDF
  45. }
  46.  
  47. UPDATE="Y"
  48. AUP() {
  49. if [[ "$UPDATE" == "Y" ]] ; then
  50. if [[ "$(cru l | grep AdUpd | cut -d '#' -f2)" != "AdUpd" ]] ; then
  51. cru a AdUpd "0 4 * * * $ADB"
  52. fi
  53. fi
  54. }
  55.  
  56. #### DO NOT EDIT BELOW ####
  57.  
  58. b64="openssl enc -base64 -d"
  59. [[ "$(echo WQ==|$b64)" != "Y" ]] && b64="b64"
  60.  
  61. b64(){
  62. awk 'BEGIN{b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}
  63. {for(i=1;i<=length($0);i++){c=index(b64,substr($0,i,1));if(c--)
  64. for(b=0;b<6;b++){o=o*2+int(c/32);c=(c*2)%64;if(++obc==8){if(o)
  65. {printf"%c",o}else{system("echo -en \"\\0\"")}obc=o=0}}}}';}
  66.  
  67. {
  68. cat <<'ENDF'| $b64 |gunzip >>$ADB
  69. H4sICJEmo1IAA2RlY29kZWQudHh0AK1Xe2/aSBD/359iuvHFkKsx5Jq7KtSRCI+A
  70. SgCBc+kpJBG1F1gVbGo7j17od7/ZWRsMJG2kXpMq693Zmd+8Zyv9s4Gt72ln9Y7N
  71. rHi+sCbcZ5pz3ks+Yz5fMK3a7TSSDTfwx0xrdgfOINmZBlEcMe2y0WrXk62HqYg5
  72. 0/CfGMPVFegVlANvbCjC9TUsl3KP6blFBEuYhHwBJgfDNCVvI90y/OBz4H0z8gxs
  73. GxjDm2WIp9zXwjmYY9ARc2HuHWU/Z6Mo1sZCCq62+7k8PGVO0yUqly6lXuma8Gvf
  74. 5d3epzbdVeCZfjGo91qf6u1Bvf+3QvNPBo6iegPmI+h487b+qb4+fJjwGMzu+oQW
  75. F/225k7ngQe/ry9J4GIsbSAm8DksHhfVUau3ApJbCC8Yw0I88lnEw/sd22zJafXK
  76. EM04WrMEZZB3AL6I2QzMQevsYtAvwS7LMhCOVwrUZsFkwkOo1E7b3epHqPf73f4x
  77. uCPfD2KI4lEYr29r8o/G70czYJ1Wz04wMqk5/pLtO1Uy/UWnVm/YRW0chCBA+NKD
  78. zqAMXgCKwV04s9lQH+iCgdYr2XqOu9MAdNxfQsQ9MKLlzTSOF1fR9cGxZV3dWNcH
  79. w5xVOBjm9eWwtDTyWvPn14Y5dTGPF9NrEtOjxFSCQ/hDYtJiMecpL4xl1qxXauiC
  80. EjQdp2eVCqVhOPSbmCjHoDfpoxr4PndjEfhor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A4zYx/ffd/45eZwBq1zuB8u1S9EHvuIi23OLBI
  97. kmSs/fPdu3QjUwVwtFoaOk5+OOQbz5yXBDbHQhF/SrBqeitCUjmhlqzkQDbyvJBH
  98. kW3tW4rx0ljpo8putXH2Ol2AupjFY9fy/Gg+ir4W5CxOiU3vBHmcfsCHD/VuQ0Px
  99. vkkRaK+fQpo8IbAvM8xCrNRq2yBx61aKeQbkK/RQAzbytAkry47dtIvSaeZeadQ4
  100. SxTypu7CHN3F0yAU8SgW91IJd8rNSPzL7cPiu/cyXcxR9M137SPSdGXp0/bHZO4J
  101. 7wX2y0RpfAQEi9fATunVO9AcixlXCij8zx5n7digQYgstH5YGsm1nWclpGK30z+V
  102. IyII73wfi/GP2ghGn3zjyJKdOhmLdrJcQcMxQT4q5esG5zU50NA8IMuS7BX0l4qM
  103. 9tMKQtlJYZ0EDhkelad3rxSk/Qf82ewR1Q8AAA==
  104. ENDF
  105. }
  106.  
  107. chmod 775 $ADB
  108. $ADB
  109. AUP
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top