Skip to content

samxplogs/ZeroRange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Raspberry Pi 5 Flipper Zero License

ZeroRange

Flipper Zero Training System
Practice. Master. Repeat.

A hands-on training platform to master Flipper Zero capabilities through gamified challenges.
Built on Raspberry Pi with an interactive LCD interface.

Watch ZeroRange in action
β–Ά Watch on YouTube

ZeroRange hardware setup

LCD main menu


πŸ“Ÿ LCD Interface Preview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  ╔════════════════════════════╗    β”‚
β”‚  β•‘ >iButton         25/120   β•‘    β”‚
β”‚  β•‘ U/D SEL=Go L=Bk           β•‘    β”‚
β”‚  β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•    β”‚
β”‚                                    β”‚
β”‚      [β–²]                           β”‚
β”‚  [β—„] [●] [β–Ί]                       β”‚
β”‚      [β–Ό]                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Navigate through challenges using the 5-button interface:

  • β–² UP / β–Ό DOWN - Navigate menus
  • ● SELECT - Confirm selection
  • β—„ LEFT - Go back

Challenges

Currently Available

Module Challenges Points Status
iButton Touch & Read, Clone, Emulate 30 pts Available
NFC Detect, Clone, MIFARE Attack 30 pts Available
RFID Detect, Clone, Simulate 30 pts Available
SubGHZ Detect Signal, Record & Replay, Signal Analysis 30 pts Available

Total: 120 points across 12 challenges

Coming Soon

Module Description Status
IR Infrared signal challenges In Development

Hardware Requirements

Raspberry Pi 5              Components
──────────────              ──────────
GPIO 2 (SDA)  ─────────────► Adafruit LCD (I2C)
GPIO 3 (SCL)  ─────────────►
5V / GND      ─────────────►

USB Port 1    ─────────────► iButton USB Reader (HID)
USB Port 2    ─────────────► Proxmark3 (NFC/RFID)
USB Port 3    ─────────────► HackRF One (SubGHZ)

Components:

  • Raspberry Pi 5 (or Pi 4)
  • Adafruit RGB LCD Shield 16x2
  • iButton USB Reader (HID keyboard emulation)
  • Proxmark3 (for NFC/RFID challenges)
  • HackRF One (for SubGHZ challenges)
  • Flipper Zero (your training tool)

πŸ›’ Shopping List

Affiliate Disclaimer: As an Amazon and AliExpress Associate, I earn from qualifying purchases. You will pay the same price, but I might earn a small commission β€” this helps finance the gear and support the development of ZeroRange. Thank you!

Component Amazon AliExpress
Raspberry Pi 5 (4GB) Buy on Amazon β€”
Adafruit i2c 16x2 RGB LCD Pi Plate Buy on Amazon β€”
Proxmark3 Buy on Amazon Buy on AliExpress
HackRF One Buy on Amazon β€”
HackRF + Porta Pack β€” Buy on AliExpress
iButton USB Reader β€” Buy on AliExpress

Quick Start

On the Raspberry Pi

# Clone the repository
git clone https://github.com/samxplogs/ZeroRange.git
cd ZeroRange

# Install system dependencies
sudo apt-get update
sudo apt-get install -y python3-pip python3-smbus python3-evdev i2c-tools

# Install Python dependencies
pip3 install -r requirements.txt

# Run ZeroRange
sudo python3 zerorange.py

sudo is required for hardware access (I2C, USB HID, Proxmark3).

Auto-start as a service

sudo bash install_service.sh

This installs a systemd service that automatically starts ZeroRange on boot, including the web interface (port 8000) and LCD API (port 5000).

WiFi Hotspot (optional)

Make ZeroRange fully portable β€” no existing network required:

sudo bash setup_hotspot.sh
sudo reboot

After reboot, connect to the ZeroRange WiFi network. A captive portal redirects you to the web interface automatically.

Web Interface

Once running, access the web interface at:

http://<RASPBERRY_PI_IP>:8000

The Pi gets its IP via DHCP. Run hostname -I on the Pi to find it. In hotspot mode, the IP is 10.0.0.1.

For detailed installation instructions, see INSTALLATION.md.


Challenge Examples

iButton - Touch & Read

╔════════════════════════════╗
β•‘ Challenge 1               β•‘
β•‘ Touch & Read              β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ Waiting for key...        β•‘
β•‘ Touch to reader           β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ SUCCESS! +10pts           β•‘
β•‘ Challenge Done!           β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

NFC - Detect Card

╔════════════════════════════╗
β•‘ NFC Challenge 1           β•‘
β•‘ Detect any card           β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ Scanning...               β•‘
β•‘ Place card on PM3         β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ FOUND: MIFARE 1K          β•‘
β•‘ UID: 04:A3:F5:B2          β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

SubGHZ - Record & Replay

╔════════════════════════════╗
β•‘ SubGHz Ch2 [1/2]          β•‘
β•‘ Press TX button           β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ Signal captured!          β•‘
β•‘ Strength: -45dBm          β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
         ↓
╔════════════════════════════╗
β•‘ SOLVED! +10pts            β•‘
β•‘ Signal replayed!          β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Features

  • Gamified Learning - CTF-style challenges with points and progression
  • Real Hardware - Practice on actual RFID/NFC/iButton systems
  • Score Tracking - SQLite database tracks your progress
  • Auto-start - Systemd service for standalone operation
  • WiFi Hotspot - Connect directly to ZeroRange without network

Project Structure

ZeroRange/
β”œβ”€β”€ zerorange.py          # Main application
β”œβ”€β”€ lcd_manager.py        # LCD display control
β”œβ”€β”€ database.py           # Score persistence
β”œβ”€β”€ config.json           # Configuration
β”‚
β”œβ”€β”€ ibutton_handler.py    # iButton challenge logic
β”œβ”€β”€ nfc_handler.py        # NFC challenges (Proxmark3)
β”œβ”€β”€ rfid_handler.py       # RFID challenges (Proxmark3)
β”œβ”€β”€ proxmark_handler.py   # Proxmark3 interface
β”œβ”€β”€ subghz_handler.py     # SubGHZ challenges (HackRF)
β”œβ”€β”€ hackrf_handler.py     # HackRF One interface
β”‚
β”œβ”€β”€ SUBGHZ_INTEGRATION.md # SubGHZ setup guide
└── docs/                 # Web documentation

Legal Notice

ZeroRange is designed for educational purposes only in a controlled environment.

Only practice on hardware you own or have explicit permission to test. Never use these skills on systems without authorization.


License

This project is licensed under CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0).

  • Attribution - You must give appropriate credit
  • NonCommercial - No commercial use
  • ShareAlike - Derivatives must use the same license

See LICENSE for details.


Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Test on real hardware
  4. Submit a pull request

Credits

Created by samxplogs

Built for the Flipper Zero community.


Practice. Master. Repeat.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors