Based on our needs, we wrote a three Download software addresses that use php to generate the Thunder Express tornado. they are probably implemented using base64 encryption programs. the code is as follows. & Lt ;? Phpfunction
Based on our needs, we wrote a three Download software addresses that use php to generate the Thunder Express tornado. they are probably implemented using base64 encryption programs. the code is as follows.
-
- Function zhuanhuan (){
- $ Urlodd = explode ('/', $ _ get ["url"], 2); // divide the link into two sections. // The first section is the first section, followed by the second paragraph
- $ Head = strtolower ($ urlodd [0]); // php is case sensitive, which is first converted to lowercase. otherwise, http: or thunder: is not easy to handle.
- $ Behind = $ urlodd [1];
- If ($ head = "thunder :"){
- $ Url = substr (base64_decode ($ behind), 2,-2); // base64 decryption, remove the preceding aa and the following zz
- } Elseif ($ head = "flashget :"){
- $ Url1 = explode ('&', $ behind, 2 );
- $ Url = substr (base64_decode ($ url1 [0]), 10,-10); // base64 decryption, remove the previous [flashget]
- } Elseif ($ head = "qqdl :"){
- $ Url = base64_decode ($ behind); // base64 decryption
- } Elseif ($ head = "http:" | $ head = "ftp:" | $ head = "mms:" | $ head = "rtsp: "| $ head =" https :"){
- $ Url = $ _ get ["url"]; // The regular address only supports the http, https, ftp, mms, and rtsp transmission protocols. it seems that few other addresses are supported, A network disk like xx is actually based on base64, but some cannot be downloaded even after decryption.
- } Else {
- Echo "this page does not support this protocol currently ";
- }
- Return $ url;
- }
- If ($ _ get ["url"]! = Null ){
- $ Url = zhuanhuan ($ _ get ["url"]);
- $ Url_thunder = "thunder: //". base64_encode ("aa". $ url. "zz"); // base64 encryption, the same is true for the following 2
- $ Url_flashget = "flashget: //". base64_encode ("[flashget]". $ url. "[flashget]"). "& aiyh ";
- $ Url_qqdl = "qqdl: //". base64_encode ($ url );
- }
- ?>
Actual address :" "Target =" _ blank ">
Thunder chain :" "Target =" _ blank ">
Express chain :" "Target =" _ blank ">
Tornado chain :" "Target =" _ blank ">