Skip to content

t-heGhos-t/phantomBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhantomBoot Security Dashboard

A comprehensive security monitoring and management tool for Linux systems, inspired by terminal-based system monitors like BashTOP and Glances, but with a modern GUI interface.

Features

System Monitoring

  • Real-time CPU, memory, and disk usage
  • Running processes with resource consumption
  • Network traffic monitoring
  • Hardware information display

Security Tools

  • VPN configuration and connection management
  • Proxy server configuration
  • TOR network integration
  • Browser launching with security options

Network Analysis

  • Open ports scanning
  • Network connections monitoring
  • Firewall rules display
  • Traffic analysis

Additional Features

  • Email management (CSV import)
  • Dark theme interface
  • Responsive layout
  • Multi-tab organization
  • Real-time status indicators

Installation

Prerequisites

  • Python 3.7 or higher
  • Linux operating system (tested on Ubuntu/Debian/Kali)
  • Root privileges for some security features

Install Dependencies

```bash pip install -r requirements.txt ```

Setup

  1. Clone or download the project files
  2. Create the assets directory and add logo.ico if available
  3. Create the data directory for email storage
  4. Make the script executable: ```bash chmod +x phantom-init.py ```

Usage

Running the Application

```bash python3 phantom-init.py ```

Or make it executable and run directly: ```bash ./phantom-init.py ```

Main Interface

Header Section

  • Refresh: Update all monitoring data
  • Settings: Configuration options (to be implemented)
  • About: Application information
  • Exit: Close the application

System Panel (Left Side)

Three tabs provide different system views:

  • System: CPU, memory, disk usage, and hardware info
  • Processes: Running processes with resource usage
  • Network: Network I/O statistics and connection info

Status Bar

Shows real-time status of:

  • VPN connection
  • TOR network
  • Proxy configuration

Quick access buttons for:

  • Email management
  • Port scanning
  • Firewall rules

Main Section (Center)

Multiple views accessible via navigation:

  • Dashboard: VPN/Proxy/Browser configuration
  • Terminal: Command output and logging
  • Emails: Saved email addresses from CSV
  • Ports: Open ports scanning results
  • Firewall: IPTables rules display

Sidebar (Right)

Navigation menu for different application sections

Configuration

VPN Setup

  1. Click "Browse" next to VPN Config File
  2. Select your OpenVPN configuration file (.ovpn)
  3. Click "Connect" to establish VPN connection

Proxy Configuration

  1. Browse for proxy configuration file
  2. Or manually enter proxy settings
  3. Enable "Use proxy" when launching browsers

TOR Network

  • Check "Start TOR automatically" for auto-start
  • Or manually click "Start TOR" button

Browser Management

  1. Select browser from dropdown:
    • Brave
    • Brave Beta
    • Firefox
    • TOR Browser
    • Chromium
    • Microsoft Edge
  2. Choose whether to use proxy
  3. Click "Launch Browser"

Email Management

Create a CSV file at data/emails.csv with email addresses (one per line) to display in the emails section.

Security Features

Port Scanning

  • Automatically scans for open listening ports
  • Shows port number, bind address, and protocol
  • Updates in real-time

Firewall Rules

  • Displays current IPTables rules
  • Requires sudo privileges
  • Shows all chains and rules

Network Monitoring

  • Real-time network I/O statistics
  • Active connections count
  • Listening ports summary

File Structure

``` phantom-boot/ ├── phantom-init.py # Main application file ├── README.md # This documentation ├── requirements.txt # Python dependencies ├── assets/ # Application assets │ └── logo.ico # Application icon (optional) └── data/ # Data files └── emails.csv # Email addresses (create manually) ```

Troubleshooting

Common Issues

  1. Permission Denied for Security Features

    • Run with sudo for VPN/TOR/Firewall features
    • Or add user to appropriate groups
  2. Missing Dependencies

    • Install all requirements: pip install -r requirements.txt
    • Update system packages if needed
  3. VPN Connection Fails

    • Check OpenVPN configuration file
    • Ensure OpenVPN is installed
    • Verify network connectivity
  4. TOR Service Won't Start

    • Install TOR: sudo apt install tor
    • Check service status: sudo systemctl status tor

Performance Notes

  • System monitoring updates every 2 seconds
  • Disable monitoring for better performance on low-end systems
  • Close unused tabs to reduce resource usage

Development

Adding New Features

The application is modular and extensible:

  • Add new views in create_*_view() methods
  • Extend monitoring in update_*() methods
  • Add navigation buttons in create_sidebar()

Customization

  • Modify colors in setup_styles()
  • Adjust update intervals in start_monitoring()
  • Add new browser options in browser configuration

Security Considerations

  • Application requires elevated privileges for some features
  • VPN configurations may contain sensitive information
  • Network scanning may trigger security alerts
  • Use responsibly and in accordance with local laws

License

This project is provided as-is for educational and security research purposes.

Support

For issues and feature requests, please check the documentation or create an issue in the project repository.

Releases

No releases published

Packages

 
 
 

Contributors

Languages