Wardriving with the Pineapple Pager
# Wardriving with the Pineapple Pager We can use the pager to do some nice wardriving, but to have GPS with it, we have a couple options, using the Glytch GPS Module or Mobile2GPS
Glytch GPS Module
This is form fitting and simple to use, but it does cover the USB-C port so we are unable to charge it. With the Module plugged in, we go to Settings -> GPS -> Serial Device -> Select TTYUSB0 and that’s it. Pretty straight forward. The GPS is very weak inside from my experience, so it may not show your coordinates immediately.
Mobile2GPS
This is my preferred way to go as it’s super easy, leave the USB-C port open, and makes the pager easier to carry. To start we need to connect our pager to our machine so we can either SSH into it or access the Virtual Pager at http://172.16.51.1:1471 .
We will need to have the Management AP setup for our phone to connect to. To ensure this is setup we go to: Settings -> Network -> Management AP Setup.
Give it a network name, setup the encryption type, and the passphrase.
We need to clone the repository if you’re on MacOS or Linux, you can either download and extract the .zip file or use git. Also download the mobile2gps from the releases page or with wget.
git clone https://github.com/ryanpohlner/mobile2gps.git && cd mobile2gps
wget https://github.com/ryanpohlner/mobile2gps/releases/download/v1.6/mobile2gps
From here we need to make the mobile2gps2gps directory on our pager under /mmc/root/payloads/user/general/. Through SSH or the Virtual Pager:
mkdir /mmc/root/payloads/user/general/mobile2gps
Now we need to move the following files to our pager:
- payload.sh
- mobile2gps
- index.html
Using scp or WinSCP if you’re on Windows.
scp payload.sh root@172.16.52.1:/mmc/root/payloads/user/general/mobile2gps/
scp mobile2gps root@172.16.52.1:/mmc/root/payloads/user/general/mobile2gps/
scp index.html root@172.16.52.1:/mmc/root/payloads/user/general/mobile2gps/
Make sure our phone is connected to our Management AP. On the pager go to: Payloads -> general -> mobile2gps -> Launch.
Once here, press the Up Arrow to start the server for the GPS.
Now on our phone we go to: https://172.16.52.1:1993 and press Start.
On the pager we can press the right arrow to verify we have GPS coordinates.
We can also verify by going to: Settings -> GPS.
From here, we can start recon mode, press the Green button and go down to enable Wigle Mode. This will save a wigle ready .csv file for us to use.
Now we can either get the files off of our Pager using scp (or WinSCP) to upload to Wigle. OR we can use wigle-toolkit. This will allow us to upload our .csv files for wigle in /mmc//root/loot/wigle/.