Al-Anqa
Offensive security firmware for the LilyGo T-Deck β hacker CLI in your pocket.
Al-Anqa turns the LilyGo T-Deck into a pocket pentesting terminal. No menus, no GUI β just a blinking cursor, a physical keyboard, and a full suite of offensive security tools running on an ESP32-S3.
β οΈ Legal Disclaimer β For authorized security testing, CTF competitions, and educational use only. Always get written permission before testing.
Documentation
π Start Here
- Getting Started β Flash, first boot, SD setup, first commands
- Keyboard Reference β Sym key, autocomplete, history, cursor editing, trackball
- Workflows β End-to-end examples: WPA2 capture, network recon, IDS, tracker detection
- T-Deck vs T-Deck Plus β The only hardware difference is GPS
- Troubleshooting β Upload failures, SD issues, WiFi, BLE, GPS, lock screen
π‘ WiFi
- Scan & Connect β
scanwifiΒ·connectwifi - WiFi Monitor β
wifimon - Wardrive β
wardriveβ WiFi + GPS β WiGLE CSV (Plus only) - WiFi Credentials β
wifipassΒ·wp exportΒ·wp clear - MAC Changer β
macchanger - WiFi Attacks
- Deauth β
deauth - Evil Twin β
eviltwin - Hidden SSID β
hiddenssid - WPA Sniff β
wpasniff - PMKID Attack β
pmkid - WGuard IDS β
wguard - Beacon Flood β
beaconflood - WPS β
wpsβ recon + PIN gen + handshake capture - WPA3 Downgrade β
wpa3downβ [EXP] transition-mode downgrade to WPA2 - Pwnagotchi Pet β
pwn/pwβ autonomous AI-adaptive roam (13ch;basic=1/6/11) + capture handshakes/PMKIDs (clientless solicit) + on-device crack (active/stealth/passive)
- Deauth β
π Network
- Net Discover β
netdiscover - Net Spy β
netspy/nsβ [EXP] passive client-isolation device recon (AirSnitch) - Iso Scan β
isoscan/isβ [EXP] active isolation audit: GTK inject + capture (AirSnitch) - Port Scan β
portscanΒ·ps topΒ· banner grabber Β· OS fingerprint - Ping β
ping - SSH Client β
sshβ interactive colour terminal + scrollback - ARP Spoof β
arpspoofβ L2 ARP cache poisoning + redirected-traffic log - Responder β
responderβ [EXP] LLMNR/NBT-NS/mDNS poisoner + NetNTLM capture - Default-Password Check β
dpwo/dwβ default creds on FTP/SSH/Telnet/HTTP/RTSP/Redis/MQTT/SNMP (custom ports too) - Chromecast Control β
cast/caβ discover Cast devices, rickroll, play URLs/saved content, share local SD photos/videos
π΅ Bluetooth
- Scan BLE β
scanblue - BLE Info β
bleinfo - Tracking Detection β
trackme - Fast Pair β
fastpair - BLE Spam β
blespam - Buddy β
buddy - BT Keyboard β
btkbd - BLE Monitor β
bmonβ passive advertisement sniffer (iBeacon/Eddystone) - MAC Watch β
macwatchβ MAC watchlist + proximity alert
π USB
- USB Mass Storage β
usbmsc - USB Keyboard β
usbkbd - BadUSB β
usbexec - Mouse Jiggler β
jiggle
βοΈ System
- Help & Manual β
helpΒ·manΒ·showΒ·clearΒ·MATRIX - Device Info β
info - Power Save β
pwrsaveΒ·sleep - Lock Screen β
lock - Undercover Mode β
notesΒ·undercover - NES Emulator β
gameβ play NES ROMs from the SD card - Timezone β
tz - Audio & Notifications β
volumeΒ·notifΒ·test spk - SD Commands β
sdinfoΒ·sdlsΒ·cdΒ·catΒ·editΒ·rmΒ·sdformat - Diagnostics β
gps on/off/testΒ·test spk/mic/loraΒ·i2cscanΒ·csidetect - SD Card Layout β file layout reference
- Custom Splash Screen β replace the boot image with your own PNG
Quick Start
Requirements: VSCode + PlatformIO extension
git clone https://github.com/abdallahnatsheh/AL-ANQA-FIRMWARE
# Open in VSCode β select env:T-Deck or env:T-Deck-Plus β click Upload
Canβt upload? Hold the trackball button, plug in USB, then try again β this forces download mode.
Hardware
| Component | Details |
|---|---|
| Devices | LilyGo T-Deck Β· LilyGo T-Deck Plus |
| MCU | ESP32-S3 (16 MB flash, 8 MB PSRAM) |
| Display | 320Γ240 ST7789 TFT |
| Input | Physical QWERTY keyboard + trackball |
| Radio | WiFi 2.4 GHz Β· Bluetooth 5 Β· LoRa SX1262 |
| GPS | L76K / u-blox M10Q (T-Deck Plus only) |