Skip to content

Latest commit

ย 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

YouTube C2 Server

โš ๏ธ It's just a POC, not intended for practical use.

ph2

ph1

Full Writeups : C2 Server Via YouTube

Overview

YouTube Command Executor is an advanced security tool that allows for remote command execution through YouTube comments. This tool is designed for security research and testing purposes.

Features

  • Monitor YouTube video comments for encoded commands
  • Execute system commands received through comments
  • RSA encryption for secure output transmission
  • OAuth authentication with YouTube API

Dependencies

pip install google-api-python-client google-auth-oauthlib google-auth rsa

Configuration

Before using the tool, you need to:

  1. Create a project in the Google Cloud Console
  2. Enable the YouTube Data API v3
  3. Create OAuth 2.0 credentials
  4. Download the client_secrets.json file
  5. Set your YouTube API key and video ID in the script
  6. Generate an RSA key pair and update the public key in the script

Note: In the OAuth Consent Screen:

  • Add the scope: https://www.googleapis.com/auth/youtube.force-ssl
  • Enable either Testing or Publishing mode depending on the current stage.
  • Add your email under Test users

In the OAuth client settings:

  • The Redirect URI must exactly match the one used in the code:
    http://localhost:8080/

Usage

  1. Set up the required configuration files
  2. Run the script:
python NoTube.py

ph3

  1. The tool will monitor comments on the specified YouTube video
  2. To execute a command, post a comment on the video with the format:
    run:base64_encoded_command
    
  3. The tool will decode the command, execute it, and post the encrypted output as a new comment

Disclaimer

This tool is intended for educational and security research purposes only. Unauthorized use to gain access to systems without permission is illegal and unethical. The author and contributors take no responsibility for misuse of this software.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages