Skip to content

Hamada-khairi/Webshells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ddad1e4 · Jan 21, 2025

History

3 Commits
Dec 11, 2024
Dec 11, 2024
Jan 21, 2025

Repository files navigation

Hamada Web Shell [CTF Edition]

A feature-rich, modernized PHP web shell designed for Capture The Flag (CTF) challenges with a clean, intuitive interface and advanced file management capabilities.

License PHP Version

Features

  • 🖥️ System Information Display

    • PHP version information
    • Server details
    • User identification
    • IP address monitoring
  • 🎯 Command Execution

    • Real-time command execution
    • Working directory preservation
    • Command output display
    • Interactive terminal-like interface
  • 📁 Advanced File Management

    • Directory navigation
    • File permissions display (UNIX-style)
    • File ownership information
    • Download functionality
    • File upload capability
  • 🎨 Modern UI/UX

    • Responsive design
    • Dark theme
    • Font Awesome icons
    • JetBrains Mono font
    • Clean CSS styling

Security Features

  • Directory traversal protection
  • Input sanitization
  • Path validation
  • Secure file handling

Installation

  1. Upload the PHP file to your web server
  2. Ensure proper permissions are set
  3. Access through web browser

Usage

  • Navigate directories using the file browser
  • Execute system commands via the command interface
  • Upload files using the upload form
  • Download files directly through the interface
  • View detailed system information

Technical Details

  • Built with pure PHP
  • Minimal dependencies
  • FontAwesome integration
  • Custom permission handling
  • Extensive error handling

Disclaimer

This tool is designed for educational purposes and CTF challenges only. Do not use on unauthorized systems or production environments.

Keywords/Tags

php-webshell ctf-tool penetration-testing web-security file-manager command-execution system-information file-upload file-download web-interface security-tool ctf-challenge ethical-hacking web-exploitation security-assessment php-security web-shell shell-interface terminal-emulator educational-tool