Skip to content

Pwnagotchi plugin to display the most recently cracked password on the Pwnagotchi face

License

Notifications You must be signed in to change notification settings

nothingbutlucas/pwnagotchi-display-password-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

display-password.py

Displays the most recent cracked password on the Pwnagotchi display. It currently processes every .potfile file on the /root/hanshakes directory. Feel free to help out if you want.

Installation

Via installation script

This script will execute the same steps as the manual installation.

  1. SSH into your Pwnagotchi and run the following command:
git clone https://github.com/nothingbutlucas/pwnagotchi-display-password-plugin
cd pwnagotchi-display-password-plugin
  1. Run the installation script as root:
sudo ./install.sh

It will install the plugin to your configured main.custom_plugins variable on /etc/pwnagotchi/config.toml. If you don't have a main.custom_plugins variable, it will add it to the end of the file and then ask you to declare it

  1. Reboot the Pwnagotchi daemon to ensure all changes are applied, you can do so with the following command:
sudo systemctl restart pwnagotchi

This also allow you to update the plugin by running git pull on the plugin repo directory.

Manual

  1. SSH into your Pwnagotchi and create a new folder for third-party Pwnagotchi plugins. I use /root/custom_plugins/ but it doesn't really matter: mkdir /root/custom_plugins/
  2. Grab the display-password.py and display-password.toml file from this Github repo and put it into that custom plugins directory.
  3. Edit /etc/pwnagotchi/config.toml and change the main.custom_plugins variable to point to the custom plugins directory you just created: main.custom_plugins = "/root/custom_plugins/"
  4. In the same /etc/pwnagotchi/config.toml file, add the following lines to enable the plugin:
main.plugins.display-password.enabled = true # true or false
main.plugins.display-password.orientation = "horizontal" # horizontal or vertical
main.plugins.display-password.position = "30,160" # Depends on screen
main.plugins.display-password.last_only = false # false will loop to every file and password. true will only display the most recent password from every potfile

Once the above steps are completed, reboot the Pwnagotchi daemon to ensure all changes are applied, you can do so with the following command:

sudo systemctl restart pwnagotchi

Update

  1. SSH into your Pwnagotchi and go where you clone the repo originally
  2. Run git pull
  3. Be sure to be on the actual branch git checkout main. The master branch is from the original repo.
  4. Reboot the Pwnagotchi daemon to ensure all changes are applied

Screenshot:

display-password.py

Contributions / ToDo:

Improvements are more than welcome.

  • We need some kind of gif or something like that to show the actual functionality of the plugin.

About

Pwnagotchi plugin to display the most recently cracked password on the Pwnagotchi face

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.1%
  • Shell 37.9%