ujiajah1

test storeid/storeurl/ mediafire download

May 30th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.59 KB | None | 0 0
  1. mathching regex =
  2. http://www.rubular.com/r/QvuildXcZE
  3.  
  4. link testing download =
  5. http://www.mediafire.com/download/0h2y18fjymy7b2n/speedtest.7z
  6. http://download856.mediafire.com/knl8anwyp8sg/b6g0cxxnf837vpc/dixmlsetup.exe
  7. http://download1503.mediafire.com/2tl5rkpqhlng/c518j5ncppr0a6m/analyzsquid.7z
  8. http://download1580.mediafire.com/na9dlpbm7yig/54zo4c8l9u1qd5q/kaleidoskop+.mp3
  9. http://download2232.mediafire.com/yf6e174hf6kg/qvkf4fj8zk9fhgb/Belajar++C%2B%2B.zip
  10.  
  11. squid.conf =
  12. acl mediafire url_regex -i ^http:\/\/.*\.*mediafire\.com.*\/(.*[0-9]+\w+\d+[^\&\s]*).*
  13. acl mediafire url_regex -i ^http:\/\/.*\.*mediafire\.com.*\/(\w+\d+[0-9]+[^\&\s]*).*
  14. acl mediafire url_regex -i ^https?:\/\/.*\.(mediafire\.com\/)(.*[0-9]+[^\&\s]*)
  15. acl mediafire url_regex -i ^https?:\/\/.*\.mediafire\.com\/(.*[0-9]+[^\&\s]*)
  16.  
  17. store-id.pl =
  18. } elsif ($u=~ m/^http:\/\/.*\.*mediafire\.com.*\/(.*[0-9]+\w+\d+[^\&\s]*).*/) {
  19.     $out="OK store-id=http://mediafire.download.squid.internal/" . $1;
  20.  
  21. } elsif ($u=~ m/^http:\/\/.*\.*mediafire\.com.*\/(\w+\d+[0-9]+[^\&\s]*).*/) {
  22.     $out="OK store-id=http://mediafire.download.squid.internal/" . $1;
  23.  
  24. } elsif ($u=~ m/^https?:\/\/.*\.mediafire\.com\/(.*[0-9]+[^\&\s]*)/) {
  25.     $out="OK store-id=http://mediafire.download.squid.internal/" . $1 ;
  26.  
  27. } elsif ($u=~ m/^https?:\/\/.*\.(mediafire\.com\/)(.*[0-9]+[^\&\s]*)/) {
  28.     $out="OK store-id=http://mediafire.download.squid.internal/" . $1 . "/" . $2;
  29.  
  30.  
  31. hasil log squid = download zip
  32. 1464704946.243    186 192.168.1.100 TCP_HIT/200 1040949 GET http://www.mediafire.com/download/01sq425sku0bdc9/DasarCpp.zip -
  33. HIER_NONE/- application/zip
Add Comment
Please, Sign In to add comment