โ ๏ธ It's just a POC, not intended for practical use.
Full Writeups : C2 Server Via YouTube
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.
- Monitor YouTube video comments for encoded commands
- Execute system commands received through comments
- RSA encryption for secure output transmission
- OAuth authentication with YouTube API
pip install google-api-python-client google-auth-oauthlib google-auth rsa
Before using the tool, you need to:
- Create a project in the Google Cloud Console
- Enable the YouTube Data API v3
- Create OAuth 2.0 credentials
- Download the
client_secrets.jsonfile - Set your YouTube API key and video ID in the script
- 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/
- Set up the required configuration files
- Run the script:
python NoTube.py- The tool will monitor comments on the specified YouTube video
- To execute a command, post a comment on the video with the format:
run:base64_encoded_command - The tool will decode the command, execute it, and post the encrypted output as a new comment
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.
This project is licensed under the MIT License - see the LICENSE file for details.


