A modern, feature-rich web-based file manager built with PHP and JavaScript. Janus provides an intuitive interface for managing files and directories on a server through a web browser.
- Browse & Navigate: Intuitive file browser with breadcrumb navigation
- File Operations: Create, edit, rename, delete files and directories
- File Editor: Built-in code editor with syntax highlighting (ACE Editor)
- File Upload: Support for single and multiple file uploads
- File Download: Direct download functionality
- Permissions Management: View and modify file/directory permissions (chmod)
- Bulk Operations: Select and perform actions on multiple files
- Web Terminal: Integrated terminal emulator (xterm.js) for command execution
- Command History: Terminal with full command execution support
- Real-time Output: Live command output display
- Server Stats: Display system information including:
- Operating system details
- PHP version
- Web server information
- Current user and permissions
- Disk usage statistics
- Public HTML directory status
- Port Scanner: Network port scanning utility
- GSC File Scanner: Scan for Google Search Console verification files
- Process Viewer: View running system processes
- Network Information: Display network interface and connection details
- PHP Info: Quick access to PHP configuration
- Modern Dark Theme: GitHub-inspired dark theme
- Responsive Design: Works on desktop and mobile devices
- DataTables Integration: Sortable, searchable file listing
- Context Menu: Right-click context menu for quick actions
- Breadcrumb Navigation: Easy directory navigation
- PHP 7.0 or higher
- Web server (Apache, Nginx, etc.)
- Modern web browser with JavaScript enabled
- Optional: PHP Zip extension for archive operations
- Upload
janus-filemanager.phpto your web server directory - Ensure the file has appropriate permissions (644 recommended)
- Access the file manager through your web browser
- The application will automatically initialize in the current directory
Navigate Directories
- Click on folder names to enter directories
- Use breadcrumb navigation to go back
- Click "Home" button to return to root directory
File Operations
- Create File: Click "Create File" button, enter filename
- Create Directory: Click "Create Directory" button, enter directory name
- Edit File: Click on file name or use "Edit" from action menu
- Rename: Use "Rename" option from action menu
- Delete: Use "Delete" option from action menu (with confirmation)
- Download: Use "Download" option from action menu
Terminal Usage
- Type commands directly in the terminal panel
- Press Enter to execute commands
- Use
cdcommand to change directories - Standard shell commands are supported
Bulk Operations
- Select files using checkboxes
- Choose action from bulk actions bar
- Confirm operation
Permissions Management
- Click "Permissions" from file action menu
- Enter octal permission value (e.g., 0755)
- Click "Save" to apply
File Scanner
- Use "GSC SCAN" tool to find specific file types
- Results displayed in modal with action options
Port Scanner
- Click "PORT SCAN" tool
- Enter host and port range
- View scan results
- Backend: PHP with session management
- Frontend: Vanilla JavaScript with modern ES6+ features
- UI Framework: Bootstrap 5.3.2
- Editor: ACE Editor with multiple language support
- Terminal: xterm.js for terminal emulation
- Tables: DataTables for enhanced table functionality
- All operations use JSON-based API
- Base64 encoded payloads for security
- RESTful action-based endpoints
- Session-based directory tracking
- Input validation and sanitization
- Error handling and reporting
- Permission checks before operations
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
janus-filemanager.php # Main application file (single-file application)
- File size limits depend on PHP
upload_max_filesizeandpost_max_sizesettings - Execution of commands depends on server configuration and disabled functions
- Some features require specific PHP extensions (e.g., ZipArchive for zip operations)
This project is provided as-is for authorized use only. Unauthorized access to computer systems is illegal.
This software is intended for legitimate system administration and file management purposes only. Users are responsible for ensuring they have proper authorization before using this tool on any system.
For issues, questions, or contributions, please refer to the project repository.
Current Version: 1.0-Stealth
Note: Always ensure you have proper authorization before using this tool on any server. Maintain appropriate security measures and access controls.