-
Notifications
You must be signed in to change notification settings - Fork 17
Wifi Client
MaMe82 edited this page Sep 15, 2017
·
3 revisions
P4wnP1 starts an Accesspoint by default. Which is desired on most cases when on an Assessment. Unfortunately, the Pi doesn't have internet access. So the Wifi client feature was introduced which opens up multiple new possibilities.
- Easy update of P4wnP1 and Raspbian.
- Forwarding requests from the target machine.
- Extending the wifi distance by using a stronger accesspoint as router
- AutoSSH integration for automatic reverse connections.
The client setting can be configured in the setup.cfg
in the P4wnP1 root directory:
- WIFI_CLIENT=false # enables the client functionality
- WIFI_CLIENT_SSID="Accespoint Name" # the SSID of the AccessPoint
- WIFI_CLIENT_PSK="AccessPoint password" # cleartext passphrase for the network
- WIFI_CLIENT_STORE_NETWORK=false # currently unused
- WIFI_CLIENT_OVERWRITE_PSK=true # currently unused
Note:
Currently only supports WPA2 PSK networks.
Could slow down boot because the scan for the desired network is issued upfront and the DHCP client gets started and waits for a lease.
if WIFI_ACCESSPOINT is set to true as well, P4wnP1 starts an Accesspoint if the target network was not found.