This commit is contained in:
hakasenyang
2016-10-03 07:08:58 +09:00
parent fd8e2c3f4e
commit 971d00a06e
2 changed files with 21 additions and 9 deletions
+9 -4
View File
@@ -48,13 +48,18 @@
* @return [string] [Original URL]
* Source by http://skizzerz.net/scripts/adfly.php
*/
public function decode_adfly( $ysmm ) {
public function decode_adfly( $ysmm )
{
$left = '';
$right = '';
for ( $i = 0; $i < strlen( $ysmm ); $i++ ) {
if ( $i % 2 == 0 ) {
for ( $i = 0; $i < strlen( $ysmm ); $i++ )
{
if ( $i % 2 == 0 )
{
$left .= $ysmm[$i];
} else {
}
else
{
$right = $ysmm[$i] . $right;
}
}
+10 -3
View File
@@ -8,7 +8,8 @@
include_once '_function.php';
$aa = new Redirect();
$url = $_GET['url'];
if($url) {
if($url)
{
$urls = parse_url($url);
switch($urls['host'])
{
@@ -61,7 +62,12 @@
echo 'Not supported. (E-mail: contact@hakase.kr)';
break;
}
if($data) echo $data; else echo 'Error';
if($data)
echo $data;
else
echo 'Error';
exit;
}
?>
@@ -69,6 +75,7 @@
<a href='?url=<?php echo urlencode('http://me2.do/G4AB9cJL');?>'>http://me2.do/G4AB9cJL</a><br>
<a href='?url=<?php echo urlencode('https://goo.gl/AIScrC');?>'>https://goo.gl/AIScrC</a><br>
<a href='?url=<?php echo urlencode('http://bit.ly/29O1WJt');?>'>http://bit.ly/29O1WJt</a><br>
<a href='?url=<?php echo urlencode('http://durl.kr/cpubjn');?>'>http://durl.kr/cpubjn</a></p>
<a href='?url=<?php echo urlencode('http://durl.kr/cpubjn');?>'>http://durl.kr/cpubjn</a><br>
And the other...</p>
<p>How to use? : ?url=URL<br>
Supported URL : me2.do / goo.gl / tinyurl.com / me2.do / durl.kr / adf.ly / sh.st / adfoc.us / bc.vc (wait for 5 seconds)</p>