Several security things in webspace.

This commit is contained in:
tomas 2005-02-20 17:11:03 +00:00
parent 179d3a39c5
commit 6c001bfbde
7 changed files with 18 additions and 22 deletions

View File

@ -23,12 +23,11 @@
Author : $Author: tomas $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/html/Attic/index.php,v $
------------------------------------------------------------------------------*/
header ("location: gbHtmlLogin.php");
die;
exit;
?>

View File

@ -23,11 +23,11 @@
Author : $Author: tomas $
Version : $Revision: 1.2 $
Version : $Revision: 1.3 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/index.php,v $
------------------------------------------------------------------------------*/
header ("location: html/gbHtmlLogin.php");
header ("location: html/");
exit;
/*
?>
@ -36,7 +36,7 @@ exit;
</head><body>
<h3>StorageServer module</h3>
<br>
<a href="../html/gbHtmlLogin.php" accesskey="H"><b>H</b>TML client</a><br>
<a href="../html/" accesskey="H"><b>H</b>TML client</a><br>
<a href="../xmlrpc/" accesskey="X"><b>X</b>mlRpc test</a><br>
<a href="../tests/" accesskey="T"><b>T</b>est</a><br>
</body></html>

View File

@ -23,7 +23,7 @@
Author : $Author: tomas $
Version : $Revision: 1.3 $
Version : $Revision: 1.4 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/getGname.php,v $
------------------------------------------------------------------------------*/
@ -35,5 +35,5 @@
header("Content-type: text/plain");
$egid = posix_getegid();
$info = posix_getgrgid($egid);
echo $info['name'];
if($_SERVER["REMOTE_ADDR"] == "127.0.0.1") echo $info['name'];
?>

View File

@ -23,7 +23,7 @@
Author : $Author: tomas $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/getPwd.php,v $
------------------------------------------------------------------------------*/
@ -33,5 +33,5 @@
*----------------------------------------------------------------------------*/
header("Content-type: text/plain");
echo `pwd`;
if($_SERVER["REMOTE_ADDR"] == "127.0.0.1") echo `pwd`;
?>

View File

@ -23,12 +23,11 @@
Author : $Author: tomas $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/index.php,v $
------------------------------------------------------------------------------*/
header ("location: ../index.php");
die;
header ("location: ../");
exit;
?>

View File

@ -23,12 +23,11 @@
Author : $Author: tomas $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/tests/index.php,v $
------------------------------------------------------------------------------*/
header ("location: ../index.php");
die;
header ("location: ../");
exit;
?>

View File

@ -23,12 +23,11 @@
Author : $Author: tomas $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/index.php,v $
------------------------------------------------------------------------------*/
header ("location: ../index.php");
die;
header ("location: xrLocStor.php");
exit;
?>