Working with PineAP from the CLI
PineAP may be configured by the command line in addition to the web UI. This may be useful if you wish to script your WiFi Pineapple or text process log results.
As an example, we will list directed probe requests from nearby stations:
This will start PineAP, enable logging, run a continuous scan on both 2.4 and 5 GHz frequencies and list probe requests. The output may be parsed with standard text processing tools.
Keep in mind that run_scan accepts two arguments, duration (in seconds) and frequencies. In the example above, duration is set to 0 for a continuous scan, and frequencies is set to 2 for both 2.4 GHz and 5 GHz bands. This example is specific to the WiFi Pineapple TETRA, which features dual-band radios. The run_scan command would need to be modified for the single-band WiFi Pineapple NANO as run_scan 0 0.
For additional information, see the pineap CLI help for a list of commands
Last updated