Skip to content

XDERA-Network/RCE-Panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDERA Remote Code Execution Panel

A sleek, premium web-based RCE panel designed to simplify remote VPS access. This panel allows you to manage your server through a high-performance web interface, eliminating the need for traditional SSH clients in many scenarios.

Preview

XDERA RCE Panel Monitor XDERA RCE Panel Filesystem XDERA RCE Panel Terminal

Features

  • Xterm.js Terminal: Multi-tab terminal interface with real-time feedback.
  • Filesystem Bridge: Integrated file explorer with upload, download, and editor capabilities.
  • Process Manager: Real-time monitoring and management of system processes.
  • Resource Monitoring: Dynamic CPU, Memory, and Network usage tracking.
  • Secure Authentication: Password protection with robust session management.

Quick Start

  1. Clone the repository:

    git clone https://github.com/XDERA-Network/RCE-Panel.git
    cd RCE-Panel
  2. Install dependencies:

    npm install
  3. Set Security Credentials: Open server.js and update the following placeholders:

    • Line 4: Set your PWD (login password).
    • Line 19: Set your secret (session encryption key).
    const PWD = 'YOUR_SECURE_PASSWORD';
    secret: 'YOUR_SESSION_SECRET',

    [!IMPORTANT] Do not run the panel with the default placeholder credentials. Ensure you set complex, unique strings for both the password and the session secret before starting the server.

  4. Start the server in background:

    node server.js &

    The server will start on port 2000. The & symbol at the end of the command tells Linux to run the process in the background, allowing you to continue using your terminal or close the session while the panel remains active.


Deployment Options

Option 1: Permanent Execution (PM2)

For production or long-term use, we highly recommend using PM2 (Process Manager 2). This ensures that the server automatically restarts if it crashes or if the VPS reboots.

  1. Install PM2 globally:

    npm install -g pm2
  2. Start the Panel with PM2:

    pm2 start server.js --name xdera-panel
  3. Manage the process:

    • pm2 list - View status
    • pm2 logs xdera-panel - View logs
    • pm2 restart xdera-panel - Restart the server

Accessing from the Web (Cloudflare Tunnel)

To access your panel securely from anywhere without opening ports on your VPS, we recommend using Cloudflare Tunnel.

Option 1: Temporary Tunnel (Quick)

If you don't have a domain yet, you can start a temporary tunnel:

npx cloudflared tunnel --url http://localhost:2000

Cloudflare will provide a randomly generated .trycloudflare.com URL that you can use to access your dashboard.

Option 2: Custom Domain (Permanent)

To use your own domain (e.g., panel.yourdomain.com), follow these steps:

  1. Install Cloudflared: Follow the official guide to install cloudflared on your VPS.

  2. Login to Cloudflare:

    cloudflared tunnel login
  3. Create a Tunnel:

    cloudflared tunnel create xdera-panel
  4. Configure Routing: Map your domain to the tunnel:

    cloudflared tunnel route dns xdera-panel panel.yourdomain.com
  5. Run the Tunnel: Connect the local port 2000 to the Cloudflare network:

    cloudflared tunnel run --url http://localhost:2000 xdera-panel

Now, you can access your panel at https://panel.yourdomain.com/dashboard/.


License

MIT

About

A sleek, premium web-based RCE panel designed to simplify remote VPS access. This panel allows you to manage your server through a high-performance web interface, eliminating the need for traditional SSH clients in many scenarios.

Topics

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors