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

Plugin Script Description Confirms pcap contains handshake/PMKID or delete it. Backs up files when internet is available. apt update && apt upgrade when internet is available. Makes the display reachable over bluetooth. Example plugin for Pwnagotchi that implements all the available callbacks. Saves GPS coordinates whenever a handshake is captured. Signals the unit’s cryptographic identity and (optionally) a list of pwned networks to PwnGRID at 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 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. Add a voltage indicator for the UPS Lite v1.1. Automatically uploads collected WiFi handshakes to Automatically uploads handshakes to


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')
            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)