Showing posts from February, 2017

How to capture Android traffic throught Wireshark

An option is connect wireshark from your pc to your android throught ssh.
You can use sshdroid to enable ssh on your Android.
On your computer use the following commands:

mkfifo /tmp/remote
wireshark -k -i /tmp/remote &
ssh root@android_ip "tcpdump -s 0 -U -n -w - not port 22" > /tmp/remote

Now you could see you Android traffic
Enjoy it!

How to record IP camera video throught RTSP

Some IP webcams requires Quicktime to show the image throught the browser.
To get the full URI with the video source, you can get it from a virtual machine with windows throught wireshark like this:


To reproduce it with vlc, use this command:

vlc "rtsp://"

Probably you should see the first frame as static frame and the following error:

Failed to open VDPAU backend cannot open shared object file: No such file or directory
avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

You can install libvdpau-va-gl1 dependencie, but the problem persists.
If you prefer to use vlc (if you compile it with hw acceleration), you can enable the option --avcodec-hw vdpau

If you don't have vlc with hw acceleration enabled, you can use mvp. To install it, follow these steps:

sudo …

How to configure a Raspberry 3 with a MagicBulb

First, we need to download the official rapsberry image (raspbian Pixel version):


Now, we need mount the image in a microSD. You can use etcher to automatize the entire proccess:

unzip -e

Before placing the microSD in the raspberry, you need enable ssh service. To do this, just create a file called ssh in the boot partition.

cd /media/PI_BOOT
touch ssh

where PI_BOOT is the boot raspberry partition.
Use pi as user and raspberry as password to access it throught ssh.
Now, we need to install dependencies for magicblue:

sudo apt-get install libglib2.0-dev libbluetooth-dev
git clone
cd bluepy
sudo python install 
cd ..
sudo pip3 install setuptools bluepy webco…