Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- #####################################
- # WHM HASH Checker v.1 beta #
- # By: Hannibal Ksa (HK) #
- # r00t3rz - uNdErGrOund Shit! #
- # (Security research group from CA) #
- # Greetz: alm3refh.com,z0rx,b4ll3r #
- #####################################
- $start = $_POST['go'];
- echo '
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <style type="text/css">
- body { background-color:black; color:rgb(200,200,200); font-family: Tahoma,Verdana,Tahoma; font-size: 12px; font-weight:bold; }
- textarea { border:1px solid rgb(200,200,200); background-color:black; color:rgb(200,200,200); }
- input { border: buttonhighlight 2px outset; background-color: Black; width: 30%; color: #FFF; }
- .h1 { font-size:17px; }
- </style>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>WHM Hash Checker v.1 beta</title>
- <h1>WHM HASH Checker v.1 beta</h2>hk @ r00t3rz.com<br/><br/>
- <form action="" method="post">
- <br/>Server: <input name="host" type="text" value="ex: https://r00t3rz.com:2087">
- <br/>User: <input name="user" type="text" value="ex: hk">
- <br/>Hash: <input name="hash" type="text" value="ex: r00t3rz"><br/>
- <input name="go" type="submit" value="Test!"/><br/><br/>
- ';
- if($start){
- $whmusername = $_POST['user'];
- $whmhash = $_POST['hash'];
- $query = $_POST['host'];
- # sleep(1);echo" . ";sleep(1);echo" . ";sleep(1);echo" . ";sleep(1);echo" . ";sleep(1);echo" . ";
- $curl = curl_init();
- curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,0);
- curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,0);
- curl_setopt($curl, CURLOPT_RETURNTRANSFER,1);
- $header[0] = "Authorization: WHM $whmusername:" . preg_replace("'(\r|\n)'","",$whmhash);
- curl_setopt($curl,CURLOPT_HTTPHEADER,$header);
- curl_setopt($curl, CURLOPT_URL, $query);
- $result = curl_exec($curl);
- if ($result == false) {
- error_log("curl_exec threw error \"" . curl_error($curl) . "\" for $query");
- }
- curl_close($curl);
- if (strpos($result, "<noframes>WebHost Manager") !== false) {
- } else {
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment