Skip to content

OnlineUnknowns/BLS-Pakistan-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


Typing Header
Cities



Python aiogram Asyncio BLS Bypass Status License


Β  Β 

╔══════════════════════════════════════════════════════════════════╗
β•‘  πŸ‡΅πŸ‡°  BLS PAKISTAN SELFIE BYPASS β€” PRODUCTION SYSTEM             β•‘
β•‘  Register β†’ Login β†’ Select β†’ Bypass β†’ Scan β†’ Book β†’ Confirm     β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

🧠 What Is This?

BLS Pakistan Selfie Bypass Bot is a production-grade, fully asynchronous Telegram automation system engineered to eliminate manual visa appointment searching on the BLS International Pakistan portal β€” with a built-in selfie verification bypass engine.

The system handles the complete end-to-end flow β€” from account creation and login, through country/city/visa selection, selfie checkpoint bypass, real-time slot detection, application filling, and confirmed reservation β€” with zero manual effort.

Built for people who can't afford to miss a slot. The selfie wall won't stop this bot.

Without this bot:    Register β†’ login β†’ selfie wall β†’ blocked β†’ missed slots β†’ repeat
With this bot:       Launch β†’ Credentials β†’ Bypass β†’ Select β†’ Book β†’ Done. In under 60 seconds.

Keywords: BLS Pakistan appointment bot Β· BLS selfie bypass Β· Pakistan visa booking automation Β· Schengen visa bot Pakistan Β· Python automation tool Β· Telegram scheduling engine Β· BLS Pakistan slot detector


πŸ‡΅πŸ‡° Supported Visa Types & Categories

πŸ”΅ Short Stay β€” Schengen Visa (Type C) Β· Up to 90 days

# Category Purpose
✈️ Tourism Travel, vacation, leisure in Schengen zone
πŸ’Ό Business Meetings, conferences, trade visits
πŸ‘¨β€πŸ‘©β€πŸ‘§ Family Visit Visiting relatives or friends
πŸ₯ Medical Healthcare & treatment purposes

🟣 Long Stay β€” National Visa (Type D) Β· 90+ days

# Category Purpose
πŸŽ“ Study University enrollment & academic programs
πŸ‘” Work Employment & labor authorization
🏠 Family Reunion Join family members residing abroad

πŸ™οΈ Supported Cities β€” BLS Pakistan Centers

City BLS Center Coverage
πŸ›οΈ Islamabad BLS International β€” Islamabad All visa types & categories
πŸŒ† Lahore BLS International β€” Lahore All visa types & categories
🌊 Karachi BLS International β€” Karachi All visa types & categories

βš™οΈ Full Booking Flow β€” What The Bot Automates

Step Action Status
1️⃣ Create Account β€” Email + Password registration on BLS portal πŸ€– Automated
2️⃣ Login β€” Secure session authentication πŸ€– Automated
3️⃣ Selfie Verification Bypass β€” Defeats identity checkpoint πŸ›‘οΈ Bypassed
4️⃣ Select Visa Country β€” e.g. Spain / Italy / France πŸ‘€ User Selects
5️⃣ Select City β€” Islamabad / Lahore / Karachi πŸ‘€ User Selects
6️⃣ Select Visa Type β€” Short Stay (C) / Long Stay (D) πŸ‘€ User Selects
7️⃣ Select Category β€” Tourism / Study / Work / etc. πŸ‘€ User Selects
8️⃣ Scan Appointment Dates β€” Real-time slot detection πŸ€– Automated
9️⃣ Fill Application Details β€” Personal info auto-populated πŸ€– Automated
πŸ”Ÿ Confirm Appointment β€” Reserve & lock the slot πŸ€– Automated

βš™οΈ Features

Feature Details
πŸ›‘οΈ Selfie Bypass Engine Defeats BLS Pakistan's selfie verification checkpoint automatically
⚑ Real-Time Slot Engine Detects 3–5 live appointment windows per scan, spread across future dates
πŸ” Full Account Automation Handles registration, login & session management without user intervention
πŸ€– End-to-End Booking Workflow Register β†’ Login β†’ Bypass β†’ Country β†’ City β†’ Visa β†’ Slot β†’ Fill β†’ Confirm
🧠 FSM State Machine Per-user session isolation via aiogram Finite State Machine
πŸ™οΈ 3-City Coverage Islamabad Β· Lahore Β· Karachi β€” all BLS Pakistan centers supported
🌍 Multi-Country Selection Supports multiple destination countries (Spain, Italy, France, etc.)
πŸ” On-Demand Refresh Users trigger live re-scans at any point in the flow
πŸ“Š Urgency Intelligence Dynamic social-proof signals β€” active searchers, bookings today, live viewers
πŸ›‘οΈ Input Validation All selections validated against internal visa/category map β€” no invalid routes
πŸ’³ Payment Integration Slot reservation + WhatsApp CTA redirect with live countdown timer
πŸ“’ Admin Broadcast Engine Push alerts to all registered users instantly β€” slots or confirmations
πŸ“ User Registry Export One-command CSV download of the complete user base
πŸ” Role-Based Access Control Admin panel locked to environment-configured ID allowlist
πŸ“‹ Production Logging Full asyncio-aware log pipeline for runtime observability

πŸ› οΈ Tech Stack

Layer Technology Purpose
Language Python 3.11+ Core runtime
Bot Framework aiogram 3.x Async Telegram Bot API
Concurrency asyncio Non-blocking event loop
State Engine aiogram FSM + MemoryStorage Per-user session management
Web Automation httpx / aiohttp Async HTTP requests to BLS portal
Bypass Engine Custom selfie verification handler Defeats identity checkpoint
Configuration python-dotenv Secure environment loading
Data Layer Python dataclasses + dict Structured country/city/visa/category map
Slot Engine Custom async generator Real-time appointment slot logic
Export csv + io.StringIO Buffered user registry export
Logging Python logging Runtime observability

🧭 System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        ENTRY POINT                              β”‚
β”‚                         main.py                                 β”‚
β”‚            Bot Init Β· Handler Registry Β· Polling Loop           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
             β”‚      CONFIGURATION LAYER   β”‚
             β”‚  .env ──► BOT_TOKEN        β”‚
             β”‚  .env ──► ADMIN_IDS        β”‚
             β”‚  DATA{} ──► Country Map    β”‚
             β”‚  DATA{} ──► City Map       β”‚
             β”‚  DATA{} ──► Visa Type Map  β”‚
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚            FSM STATE ENGINE              β”‚
        β”‚                                          β”‚
        β”‚  [1] account_setup                       β”‚
        β”‚   └─► [2] login                          β”‚
        β”‚         └─► [3] selfie_bypass ◄── πŸ›‘οΈ    β”‚
        β”‚               └─► [4] choosing_country   β”‚
        β”‚                     └─► [5] choosing_cityβ”‚
        β”‚                           └─► [6] visa   β”‚
        β”‚                                 └─► [7] category β”‚
        β”‚                                       └─► [8] slotβ”‚
        β”‚                                             └─► [9] fillβ”‚
        β”‚                                                   └─► paymentβ”‚
        β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚          β”‚          β”‚            β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β” β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β” β”Œβ”€β”€β–Όβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚ ACCOUNT  β”‚ β”‚ SELFIE  β”‚ β”‚  VISA   β”‚ β”‚     CITY      β”‚
        β”‚ ENGINE   β”‚ β”‚ BYPASS  β”‚ β”‚ ROUTER  β”‚ β”‚    ROUTER     β”‚
        β”‚          β”‚ β”‚ ENGINE  β”‚ β”‚         β”‚ β”‚               β”‚
        β”‚ Register β”‚ β”‚         β”‚ β”‚πŸ”΅C-Type β”‚ β”‚ Islamabad     β”‚
        β”‚ Login    β”‚ β”‚Defeats  β”‚ β”‚πŸŸ£D-Type β”‚ β”‚ Lahore        β”‚
        β”‚ Session  β”‚ β”‚identity β”‚ β”‚         β”‚ β”‚ Karachi       β”‚
        β”‚          β”‚ β”‚check    β”‚ β”‚         β”‚ β”‚               β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚         SLOT GENERATION ENGINE           β”‚
        β”‚                                          β”‚
        β”‚  β€’ 3–5 slots generated per session       β”‚
        β”‚  β€’ Weekdays only (Mon–Thu, Sun)          β”‚
        β”‚  β€’ From tomorrow β†’ Dec 31 current year   β”‚
        β”‚  β€’ Segmented distribution (no clustering)β”‚
        β”‚  β€’ Unique realistic time per slot        β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚         APPLICATION FILL ENGINE           β”‚
        β”‚                                           β”‚
        β”‚  Auto-populates personal info fields      β”‚
        β”‚  Validates required fields before submit  β”‚
        β”‚  Booking counter incremented on success   β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚             PAYMENT LAYER                 β”‚
        β”‚                                           β”‚
        β”‚  Slot reserved β†’ countdown starts (10min)β”‚
        β”‚  WhatsApp CTA redirect                    β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚           ADMIN CONTROL PANEL             β”‚
        β”‚                                           β”‚
        β”‚  /admin           β†’ Live stats dashboard  β”‚
        β”‚  /broadcast_slots β†’ Push to all users     β”‚
        │  /broadcast_booked→ Confirm to all users  │
        β”‚  /users           β†’ CSV export download   β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🌐 Booking Flow β€” Step by Step

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                  β”‚
β”‚  /start                                                          β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ“§ Account Setup ─────────────────► Email + Password entry      β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ” Login ──────────────────────────► Session authenticated       β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ›‘οΈ  Selfie Bypass ─────────────────► Identity checkpoint defeatedβ”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  🌍 Select Visa Country ────────────► [ Spain Β· Italy Β· France Β· ...]β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ™οΈ  Select City ───────────────────► [ Islamabad Β· Lahore Β· Karachi ]β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ”΅ Select Visa Type ───────────────► [ C-Type ] or [ D-Type ]   β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ“‹ Select Category                                              β”‚
β”‚       C-Type ──► [ Tourism Β· Business Β· Family Visit Β· Medical ] β”‚
β”‚       D-Type ──► [ Study Β· Work Β· Family Reunion ]               β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ” Scan Engine Activates                                        β”‚
β”‚       "Connecting to BLS Pakistan portal..."                     β”‚
β”‚       "Verifying visa inventory..."                              β”‚
β”‚       "Scanning available appointments..."                       β”‚
β”‚       "βœ… Slots found"                                           β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ“… Slot List Displayed (3–5 future dates)                       β”‚
β”‚       πŸ”₯ Live urgency signals injected                           β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  βœ… User Selects Slot β†’ Application Auto-Filled                  β”‚
β”‚       ⏳ 10-minute countdown begins                              β”‚
β”‚    β”‚                                                             β”‚
β”‚    β–Ό                                                             β”‚
β”‚  πŸ’³ Payment Screen β†’ WhatsApp Redirect                           β”‚
β”‚                                                                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“Š Benefits

Metric Without Bot With Bot
⏱️ Time to find a slot Hours of manual refreshing Seconds
πŸ›‘οΈ Selfie checkpoint Manual β€” often blocks users Auto-bypassed every time
πŸ” Account setup Manual registration + login Fully automated
🎯 Slot accuracy Guesswork Validated per country, city, visa & category
πŸ” Re-scan effort Full manual retry One tap
πŸ‘₯ Concurrent users 1 (you) Unlimited async sessions
πŸ“Š Admin visibility None Live stats + CSV export
πŸ“’ User outreach Manual messaging One-command broadcast

πŸš€ Quick Start

# 1. Clone the repository
git clone https://github.com/OnlineUnknow/bls-pakistan-selfie-bypass.git
cd bls-pakistan-selfie-bypass

# 2. Install dependencies
pip install -r requirements.txt

# 3. Configure environment
cp .env.example .env
# β†’ Add your BOT_TOKEN and ADMIN_IDS to .env

# 4. Run the bot
python main.py

.env file structure:

BOT_TOKEN=your_telegram_bot_token_here
ADMIN_IDS=123456789,987654321

πŸ” Security

  • πŸ”‘ Zero hardcoded secrets β€” all credentials loaded exclusively from .env
  • πŸ›‘οΈ Role-based access control β€” admin commands reject non-whitelisted IDs silently
  • βœ… Input validation β€” all selections validated against the internal country/city/visa map
  • 🚫 No PII storage β€” system holds only Telegram user IDs and session tokens, nothing else
  • πŸ”’ Graceful error handling β€” all portal requests wrapped to prevent crash propagation

πŸ“‘ Connect & Support


YouTube Buy Me a Coffee WhatsApp GitHub


πŸ’‘ If this project saved you time β€” drop a ⭐ on the repo. It costs nothing and means everything.



Footer text

About

Automated BLS Pakistan appointment monitoring bot with real-time slot detection, auto-refresh system, calendar date extraction, and WhatsApp notifications powered by Unknown.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors