Several security things in webspace.
This commit is contained in:
parent
179d3a39c5
commit
6c001bfbde
|
@ -23,12 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/html/Attic/index.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
header ("location: gbHtmlLogin.php");
|
header ("location: gbHtmlLogin.php");
|
||||||
die;
|
exit;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/index.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
header ("location: html/gbHtmlLogin.php");
|
header ("location: html/");
|
||||||
exit;
|
exit;
|
||||||
/*
|
/*
|
||||||
?>
|
?>
|
||||||
|
@ -36,7 +36,7 @@ exit;
|
||||||
</head><body>
|
</head><body>
|
||||||
<h3>StorageServer module</h3>
|
<h3>StorageServer module</h3>
|
||||||
<br>
|
<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="../xmlrpc/" accesskey="X"><b>X</b>mlRpc test</a><br>
|
||||||
<a href="../tests/" accesskey="T"><b>T</b>est</a><br>
|
<a href="../tests/" accesskey="T"><b>T</b>est</a><br>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/getGname.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -35,5 +35,5 @@
|
||||||
header("Content-type: text/plain");
|
header("Content-type: text/plain");
|
||||||
$egid = posix_getegid();
|
$egid = posix_getegid();
|
||||||
$info = posix_getgrgid($egid);
|
$info = posix_getgrgid($egid);
|
||||||
echo $info['name'];
|
if($_SERVER["REMOTE_ADDR"] == "127.0.0.1") echo $info['name'];
|
||||||
?>
|
?>
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/getPwd.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -33,5 +33,5 @@
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
header("Content-type: text/plain");
|
header("Content-type: text/plain");
|
||||||
echo `pwd`;
|
if($_SERVER["REMOTE_ADDR"] == "127.0.0.1") echo `pwd`;
|
||||||
?>
|
?>
|
|
@ -23,12 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/index.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
header ("location: ../index.php");
|
header ("location: ../");
|
||||||
die;
|
exit;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -23,12 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/tests/index.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
header ("location: ../index.php");
|
header ("location: ../");
|
||||||
die;
|
exit;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -23,12 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/index.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
header ("location: ../index.php");
|
header ("location: xrLocStor.php");
|
||||||
die;
|
exit;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue