"; exit; } $sort = mysql_real_escape_string($_POST["dirsort"]); //$_GET["sort"]; $by = mysql_real_escape_string($_POST["sortby"]); //$_GET["by"]; $userid = mysql_real_escape_string($_POST["userid"]); //$_GET["userid"]; $search = mysql_real_escape_string($_POST["search"]); //$_GET["search"]; $moduleurl = $_SERVER["REQUEST_URI"]; $urlcut = strpos($moduleurl, "&"); $moduleurl = substr($moduleurl,0,$urlcut); ?>

Squid Config

Squid is currently: running
"; } else { echo "Squid is currently: stopped
"; } if ($_REQUEST["uebergabe"]=="3") { echo "Squid restarted successfully!"; echo ""; } if ($_REQUEST["uebergabe"]=="4") { echo "Squid started successfully!"; echo ""; } if ($_REQUEST["uebergabe"]=="5") { echo "Squid stopped successfully!"; echo ""; } ?> "; } ?> "; } ?>

Change Proxy Account:

Changed Squid Account successfully!"; } ?>

Squid ID (HEX):

Current Squid User: 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 'A', 11 => 'B', 12 => 'C', 13 => 'D', 14 => 'E', 15 => 'F' ); do { $h = $hex[($dec%16)] . $h; $dec /= 16; } while( $dec >= 1 ); return $sign . $h; } $zeile = exec(escapeshellcmd("cat ".db_getconfval("sqddir")."/vpnid")); $zeile = dec_to_hex($zeile); //echo $zeile; if(strlen ($zeile) <2) { $zeile = "0".$zeile; } if(strlen ($zeile) >2) { $zeile=substr($zeile, 0, -1); } @$y = mysql_connect($MYSQL_HOST,$MYSQL_USER,$MYSQL_PASS); @$x = mysql_select_db($MYSQL_DATABASE); if (empty($x)) { echo "ERROR 0x01, Failed to connect to database!
"; exit; } $sql4 = "SELECT * FROM userdata WHERE VPNId = '".$zeile."';"; $result4 = mysql_query($sql4); //echo $sql4; $ar4=mysql_fetch_array($result4,MYSQL_ASSOC); echo "" . $ar4["Vorname"] . " " . $ar4["Nachname"] . " VPNId: " . $ar4["VPNId"].""; mysql_close(); ?>


Blacklisted Accounts:

Blacklist cleared successfully!"; } ?> "; exit; } $hascontent = true; if (strlen($zeile) >2) { $zeile=substr($zeile, 0, -1); } $sql3 = "SELECT * FROM userdata WHERE VPNId = '".$zeile."';"; $result3 = mysql_query($sql3); $ar3=mysql_fetch_array($result3,MYSQL_ASSOC); $nick = $ar3["Nickname"]; if($nick == "") $hascontent=false; $vor = $ar3["Vorname"]; if($vor == "") $hascontent=false; $nach = $ar3["Nachname"]; if($nach == "") $hascontent=false; if($hascontent == true) { $blindex = $blindex+1; echo ""; } mysql_close(); } ?>
Squid IDNicknameVornameNachname
".$zeile."".$nick."".$vor."".$nach."

Blacklisted accounts: out of: '; elseif (count($openssl['Database'])-1 == 1) { echo '1 certificate'; } elseif (count($openssl['Database'])-1 > 1) { echo ''; echo count($openssl['Database'])-1; echo ' certificates'; }?>


User changed Proxy Accounts:

Search User:
"; exit; } // MYsql befehl basteln if($by == "Nickname") { $sql = "SELECT * FROM proxyrepair;"; } else { $sql = "SELECT * FROM proxyrepair ORDER BY $by $sort;"; } $result = mysql_query($sql); echo "
"; echo "\n"; // ------------------------------------------------ Mysql lesen if ($result) { while ($ar=mysql_fetch_array($result,MYSQL_ASSOC)) { $sql = "SELECT * FROM userdata WHERE Id = '".$ar["Id"]."' AND (Nickname LIKE '%".$search."%' OR Vorname LIKE '%".$search."%' OR Id LIKE '%".$search."%' OR VPNId LIKE '%".$search."%');"; $result2 = mysql_query($sql); $ar2=mysql_fetch_array($result2,MYSQL_ASSOC); if($ar2["Nickname"] != "") echo "\n"; } } else { echo "
"; } echo "
User IDVPN IdNicknameVornameNachnameClient IPTimeDead VPN ID
",$ar["Id"],"",$ar["VPNId"],"",$ar2["Nickname"],"",$ar2["Vorname"],"",$ar2["Nachname"], "", $ar["IP"],"",$ar["Time"],"",$ar["RepID"],"
"; mysql_close(); ?>