Skip to main content

Wardriving!

For Wardriving purpose I recently bought a GPS USB from Lazada for about RM112



To setup and configure on your virtual machine, in this case I'm using Kali Linux 2018. First we have to install gpsd and gpsd-clients.

apt install gpsd -y
apt install gpsd-clients -y

After all the installation is finish, next we can to check does our USB GPS is detect by running:

ls /dev/gps*

If the command above does not work you may run this command:

ls /dev/tty*

and it should get an output like this:


You will notice there is a bottom right /dev/ttyUSB0 we will use that to run our gpsd

Next we have to run:

gpsd -n -N -D4 /dev/ttyUSB0

To check whether your GPS receiver has locked onto statellites we can use cpsg which is used to test clients for gpsd, run the following command in a new tab or terminal window

$ cgps -s


Now, our final step, plug in your Alfa Antenna and fire up kismet!




Comments

Popular posts from this blog

Create a session & restore abort/interrupted session in John The Ripper!

Been busy with report writing. Just wanna put some of these command and technique on how to restore interrupted session or aborted session in John The Ripper. 1. First step crack the hash with these commands : john --session=test --format=raw-sha --incremental=rockyou test.txt 2. To restore the abort /interrupted session that you wanted to resume just run these commands : john --restore=test Check the "test.log" Note:  Make sure that these file are not delete " .rec " and " .log " files if the file is deleted or missing it wont work. That's all happy cracking!

MSF ::EXITFUNC::

Quick note about MSF EXITFUNC. So what is EXITFUNC? EXITFUNC option is set to 'thread' by default, and it works fine in most cases, so we don't usually look into it much. But in some situations specifying a different EXITFUNC is necessary so that you can have a clean exit from the exploited box. There are 3 different values for EXITFUNC: THREAD: This method is used in most exploitation scenarios where the exploited process (e.g. IE) runs the shellcode in a sub-thread and exiting this thread results in a working application/system (clean exit) PROCESS: This method should be used with multi/handler. This method should also be used with any exploit where a master process restarts it on exit. SEH: This method should be used when there is a structured exception handler (SEH) that will restart the thread or process automatically when an error occurs. Might be useful when we wanted to generate a payload with MSFVENOM.

iOS - Convert .app to .ipa

While doing a iOS Security Testing, I wondered how do we convert .app into .ipa. So basically here are the structure of .ipa files. 1. First, SSH in your iPhone (Jailbroken). 2. Download the .app folder via scp  3. Copy the .app folder into a folder called Payload. 4. Compress it with .zip extension using any compression software. 5. Change the extension from file.zip to file.ipa. That’s it. Now you can use these .ipa files to install the app into your iPhone.