RoganDawes / P4wnP1_aloa

P4wnP1 A.L.O.A. by MaMe82 is a framework which turns a Rapsberry Pi Zero W into a flexible, low-cost platform for pentesting, red teaming and physical engagements ... or into "A Little Offensive Appliance".
GNU General Public License v3.0
3.77k stars 507 forks source link

Triggers to issue events for automation (USB host connection, networkup, new DHCP client...) #6

Closed mame82 closed 6 years ago

mame82 commented 6 years ago

The "old" P4wnP1 ad a static configuration "per boot". Changing running USB gadgets, network configuration etc. at run-time wasn't intended. The purpose of this new P4wnP1 version is to allow run-time configuration changes and CONNECTING/DISCONNECTING TO USB HOSTS WITHOUT REBOOT OF P4wnP1 (battery buffered).

This means new methods are needed and have to be implemented, to trigger scripts which are used to automate tasks. Currently, a script (which could be customized by a user) is triggered ONLY ON SERVICE START. Additional trigger have to be found for the following situations:

Additionally events have to be fired for all these triggers

Additional triggers:

Triggers result in Actions, like

mame82 commented 6 years ago

Everything beside GPIO completed