[PHP] Server Status Multiple IP

LeU5er

Security Researcher
Aug 6, 2016
448
45
118
@willy
Just replace the old lines with this lines in status.php:
PHP:
foreach(array_reverse($roots) as $serv){
    $servip = $roots[$count][0];
    $servport = $roots[$count][1];
    $querypw = $roots[$count][2];
    try{
In config.php remove the variable $querypw and write each array like this:
PHP:
array("SERVERIPADDRESS",10011,"QUERYPASSWORD"),
 
Last edited:

willy

Member
May 4, 2016
32
5
40
@willy
Just replace the old lines with this lines in status.php:
PHP:
foreach(array_reverse($roots) as $serv){
    $servip = $roots[$count][0];
    $servport = $roots[$count][1];
    $querypw = $roots[$count][2];
    try{
In config.php remove the variable $querypw and write each array like this:
PHP:
array("SERVERIPADDRESS",10011,"QUERYPASSWORD"),
It work, thank you.
And how can i see servers version and uptime like the exemple http://admin.freets3.ovh/stats.php ?
 

MCGFX

Member
Dec 5, 2015
15
0
33
I Have a Problem !!
JN7b5Dk.png
 

LeU5er

Security Researcher
Aug 6, 2016
448
45
118
@MCGFX if your website is running with apache2 then try this:
Code:
apt-get install php5-common libapache2-mod-php5 php5-cli && service apache2 restart
 

LeU5er

Security Researcher
Aug 6, 2016
448
45
118
@MCGFX please load the source up to pastebin or something and send me the url. But remove your server password ;)
 

LeU5er

Security Researcher
Aug 6, 2016
448
45
118
Okay, try to overwrite your PHP tags instead of "<?" to "<?php"
 
Top