Ng-Bot
Ngrok Bot (Ng-Bot) publishes updated ngrok URLs to telegram chat ids and restricts other users to access the bot or on discord using webhook url.
Note: This bot may be used for malicious purposes too. Its upto users how they use this tool/bot. Author is not responsible for user's action in any manner.
Installation
-
Clone repo
git clone --depth=1 https://github.com/dmdhrumilmistry/ng_bot.git
-
Change directory
cd ng_bot
-
Install requirements
python3 -m pip install -r requirements.txt
Usage
-
Create Ngrok account
-
Complete Sign Up process
-
Add new AUTH TOKEN from dashboard
-
Store variables in
.envfileNGROK_AUTH_TOKEN='your_auth_token' TELE_BOT_TOKEN='telegram_bot_token' ALLOWED_USER_IDS=tele_user_id1, tele_user_id2, tele_user_id3 DISCORD_WEBHOOK_URL='webhook-url'
Above variables can also be stored in environment variables
-
Start application
# for telegram python3 -m ng_bot --http 8080 --tcp 22 4444 --platform telegram # for discord python3 -m ng_bot --tcp 22 --platform discord
Metadata
Release files for ng-bot 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ng_bot-1.0.3.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ng_bot-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / ng_bot-1.0.3.tar.gz
| Download URL | ng_bot-1.0.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cee2452827537d8e4fb1fa60a2ae0730212691256daf35d67a1e5ed6b6394239
|
|
BLAKE2b-256 checksum How to use checksums |
85aa557f7c32c1c57ea5166f5e10977ce5c7f154248f3ff60b5ea673f4bc1a04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0
|
Release files / ng_bot-1.0.3-py3-none-any.whl
| Download URL | ng_bot-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53ef8213114a8bc45e6332d317f7cb1671a32067e74ad597156ab592125fb809
|
|
BLAKE2b-256 checksum How to use checksums |
50f91f8019de3135c6505ce25db72d551a45dba10e500340728127883f1ee97e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0
|
Security for ng-bot 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.