http://dl.360safe.com/cse/360cse.exe
http://cdn.client.baidu.com/browser-lab/bdbrowser_setup-1_4_3_16.exe
http://aihdownload.adobe.com/bin/install_flashplayer11x32_mssd_aih.exe
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_32bit.exe
http://aihdownload.adobe.com/bin/install_flashplayer11x32ax_gtbd_aih.exe
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_ax_32bit.exe
http://www.corel.com/akdlm/6763/downloads/trials/WinDVD11/Pro/TBYB/WinDVD11_Pro_TBYB.exe
http://www.skycn.com/down.php?uri=http://222.36.28.38:82/down/WinDVD60B06128cht.exe
<?php
//.php?url=http://实现Flash跨域读取信息,以及外链指定referer来源&referer=http://
$url = urldecode($_REQUEST["url"]);
if($url){
$path_parts = pathinfo($url);
$filename = $path_parts["basename"];
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=$filename");
header("Content-Transfer-Encoding: binary");
$ref = urldecode($_REQUEST["ref"]);
$str = "Referer: $ref";
$context = array('http' => array ('header'=> $str));
$xcontext = stream_context_create($context);
$data = file_get_contents($url, false, $xcontext);
echo $data;
}
?>
<?php
//php?ll=http://外链显示图片文本
error_reporting(0);
$ll = $_REQUEST["ll"];
if(!empty($ll)){
$data = get_data($ll);
echo $data;
}
function get_data($ll) {
if(function_exists('file_get_contents')) {
return file_get_contents($ll);
}
}
?>
文件夹目录 列表显示文件 PHP代码
<?
$host=$_SERVER['HTTP_HOST'];
/*
Directory Listing Script - Version 2
====================================
Script Author: Ash Young <ash@evoluted.net>. www.evoluted.net
Layout: Manny <manny@tenka.co.uk>. www.tenka.co.uk
*/
$startdir = '.';
$showthumbnails = false;
$showdirs = true;
$forcedownloads = false;
$hide = array(
'dlf',
'public_html',
'index.php',
'Thumbs',
'.htaccess',
'.htpasswd'
);
$displayindex = false;
$allowuploads = false;
$overwrite = false;
$indexfiles = array (
'index.html',
'index.htm',
'default.htm',
'default.html'
);
$filetypes = array (
'png' => 'jpg.gif',
'jpeg' => 'jpg.gif',
'bmp' => 'jpg.gif',
'jpg' => 'jpg.gif',
'gif' => 'gif.gif',
'zip' => 'archive.png',
'rar' => 'archive.png',
'exe' => 'exe.gif',
'setup' => 'setup.gif',
'txt' => 'text.png',
'htm' => 'html.gif',
'html' => 'html.gif',
'php' => 'php.gif',
'fla' => 'fla.gif',
'swf' => 'swf.gif',
'xls' => 'xls.gif',
'doc' => 'doc.gif',
'sig' => 'sig.gif',
'fh10' => 'fh10.gif',
'pdf' => 'pdf.gif',
'psd' => 'psd.gif',
'rm' => 'real.gif',
'mpg' => 'video.gif',
'mpeg' => 'video.gif',
'mov' => 'video2.gif',
'avi' => 'video.gif',
'eps' => 'eps.gif',
'gz' => 'archive.png',
'asc' => 'sig.gif',
);
error_reporting(0);
if(!function_exists('imagecreatetruecolor')) $showthumbnails = false;
$leadon = $startdir;
if($leadon=='.') $leadon = '';
if((substr($leadon, -1, 1)!='/') && $leadon!='') $leadon = $leadon . '/';
$startdir = $leadon;
if($_GET['dir']) {
//check this is okay.
if(substr($_GET['dir'], -1, 1)!='/') {
$_GET['dir'] = $_GET['dir'] . '/';
}
$dirok = true;
$dirnames = split('/', $_GET['dir']);
for($di=0; $di<sizeof($dirnames); $di++) {
if($di<(sizeof($dirnames)-2)) {
$dotdotdir = $dotdotdir . $dirnames[$di] . '/';
}
if($dirnames[$di] == '..') {
$dirok = false;
}
}
if(substr($_GET['dir'], 0, 1)=='/') {
$dirok = false;
}
if($dirok) {
$leadon = $leadon . $_GET['dir'];
}
}
$opendir = $leadon;
if(!$leadon) $opendir = '.';
if(!file_exists($opendir)) {
$opendir = '.';
$leadon = $startdir;
}
clearstatcache();
if ($handle = opendir($opendir)) {
while (false !== ($file = readdir($handle))) {
//first see if this file is required in the listing
if ($file == "." || $file == "..") continue;
$discard = false;
for($hi=0;$hi<sizeof($hide);$hi++) {
if(strpos($file, $hide[$hi])!==false) {
$discard = true;
}
}
if($discard) continue;
if (@filetype($leadon.$file) == "dir") {
if(!$showdirs) continue;
$n++;
if($_GET['sort']=="date") {
$key = @filemtime($leadon.$file) . ".$n";
}
else {
$key = $n;
}
$dirs[$key] = $file . "/";
}
else {
$n++;
if($_GET['sort']=="date") {
$key = @filemtime($leadon.$file) . ".$n";
}
elseif($_GET['sort']=="size") {
$key = @filesize($leadon.$file) . ".$n";
}
else {
$key = $n;
}
$files[$key] = $file;
if($displayindex) {
if(in_array(strtolower($file), $indexfiles)) {
header("Location: $file");
die();
}
}
}
}
closedir($handle);
}
//sort our files
if($_GET['sort']=="date") {
@ksort($dirs, SORT_NUMERIC);
@ksort($files, SORT_NUMERIC);
}
elseif($_GET['sort']=="size") {
@natcasesort($dirs);
@ksort($files, SORT_NUMERIC);
}
else {
@natcasesort($dirs);
@natcasesort($files);
}
//order correctly
if($_GET['order']=="desc" && $_GET['sort']!="size") {$dirs = @array_reverse($dirs);}
if($_GET['order']=="desc") {$files = @array_reverse($files);}
$dirs = @array_values($dirs); $files = @array_values($files);
?>
<!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=iso-8859-1" />
<title>Welcome to <? print $host; ?></title>
<style type="text/css">
body {
background-color: #E6E6E6;
}
h1 {
color: #6699FF;
font-family: Arial, Helvetica, sans-serif;
font-weight:bold;
font-size: medium;
margin: 0 0 10px 8px;
padding:0;
}
img {
border: 0;
}
form {
margin: 0;
padding: 0;
}
#container {
width: 600px;
margin-left:auto;
margin-right:auto;
border: 1px solid #CCCCCC;
padding: 9px;
background-color:#FFFFFF;
}
#breadcrumbs {
color: #6699FF;
font-family: Arial, Helvetica, sans-serif;
font-size:small;
margin: 0 0 8px 8px;
}
#breadcrumbs a, #breadcrumbs a:visited, #breadcrumbs a:link, #breadcrumbs a:active {
color: #6699FF;
text-decoration:none;
}
#breadcrumbs a:hover {
text-decoration:underline;
}
#listingcontainer {
background-image:url(bg.gif);
padding: 10px;
background-color:#E0DEDE;
}
#listingheader {
color: #476BB3;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
font-size:small;
text-align:right;
}
#listingheader a, #listingheader a:active, #listingheader a:visited, #listingheader a:link {
text-decoration: none;
color: #476BB3;
}
#listingheader a:hover {
text-decoration: underline;
color: #476BB3;
}
#headerfile {
text-align:left;
float: left;
width: 320px;
}
#headersize {
text-align:right;
width: 75px;
float: left;
}
#listing {
border: 1px solid #A7C5FF;
}
#listing a {
display:block;
padding: 2px 5px 2px 5px;
font-size:small;
color: #6285CA;
font-family:Arial, Helvetica, sans-serif;
text-decoration:none;
width:568px;
text-align:right;
}
#listing a:hover {
background-color:#DBE6FE;
}
#listing a img {
float:left;
margin-right: 4px;
}
#listing a strong {
width: 300px;
float:left;
cursor:hand;
cursor:pointer;
text-align:left;
}
#listing a em {
float: left;
width: 75px;
text-align:right;
cursor:hand;
cursor:pointer;
}
#listing a span {
position: absolute;
margin-left: -151px;
margin-top: -2px;
}
#listing a span img {
width: 150px;
background-color:#CCCCCC;
visibility: hidden;
}
#listing a:hover span img {
border: 1px solid #666666;
visibility: visible;
}
#upload {
border: 1px solid #A7C5FF;
display:block;
margin-top: 10px;
font-size:small;
color: #6285CA;
font-family:Arial, Helvetica, sans-serif;
text-decoration:none;
width:568px;
background-color: #E9F0FF;
}
#uploadtitle {
background-color: #DBE6FE;
padding: 2px 5px 2px 5px;
border-bottom: 1px solid #A7C5FF;
}
#uploadcontent {
padding: 2px 5px 2px 5px;
}
#copy {
width: 600px;
margin-left:auto;
margin-right:auto;
text-align:center;
font-size:x-small;
color: #666666;
font-family:Arial, Helvetica, sans-serif;
}
#copy a {
text-decoration: underline;
color: #666666;
}
.b {
background-color: #E9F0FF;
}
.w {
background-color:#FFFFFF;
}
.mod {
float:right;
}
.size {
float:right;
}
</style>
</head>
<body>
<div id="container">
<h1>Your website is up and running!</h1>
<div id="breadcrumbs">
<p>Website <strong><? print $host; ?></strong> has been successfully installed on the server.<br />
Please delete the file "<strong>default.php</strong>" from the <strong>public_html</strong> folder and upload your website by using FTP or web based File Manager.</p>
<p>Below you can see your current files in <strong>public_html</strong> folder.</p>
</div>
<div id="listingcontainer">
<div id="listingheader">
<div id="headerfile">File</div>
<div id="headersize">Size</div>
<div id="headermodified">Last Modified</div>
</div>
<div id="listing">
<?
$class = 'b';
if($dirok) {
?>
<div><a href="<?=$dotdotdir;?>" class="<?=$class;?>"><img src="http://cpanel.main-hosting.com/images/index/dirup.png" alt="Folder" /><strong>..</strong> <em>-</em>
<?=date ("M d Y h:i:s A", filemtime($dotdotdir));?>
</a></div>
<?
if($class=='b') $class='w';
else $class = 'b';
}
$arsize = sizeof($dirs);
for($i=0;$i<$arsize;$i++) {
?>
<div><a href="<?=$leadon.$dirs[$i];?>" class="<?=$class;?>"><img src="http://cpanel.main-hosting.com/images/index/folder.png" alt="<?=$dirs[$i];?>" /><strong>
<?=$dirs[$i];?>
</strong> <em>-</em>
<?=date ("M d Y h:i:s A", filemtime($leadon.$dirs[$i]));?>
</a></div>
<?
if($class=='b') $class='w';
else $class = 'b';
}
$arsize = sizeof($files);
for($i=0;$i<$arsize;$i++) {
$icon = 'unknown.png';
$ext = strtolower(substr($files[$i], strrpos($files[$i], '.')+1));
$supportedimages = array('gif', 'png', 'jpeg', 'jpg');
$thumb = '';
if($filetypes[$ext]) {
$icon = $filetypes[$ext];
}
$filename = $files[$i];
if(strlen($filename)>43) {
$filename = substr($files[$i], 0, 40) . '...';
}
$fileurl = $leadon . $files[$i];
?>
<div><a href="<?=$fileurl;?>" class="<?=$class;?>"<?=$thumb2;?>><img src="http://cpanel.main-hosting.com/images/index/<?=$icon;?>" alt="<?=$files[$i];?>" /><strong>
<?=$filename;?>
</strong> <em>
<?=round(filesize($leadon.$files[$i])/1024);?>
KB</em>
<?=date ("M d Y h:i:s A", filemtime($leadon.$files[$i]));?>
<?=$thumb;?>
</a></div>
<?
if($class=='b') $class='w';
else $class = 'b';
}
?>
</div>
</div>
</div>
<div id="copy"><? $c_global_f = get_cfg_var('c_global_f'); if (!empty($c_global_f)) echo $c_global_f; ?></div>
</body>
</html>
<!--DEFAULT_WELCOME_PAGE-->