Skip to content
/ PiFi Public

Firmware for RPi zero 2 W that is made for wifi pentesting

Notifications You must be signed in to change notification settings

greatgaga/PiFi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6828aa7Β Β·Β Β· Aug 2, 2025

History

15 Commits
Aug 2, 2025
Jul 30, 2025
Aug 2, 2025
Jul 31, 2025
Jul 30, 2025
Jul 31, 2025
Jul 30, 2025
Jul 30, 2025
Aug 1, 2025
Jul 30, 2025
Aug 1, 2025

Repository files navigation

PiFi β€” Wi-Fi Pentesting Firmware for Raspberry Pi Zero 2 W

PiFi is a Wi-Fi pentesting firmware built for the Raspberry Pi Zero 2 W. It provides a one-click web interface to perform essential wireless network attacks for security testing, education, and research purposes.


🧰 Features

  • βœ… Deauthentication attacks (disconnect devices from networks)
  • βœ… Evil Twin AP with DNS spoofing
  • βœ… ARP spoofing for MITM (Man-in-the-Middle)
  • βœ… Network scanning and host discovery
  • βœ… Lightweight web interface built with Flask + SocketIO

βš™οΈ Requirements

Before installing, ensure the following:

  • 🐧 Device: Raspberry Pi Zero 2 W
  • πŸ’Ύ OS: Raspberry Pi OS (Bookworm or similar)
  • πŸ‘€ User: Must be named user
  • 🌐 Internet: Required during initial installation
  • πŸ“Ά Wi-Fi: Must have wlan1 available (e.g. external USB Wi-Fi adapter (adapter must support packet injection if you want all the features to work))

πŸš€ One-Line Installer

Install everything with a single command:

curl -fsSL https://raw.githubusercontent.com/greatgaga/PiFi/main/install.sh | sudo bash

Usage

You need to host a network that is called: PiFi, with passkey: pifi1234. Also that network should work on frequency of 2.4GHz, and it will be good if network could use WPA2. PiFi will connect to it and then it will start hosting web site on its IP address port 5000, so you should connect to it via browser (eg eg http://10.0.0.2:5000)

DISCLAIMER

Use this for ethical purposes only!