https://github.com/vauth/tg-oob
Out-of-Band with telegram bot api using cloudflare workers
https://github.com/vauth/tg-oob
blind-attack cloudflare-workers out-of-band owasp telegram-bot-api
Last synced: 11 months ago
JSON representation
Out-of-Band with telegram bot api using cloudflare workers
- Host: GitHub
- URL: https://github.com/vauth/tg-oob
- Owner: Vauth
- License: mit
- Created: 2024-07-22T12:04:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T06:15:26.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T07:10:40.093Z (over 1 year ago)
- Topics: blind-attack, cloudflare-workers, out-of-band, owasp, telegram-bot-api
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram OOB
Out-of-Band with telegram bot api using cloudflare workers.
### 🗂 Variables:
```javascript
const TOKEN = 'ENV_BOT_TOKEN' // Your bot token.
const SECRET = 'ENV_BOT_SECRET' // Everything you wish.
const OWNER = 123456789 // Owner telegram id.
```
### ⚙️Deploy:
- Upload `worker.js` into [cloudflare workers](https://workers.cloudflare.com/).
- Modify the [variables](#Variables).
- Deploy.
### 🔗 Endpoints:
- Register Webhook
```javascript
XXX.XXXX.workers.dev/registerWebhook
// Response - Ok
```
- unRegister Webhook
```javascript
XXX.XXXX.workers.dev/unRegisterWebhook
// Response - Ok
```
- Send Test Request
```javascript
XXX.XXXX.workers.dev/test
// Response - {"status":200}
```
- Send Message
```javascript
XXX.XXXX.workers.dev/?send=hello+world
// Response - {"status":200}
```
- Send Bulk URL
```javascript
XXX.XXXX.workers.dev/p/data...
// Response - {"status":200}
```
### 🛠 Tips:
- For better performance send data with `URL-encode` or `Base64` format.
```javascript
Text: test message
Encoded:
- test%20message // URL-encode
- dGVzdCBtZXNzYWdl // Base64
...
```
- You can use telegram markdown.
```markdown
*bold*
_italic_
[text](url)
`mono`
```code block```
```
- [More information](https://www.google.com/search?&q=oob+blind+hunting).