<?php
error_reporting(0);
function decrypt($key, $c_t) {
$c_t = trim(chop(base64_decode($c_t)));
$iv = substr(md5($key), 0,mcrypt_get_iv_size (MCRYPT_CAST_256,MCRYPT_MODE_CFB));
$p_t = mcrypt_cfb (MCRYPT_CAST_256, $key, $c_t, MCRYPT_DECRYPT, $iv);
return trim(chop($p_t));
}
$code = $_GET['code'];
//$code = $_REQUEST['code'];
//echo decrypt("abcdegf",$code);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>正在为您跳转,请稍候....</title>
<script language="javascript">
function gourl(str){
//alert(str);
if(str.indexOf("s.click")>=0||str.indexOf("http")>=0){
if(str.indexOf("s.click")>=0&&str.indexOf("mm_14894864_0_0")<0){
window.location=str+"&p=mm_14894864_0_0";//&p=mm_15199659_0_0
}
else{
if(str.indexOf("http")>=0){
window.location=str;
}
else{
window.location="http://"+str;
}
}
}
else{
window.location="http://"+str;
}
}
var t = 3;
var urlstr;
function skip(url){
urlstr = url;
window.setTimeout("checktime()",1000);
//一秒执行一次本函数
}
function checktime(){
var obj = document.getElementById('timecon');
if(t>0){ //已经到0秒
window.setTimeout("checktime()",1000);
t-- ;
obj.innerHTML = t;
} //页面显示数值
else{
gourl(urlstr);
}
}
</script>
<style>
#timecon{ color:#FF0000; font-weight:bold; font-family:"黑体"; font-size:18px; margin:0px 5px}
.rtext{ font-size:15px; font-weight:bold; line-height:55px; color: #006666; font-family:"宋体";}
.rtext a{ color: #CC0000}
.out{ width:740px; height:50px; line-height:50px; margin:5px auto; border:2px #996600 solid; text-align:center; padding:5px}
</style>
<!--<meta http-equiv="refresh" content="0;url=<?php echo decrypt("abcdegf",$code); ?>">-->
</head>
<body>
<div style='display:none'>
</div>
<?php
//$code = $_REQUEST['code'];
//echo decrypt("abcdegf",$code);
//echo decrypt("abcdegf",$code);
echo "<div class='out'>";
echo "<div class='rtext'>温馨提示:正在为您跳转,请稍候...</div>";
echo "</div>";
?>
<script language="javascript">
gourl("<?php echo decrypt("abcdegf",$code); ?>")
</script></body>
</html>
网址加密解密程序,淘宝客链接加密小程序
3星 · 超过75%的资源 需积分: 10 183 浏览量
2012-05-23
15:58:40
上传
评论
收藏 2KB ZIP 举报
牛店网
- 粉丝: 1
- 资源: 1
最新资源
- 基于keras+fasterRCNN,在VOC格式的口罩数据集上训练,检测人群中有无戴口罩python源码+模型
- 基于opencv+qt5机器视觉的传统缺陷检测, 即采用标准图片和待测图片进行pixel to pixel的XOR操作源码+文档
- 管道内检测缺陷数据库管理系统源码+文档说明+sln
- 毕业设计-低功耗STM32F411开发板(原理图+PCB源文件+官方例程+驱动等)源码+文档说明+截图
- 基于yolov5-tensorRT检测+发动机缸体内壁缺陷检测系统源码+文档说明
- 基于C++实现的锂电池缺陷检测源码+文档说明
- push_version
- 软件自制图像批量压缩工具
- 经典缺陷检测算法源码整理包含PaDiM(2020ICPR)、PatchCore(2022CVPR)、SimpleNet+文档说明
- 基于深度学习的抗梯度噪声的缺陷检测器python源码+文档说明+模型的预训练
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈