| Welcome to Pwnie Express. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Please note you need to use a valid email address to register for member access. Get your questions answered by other members, share your ideas and feedback, get your problems solved, and give back by helping others! It only takes a minute to get started. Registration is simple, fast, and completely free! Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| GPS Into Kismet; GPS Data into Kismet | |
|---|---|
| Topic Started: Jun 24 2013, 03:48 AM (3,433 Views) | |
| binkybear | Jun 24 2013, 03:48 AM Post #1 |
|
Hi all, Here is updated instructions to get GPS data into Kismet with the Pwnpad. If you use mybackup image for Kali all you have to do is start Bluenmea then run Kismet (bluetooth and GPS must be enabled). But for those still using the awesome Pwnpad, here you go! Installation Download BlueNMEA 2.1.3 (or through Google Play Store/F-Droid)
Try to match the configuration with mine below under the GPS section: ![]()
Replace the quotes with the following:
Installation Completed Turn on Bluetooth & GPS Run BlueNMEA application Start Kismet script ![]() Congratulations! It works! Of course you will see networks and your home GPS will not be blacked out like a redacted document. From here you can run Giskismet if you have it installed. I've made an awesome script that will build make a database, build a Google Earth KML, zip/transfer/delete to SDCARD. You can get it here: https://raw.github.com/binkybear/Kali-Pwnpad-Scripts/master/scripts/giskismet.sh Still not working? Troubleshoot! Is GPS on? Is Bluetooth on? Make sure you write "127.0.0.1" instead of localhost. Run BlueNMEA application In Terminal 1 -
Open Terminal 2 (roothsell) - Let's check if were receiving GPS data:
If your screen is flooding with coordinates it's working. ctrl-c and lets check gpsd
Check for any errors. I get dbus msg but it still works. Edited by binkybear, Aug 14 2013, 01:11 AM.
|
![]() |
|
| Replies: | |
|---|---|
| Guest | Aug 21 2013, 10:40 AM Post #11 |
|
Unregistered
|
I was able to get to work by changing the gpsd parameters in the socat line above to: gpsd -n -N /tmp/gps So not daemonizing seems to work. |
|
|
| Guest | Jan 10 2014, 08:11 PM Post #12 |
|
Unregistered
|
First off Awesome post, this is exactly what we wanted from the pwn pad. I did, however, have a couple questions. First, has this been tried with the new pwn pad 2014? We just got ours and I've been trying to get this to work with no luck. I'm pretty sure I have the config files correct (gps=true, gpstype=gpsd, 127.0.0.1) I even tried setting the type to serial with no luck. Ive done the gpsd and socat troubleshooting and have gotten good results from both, it seems like the kismet simply is not picking up the gps data. This leads to my second question, really more of a clarification, when you say replace the quotes in the .sh file I assume you mean instead of "Kismet captures saved to..." it should say "socat TCP..." if that is not the issue then I am at a loss. Thanks for your help, Jerry |
|
|
| binkybear | Jan 10 2014, 11:25 PM Post #13 |
|
Hi Jerry, I don't have a 2014 Pwnpad (you lucky dog) but this should work for you. This setup works fine on my pwnpad running kali and there's not reason it shouldn't work on yours. Make sure you also have a tmp folder in your root (/tmp). Here are my files: /etc/kismet/kismet.conf kismet.sh giskismet.sh it looks like my config has it running as localhost instead of 127 also but it may require some playing around. Plus obviously bluenmea is necessary. Let me know if those files help. |
![]() |
|
| Guest | Jan 11 2014, 11:04 PM Post #14 |
|
Unregistered
|
Aha! That is helpful! So it looks like the issue is my kismet.sh file is completely different. First off the file structure has changed slightly so it is now stored here /opt/pwnix/pwnpad-scripts. The new file looks like this #!/bin/bash #Script to start Kismet wireless sniffer #Set term type to vt100 for now, only thing that displays curses properly atm export TERM=vt100 #Set ctrl c (break) to gracefully stop wlan1mon that kismet creates trap f_endclean INT trap f_endclean KILL f_endclean(){ ifconfig wlan1mon down ifconfig wlan1 down } ################################################## clear echo echo "Kismet captures saved to /opt/pwnix/captures/wireless/" echo echo wait 3 cd /opt/pwnix/captures/wireless/ kismet f_endclean Although I can find my way around I am still fairly new to linux so any suggestions on how to proceed are much appreciated (i.e. can I just add lines 3-17 from your file into the new one) -Jerry |
|
|
| binkybear | Jan 11 2014, 11:52 PM Post #15 |
|
Yeah mine is a bit different but a few things should stay the same. Actually all you have to do is change this part from:
to:
You may want to test it first by making a copy and running that (kismet2.sh) or something like that. But yeah also make sure you have gpsd installed and a tmp folder to cover your bases. edit I should also mention that my script launches giskismet and creates a google earth kml. You would just have to change some folder locations. But that's entirely up to you. Edited by binkybear, Jan 12 2014, 12:21 AM.
|
![]() |
|
| Guest | Jan 12 2014, 06:00 PM Post #16 |
|
Unregistered
|
Thanks, binkybear, for all your help that did it. I was having some issues with gpsd not stopping for a little while but it seems I've got it working correctly now. Cheers and thanks again, Jerry |
|
|
| droidshadow | Jan 19 2014, 08:00 AM Post #17 |
|
Binky! I am going to have to try this out... Anyone get this working with the Nexus 7 2013? -droidshadow |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Pwn Pad Community Edition Support Forum · Next Topic » |
- Pages:
- 1
- 2







8:49 PM Jul 10