{"id":25753959,"url":"https://github.com/rootshelll/the-not-so-simple-php-command-shell-a-comprehensive-guide","last_synced_at":"2025-02-26T15:29:53.357Z","repository":{"id":278575903,"uuid":"936082705","full_name":"RootShelll/The-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide","owner":"RootShelll","description":"A comprehensive guide to The Not-So-Simple PHP Command Shell for ethical hacking and penetration testing.","archived":false,"fork":false,"pushed_at":"2025-02-20T14:29:08.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T14:42:20.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RootShelll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-20T13:58:08.000Z","updated_at":"2025-02-20T14:29:11.000Z","dependencies_parsed_at":"2025-02-20T14:42:23.885Z","dependency_job_id":"7cb2277b-79e2-4207-a986-d6717d10e445","html_url":"https://github.com/RootShelll/The-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide","commit_stats":null,"previous_names":["rootshelll/the-not-so-simple-php-command-shell-a-comprehensive-guide"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RootShelll%2FThe-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RootShelll%2FThe-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RootShelll%2FThe-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RootShelll%2FThe-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RootShelll","download_url":"https://codeload.github.com/RootShelll/The-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240880089,"owners_count":19872474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-26T15:29:52.725Z","updated_at":"2025-02-26T15:29:53.346Z","avatar_url":"https://github.com/RootShelll.png","language":"PHP","readme":"Here’s the complete README.md content formatted for GitHub:\n\n# The Not-So-Simple PHP Command Shell\n\n![PHP Command Shell](https://r00t-shell.com/wp-content/uploads/2025/02/nsscmdshell.png)\n\n## Description\n\nThe Not-So-Simple PHP Command Shell is a versatile tool designed for penetration testing and ethical hacking. It helps security professionals enumerate targets and extract information efficiently. This repository provides the necessary files and instructions to set up and use the command shell effectively.\n\n## Features\n\n- **Command Execution**: Execute simple system commands directly from the web interface.\n- **File Management**: Upload and download files to and from the target system.\n- **User Information Retrieval**: Obtain user permissions and information with a single click.\n- **System Information Access**: Quickly access system details and running processes.\n- **File Cleanup**: Easily remove all files uploaded through the tool.\n\n## Installation\n\n### Prerequisites\n\nBefore using The Not-So-Simple PHP Command Shell, ensure you have the following:\n\n- A web server capable of running PHP.\n- Basic knowledge of networking and command-line operations.\n\n### Step-by-Step Guide\n\n1. **Download the Tool**: Clone or download the repository from GitHub.\n\n   ```bash\n   git clone https://github.com/RootShelll/The-Not-So-Simple-PHP-Command-Shell-A-Comprehensive-Guide.git\n\n\nConfigure the Tool: Open the nsscmdshell.php file and modify the following variables to match your attack machine's IP address and port:\n\n$attackip = \"10.0.2.6\"; // Replace with your IP\n$attackport = \"8000\";   // Replace with your port\n\n\nUpload the Shell: Transfer the nsscmdshell.php file to the target server. This step should be performed in accordance with legal and ethical standards.\n\nAccess the Shell: Open a web browser and navigate to the uploaded nsscmdshell.php file. You will see a command input interface.\n\nExecute Commands: Type valid commands in the input field or use the provided buttons to execute predefined commands.\n\nExample Command Usage\n\nTo run a PowerShell script and save the output:\n\npowershell.exe -ExecutionPolicy Bypass -File .\\jaws-enum.ps1 -OutputFilename jaws.txt\n\n\nAfter execution, you can download the output file for analysis.\n\nCommon Issues and Troubleshooting\n\nIf you encounter errors such as:\n\nWarning: file_get_contents(http://XX.XX.XX.XX:XXXX/filename.ext): failed to open stream: No connection could be made...\n\n\nConsider the following solutions:\n\nCheck IP and Port: Ensure that the $attackip and $attackport variables are set correctly.\n\nFile Availability: Make sure the files you want to upload are accessible on the specified server and port. You can start a simple HTTP server using:\n\npython3 -m http.server 8000\n\nEthical Considerations\n\nIt is crucial to emphasize that the use of The Not-So-Simple PHP Command Shell should be conducted within the bounds of the law. Unauthorized access to systems is illegal and unethical. Always ensure you have explicit permission to test the target systems.\n\nLearning Resources\n\nFor those looking to enhance their skills in ethical hacking, consider exploring the following platforms:\n\nCybrary\nHack The Box\nOWASP\nConclusion\n\nThe Not-So-Simple PHP Command Shell is a powerful tool for cybersecurity professionals, enabling efficient target identification and information gathering. By following the guidelines outlined in this document, users can effectively utilize this tool while adhering to ethical standards in cybersecurity.\n\nLicense\n\nThis tool is released under the GPL-2.0 License, allowing modification and redistribution under the same terms.\n\n\n### Notes:\n- Ensure to replace the image paths (e.g., `images/php-command-shell.png`, `images/access-shell.png`, `images/license.png`) with the actual paths to your images in the repository.\n- This Markdown file is structured to provide a comprehensive overview of the tool, installation instructions, usage examples, and ethical considerations, making it suitable for a GitHub repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootshelll%2Fthe-not-so-simple-php-command-shell-a-comprehensive-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootshelll%2Fthe-not-so-simple-php-command-shell-a-comprehensive-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootshelll%2Fthe-not-so-simple-php-command-shell-a-comprehensive-guide/lists"}