Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

Httpz Requests

Telegram bot module for remote VPS shell access — ab module ka naam httpz_requests hai.

  • Import name: httpz_requests (Python mein: from httpz_requests import start_bot)
  • PyPI distribution name: httpz-requests
  • CLI command: httpz-requests --token ... --owner ...

📦 Install kaise karein

1) Local install (sabse simple — aapke VPS ke liye)

cd ~/telegram_bot_module        # jahan pyproject.toml hai
pip install --upgrade pip       # purana pip ho toh
pip install -e .                # editable install

2) Kisi bhi machine par — GitHub se (RECOMMENDED 🚀)

Project ko apne GitHub par push karo, phir koi bhi machine par:

pip install git+https://github.com/YOUR_GITHUB_USERNAME/httpz-requests.git

Yeh PyPI ke bina kaam karta hai — GitHub se seedha install! Sirf Python 3.8+ chahiye.

3) PyPI se (sabse "official" tarika)

Pehle baar publish karne ke liye (sirf aapko karna padega):

cd ~/telegram_bot_module
pip install build twine
python -m build                                   # dist/ folder banega
python -m twine upload dist/*                     # PyPI credentials maangega

Uske baad duniya mein koi bhi:

pip install httpz-requests

GitHub username aur email pyproject.toml mein apne se replace karo pehle!


🚀 Bot chalao

Python script se:

from httpz_requests import start_bot

TOKEN = "YOUR_BOT_TOKEN"
OWNERS = [123456789]  # Apna Telegram user ID integer mein daalo

start_bot(TOKEN, OWNERS)
python3 run_bot.py

Ya terminal se seedha (CLI):

httpz-requests --token YOUR_BOT_TOKEN --owner 123456789

🎮 Telegram par commands

Command Kaam
Any text Shell command chalao (la/ll aliases support)
help Saari commands ki list
pwd / cd <dir> / clear / whoami Basic terminal
dirs / tree Folders / files list karo
take <file> / take all File / saari files download karo
get all Advanced full backup (clean + 50MB split zip, badi files .part001... parts)
rm -rf <path> File/folder delete karo
.printenv Saare environment variables
.grep [-i] <text> Files + env mein search
.py <file> / .exec <file> Python / executable chalao
.sh <command> Shell command (GC only, sabke liye)
Send file / reply to file File VPS par save ho jati hai (current dir mein)

🔒 Security notes

  • .s ke alawa (GC-only) sirf OWNERS list mein diye Telegram user IDs hi commands chala sakte hain.
  • Plain commands 120s timeout, .s 15s, .p/.e 30s ke saath chalti hain.
  • Uploaded file names basename tak sanitize hote hain (path traversal blocked).
  • get all backup temp folder mein banta hai aur bhejne ke baad delete ho jata hai.

📁 Project structure

├── src/httpz_requests/
│   ├── __init__.py      (start_bot, run_cmd, ALIASES, HELP_TEXT)
│   ├── bot.py           (Telegram handler register)
│   ├── handlers.py      (terminal handler — saare commands)
│   ├── core.py          (shell execution engine + split_zip_all)
│   ├── constants.py     (aliases + HELP_TEXT)
│   └── cli.py           (terminal CLI)
├── pyproject.toml       (packaging)
├── run_bot.py           (example runner)
└── README.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpz_requests-1.8.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httpz_requests-1.8.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file httpz_requests-1.8.0.tar.gz.

File metadata

  • Download URL: httpz_requests-1.8.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for httpz_requests-1.8.0.tar.gz
Algorithm Hash digest
SHA256 91821b8993379e5888789836b24e5b7145bf9a8c676e1ab059ad6a9226deb88b
MD5 a558a76d456a78a706126cee990d19e7
BLAKE2b-256 93724e36dd0f0835ca8a5aa980d82929356b4c39f0c5a6c6ac86f91256b7e29a

See more details on using hashes here.

File details

Details for the file httpz_requests-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: httpz_requests-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for httpz_requests-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc52cbad15845418b5052cc2d62c4128cb8439fdbfce834ab050da7c44b778c0
MD5 92087b12a675776f748bd2385c81b601
BLAKE2b-256 ce1d3680484115c7c5837020f7e62dc89403884b48c7bb240c7b7386d5c59d2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page