Skip to content

RootShelll/DCSC-PHP-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCSC PHP Shell - Comprehensive Guide & Usage

Welcome to the comprehensive guide for the DCSC PHP Shell πŸŽ‰ – a lightweight yet powerful PHP tool designed for penetration testing, Capture The Flag (CTF) challenges, and various cybersecurity tasks πŸ”. Originally created during a PWK/OSCP journey, this shell is a practical solution intended to offer only the essential functionalities required for security testing πŸ› οΈ.

File Upload Feature

What is DCSC PHP Shell?

The DCSC PHP Shell is a streamlined PHP script that integrates key functionalities including:

  • File Upload Capabilities πŸ“‚
  • Direct Shell Command Execution πŸ’»
  • On-the-fly PHP Code Evaluation ⚑
  • MySQL Database Interaction πŸ’Ύ

It is designed for compatibility with most PHP versions (4+) by using legacy PHP functions and minimalistic code. While the code may be considered β€œdirty” or unoptimized due to its quick development cycle, its simplicity is its strength πŸ”₯.

⚠️ Important Warning

Before using this tool, immediately change the default password to protect your system from unauthorized access πŸ”‘.

How to Use DCSC PHP Shell

This section provides a step-by-step guide for users who have never used this type of tool before:

1. Download and Setup πŸš€

  • Clone or download the repository from GitHub.
  • Upload the files to your web server where PHP is installed.
  • Locate the default configuration section in the code and change the default password.

2. Access the Shell πŸ”

  • Open your web browser and navigate to the PHP file (e.g., http://yourserver.com/dcsc-php-shell.php).
  • Log in with your newly updated credentials.

3. Utilize the Functionalities οΏ½οΏ½οΏ½οΏ½

  • File Upload: Use the file upload feature to transfer necessary files to your server.
  • Shell Command Execution: Run system commands directly through your browser for testing purposes.
  • PHP Code Evaluation: Execute PHP code snippets on the fly for debugging or testing.
  • MySQL Interaction: Connect and run queries on your MySQL database if needed.

4. Security Best Practices πŸ›‘οΈ

  • Change the default password before the first use.
  • Consider restricting access using .htaccess or IP whitelisting.
  • Regularly monitor and update the code to patch any vulnerabilities.

Additional Information & Best Practices πŸ“

If you're new to penetration testing tools or PHP shells, here are some tips to enhance your experience:

  • Understand the Risks: Running a PHP shell on your server can expose sensitive functionalities. Always operate in a controlled environment ⚠️.
  • Backup Your Data: Ensure you have a backup of your system before using the shell to avoid accidental data loss πŸ’Ύ.
  • Continuous Learning: Familiarize yourself with basic PHP, SQL, and Linux commands to maximize the tool's effectiveness πŸ“š.
  • Community Resources: Engage with online communities and forums to share experiences and troubleshoot issues 🌐.

Screenshots πŸ“Έ

The screenshots below highlight key features of the DCSC PHP Shell:

File Upload Feature Command Execution PHP Code Evaluation MySQL Interaction

License πŸ“„

Distributed under the MIT License. See LICENSE for more information.


For more details or issues, feel free to open an issue on GitHub.

About

DCSC PHP Shell – A lightweight yet powerful PHP tool designed for penetration testing, CTF challenges, and cybersecurity tasks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages