/* Decoded by unphp.net */
query("SELECT * FROM servidores WHERE Name='$nome' AND id_owner='$id_owner'")->rowCount();if(${${"GLOBALS"}["ktersonfy"]}>0){echo"";}elseif(empty(${${"GLOBALS"}["nijelsfrrb"]})){echo"";}else{${${"GLOBALS"}["quhdonblrkq"]}=$conn->prepare("INSERT INTO servidores SET id_owner='$id_owner', Name='$nome', TYPE='$tipo', FLAG='$flag', ServerIP='$serverip', CheckUser='$checkuser', ServerPort='$serverport', SSLPort='$sslport', USER='', PASS=''");$sql->execute();echo"";}}else{header("location: /");}}elseif(${${"GLOBALS"}["nkxfxyexgn"]}=="payload"){if(isset($_POST["adicionar_payload"])){${${"GLOBALS"}["njzjutnvtupg"]}=$_POST["id_owner"];${${"GLOBALS"}["nijelsfrrb"]}=$_POST["nome"];${"GLOBALS"}["khacsss"]="flag";$qvbadnc="proxyport";${${"GLOBALS"}["khacsss"]}=$_POST["flag"];${"GLOBALS"}["bohzmjuyxssk"]="tlsip";$drzfpvibfg="payload";${$drzfpvibfg}=$_POST["pay"];${${"GLOBALS"}["zcrytiv"]}=$_POST["sni"];${${"GLOBALS"}["bohzmjuyxssk"]}=$_POST["tlsip"];${${"GLOBALS"}["hwiwfrnu"]}=$_POST["proxyip"];${$qvbadnc}=$_POST["proxyport"];${${"GLOBALS"}["uqxqijkmeiw"]}=$_POST["info"];${${"GLOBALS"}["quhdonblrkq"]}=$conn->query("SELECT * FROM payloads WHERE Name='$nome' AND id_owner='$id_owner'")->rowCount();if(${${"GLOBALS"}["quhdonblrkq"]}>0){echo"";}elseif(empty(${${"GLOBALS"}["nijelsfrrb"]})){echo"";}else{$qyttqndksr="sql";${$qyttqndksr}=$conn->prepare("INSERT INTO payloads SET id_owner='$id_owner', Name='$nome', FLAG='$flag', Payload='$payload', SNI='$sni', TlsIP='$tlsip', ProxyIP='$proxyip', ProxyPort='$proxyport', Info='$info'");$sql->execute();echo"";}}else{header("location: /painel.php");}}elseif(${${"GLOBALS"}["nkxfxyexgn"]}=="porta"){if(isset($_POST["adicionar_porta"])){$ifetwddau="porta";${"GLOBALS"}["toojknnghf"]="sql";$jemqhjn="id_owner";$lpbwgbgnndhj="porta";${$jemqhjn}=$_POST["id_owner"];${$lpbwgbgnndhj}=$_POST["porta"];${${"GLOBALS"}["toojknnghf"]}=$conn->query("SELECT * FROM portas WHERE Porta='$porta' AND id_owner='$id_owner'")->rowCount();if(${${"GLOBALS"}["quhdonblrkq"]}>0){echo"";}elseif(empty(${$ifetwddau})){echo"";}else{${"GLOBALS"}["qboodfu"]="sql";${${"GLOBALS"}["qboodfu"]}=$conn->prepare("INSERT INTO portas SET id_owner='$id_owner', Porta='$porta'");$sql->execute();echo"";}}else{header("location: /painel.php");}}elseif(${${"GLOBALS"}["nkxfxyexgn"]}=="dellall"){if(isset($_POST["delete_all"])){$rkmcqekz="id_owner";${$rkmcqekz}=$_POST["id_owner"];${${"GLOBALS"}["quhdonblrkq"]}=$conn->query("DELETE FROM payloads WHERE id_owner = '$id_owner'");echo"";}else{header("location: /painel.php");}}elseif(${${"GLOBALS"}["nkxfxyexgn"]}=="multi"){if(isset($_POST["adicionar_multi"])){${"GLOBALS"}["piggdfipt"]="texto";${${"GLOBALS"}["njzjutnvtupg"]}=$_POST["id_owner"];${${"GLOBALS"}["piggdfipt"]}=$_POST["texto"];if(empty(${${"GLOBALS"}["whaqtkp"]})){echo"";}else{${"GLOBALS"}["zfefrbqbhuq"]="json";$zngecltcaui="json";${"GLOBALS"}["gtsqbysetbg"]="obj";$vbtheafscu="qtd";${$zngecltcaui}="[
".${${"GLOBALS"}["whaqtkp"]}."
]
";${${"GLOBALS"}["seweyvbuuzg"]}=json_decode(${${"GLOBALS"}["zfefrbqbhuq"]},true);$cbqqtucfi="qtd";${$vbtheafscu}=count(${${"GLOBALS"}["gtsqbysetbg"]});if(${$cbqqtucfi}<=0){echo"";}else{${"GLOBALS"}["rukbqvuub"]="i";$vikllt="i";$gpidmryk="i";$gogbvanb="qtd";for(${${"GLOBALS"}["rukbqvuub"]}=0;${$gpidmryk}<${$gogbvanb};${$vikllt}++){${"GLOBALS"}["otufyi"]="obj";$uobmozsg="info";${"GLOBALS"}["ucpimyk"]="i";${${"GLOBALS"}["nijelsfrrb"]}=${${"GLOBALS"}["seweyvbuuzg"]}[${${"GLOBALS"}["viweucdwh"]}]["Name"];$pxlkjiars="obj";$yjmhjst="tlsip";${${"GLOBALS"}["jrepwtb"]}=${${"GLOBALS"}["otufyi"]}[${${"GLOBALS"}["viweucdwh"]}]["FLAG"];${"GLOBALS"}["ivzestmks"]="obj";${"GLOBALS"}["grrsstvmn"]="proxyip";$mombjif="i";${"GLOBALS"}["lrelwopfr"]="obj";$eiffgilztynn="obj";$gzdormi="i";${${"GLOBALS"}["gecqrqxqz"]}=${${"GLOBALS"}["lrelwopfr"]}[${${"GLOBALS"}["viweucdwh"]}]["Payload"];${${"GLOBALS"}["zcrytiv"]}=${$pxlkjiars}[${$gzdormi}]["SNI"];${$yjmhjst}=${$eiffgilztynn}[${${"GLOBALS"}["ucpimyk"]}]["TlsIP"];${${"GLOBALS"}["grrsstvmn"]}=${${"GLOBALS"}["ivzestmks"]}[${${"GLOBALS"}["viweucdwh"]}]["ProxyIP"];${"GLOBALS"}["gxdbumydfdt"]="obj";${${"GLOBALS"}["polzhylxy"]}=${${"GLOBALS"}["seweyvbuuzg"]}[${${"GLOBALS"}["viweucdwh"]}]["ProxyPort"];${$uobmozsg}=${${"GLOBALS"}["gxdbumydfdt"]}[${$mombjif}]["Info"];$conn->query("INSERT INTO payloads SET id_owner='$id_owner', Name='$nome', FLAG='$flag', Payload='$payload', SNI='$sni', TlsIP='$tlsip', ProxyIP='$proxyip', ProxyPort='$proxyport', Info='$info'");}echo"";}}}else{header("location: /painel.php");}}elseif(${${"GLOBALS"}["szqvvnhawsbo"]}=="usuario"){${"GLOBALS"}["nvmiyiojvk"]="uid";if(getOwner(${${"GLOBALS"}["nvmiyiojvk"]})==false){header("location: /painel.php");}if(isset($_POST["adicionar_usuario"])){$slsiygierl="pasta";$llbovws="nome";${"GLOBALS"}["athqpabrkwe"]="login";${$llbovws}=$_POST["nome"];${${"GLOBALS"}["athqpabrkwe"]}=$_POST["login"];${${"GLOBALS"}["yfvprsfgjok"]}=$_POST["senha"];${"GLOBALS"}["idkbcgtq"]="sql";${${"GLOBALS"}["mixwwbvmu"]}=$_POST["pasta_nova"];if(empty(${$slsiygierl})){${"GLOBALS"}["bgsrmqqpiu"]="pasta";${"GLOBALS"}["qwiifwcc"]="login";${${"GLOBALS"}["bgsrmqqpiu"]}=${${"GLOBALS"}["qwiifwcc"]};}${${"GLOBALS"}["idkbcgtq"]}=$conn->query("SELECT * FROM usuarios WHERE login='$login'");if($sql->rowCount()>0){echo"";}else{${"GLOBALS"}["jyaqske"]="sql";${${"GLOBALS"}["yfvprsfgjok"]}=md5(${${"GLOBALS"}["yfvprsfgjok"]});${${"GLOBALS"}["quhdonblrkq"]}=$conn->query("INSERT INTO usuarios SET nome='$nome', login='$login', senha='$senha', pasta_att='$pasta'");if(${${"GLOBALS"}["jyaqske"]}){echo"";}}}else{header("location: /painel.php");}}else{header("location: /painel.php");}
?>