Pwnagotchi has a simple plugin system that you can use to customize your unit and its behavior. You can place your plugins anywhere as Python files, and then edit the config.yml file (main.plugins value) to point to their containing folder. Check the plugins folder in the main Pwnagotchi repo for a list of plugins included by default as well as all the callbacks that you can define for your own customizations.

Default plugins

These plugins are maintained in the main pwnagotchi repository. New versions will be automatically available when you use the auto-update feature.

Plugin Script Description apt update && apt upgrade when internet is available. Makes the display reachable over bluetooth. Example plugin for Pwnagotchi that implements all the available callbacks. GPIO Button support plugin. Saves GPS coordinates whenever a handshake is captured. Signals the unit’s cryptographic identity and (optionally) a list of pwned networks to PwnGRID at This plugin blinks the PWR led with different patterns depending on the event. Adds a memory and temperature indicator. Saves WiFi position whenever a handshake is captured and retrieves the geolocation when internet is next available. Automatically uploads handshakes to Saves GPS coordinates whenever an handshake is captured. The GPS data is get from PAW on android. Shows the current session stats in nice little graps. A plugin that will add a voltage indicator for the UPS Lite v1.1. With this plugin you can change the configuration via the browser. Plots the captures handshakes on a map. Automatically uploads collected WiFi handshakes to Automatically uploads handshakes to

Community plugins

These are user contributed plugins for pwnagotchi, some of them have not been completely tested by the dev team, use them at your own risk.

Plugin Script Description Confirms pcap contains handshake/PMKID or delete it. Backs up files when internet is available. Runs a quick dictionary scan against captured handshakes. Refreshes the e-ink display after X amount of updates. Creates tweets about the recent activity of Pwnagotchi.

Usage of the community plugins

In order to use these plugins, clone the repository anywhere on your unit and then add its path to /etc/pwnagotchi/config.yml as:

  custom_plugins: "/path/to/this/folder"

Each plugin has its own configuration than must be part of the main.plugins section. If for instance you want to enable the auto_backup plugin, you need to edit your config.yml and add this:

  custom_plugins: "/path/to/this/folder"
        enabled: true
        interval: 1 # every day
        max_tries: 0 # 0=infinity
            - /root/brain.nn
            - /root/brain.json
            - /root/.api-report.json
            - /root/handshakes/
            - /root/peers/
            - /etc/pwnagotchi/
            - /var/log/pwnagotchi.log
            - 'tar czf /root/pwnagotchi-backup.tar.gz {files}'


To illustrate how easy it is to add additional functionality via the plugin system, here is the code for the GPS plugin (

import logging
import json
import os
import pwnagotchi.plugins as plugins

class GPS(plugins.Plugin):
    __author__ = '[email protected]'
    __version__ = '1.0.0'
    __license__ = 'GPL3'
    __description__ = 'Save GPS coordinates whenever an handshake is captured.'

    def __init__(self):
        self.running = False

    def on_loaded(self):"gps plugin loaded for %s" % self.options['device'])

    def on_ready(self, agent):
        if os.path.exists(self.options['device']):
  "enabling gps bettercap's module for %s" % self.options['device'])
      'gps off')

  'set gps.device %s' % self.options['device'])
  'set gps.speed %d' % self.options['speed'])
  'gps on')
            self.running = True
            logging.warning("no GPS detected")

    def on_handshake(self, agent, filename, access_point, client_station):
        if self.running:
            info = agent.session()
            gps = info['gps']
            gps_filename = filename.replace('.pcap', '.gps.json')

  "saving GPS to %s (%s)" % (gps_filename, gps))
            with open(gps_filename, 'w+t') as fp:
                json.dump(gps, fp)