Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Idea
With this plugin you can change the configuration via. browser on your computer or while walking around with a established bluetooth connection.
Usage
You have to enable the plugin in your config (enabled: true). After that you can simply open the browser and navigate to http://<pwnagotchi ip>:<port>/plugins/webcfg
You can use the top menu to add new options. If you want to add another item to an array, do it like
bettercap.silence.#12
. This would add the 13th item to the list (remember: arrays start from 0).With the dropdown on the left of the add button you have to select the option-data-type. You can choose between text and number.
When you press save, the config will be saved to /etc/pwnagotchi/config.yml. Then the pwnagotchi will restart the process (in the same mode it was before).
Big thanks to Azkrath who helped alot with the html/css/javascript stuff^^
Preview
Computer
Mobile