Posts

To access to any android application, you can use apk-dl.com to get the apk file and install it without google play.
In my case I have a CYX_809III_RK3188, is a HDMI Stick for your TV and runs Android 4.4.2
If you try install on it the last Netflix version, you will see this message:

There is a problem parsing the package
To avoid it, you need to found a Netflix version compatible with your device.
I used http://www.apkmirror.com/apk/netflix-inc/netflix/ to search every versions of Netflix.
In my case, the last version that works on my device is Netflix 3.11
Enjoy it!

The bluetooth stereo headset on Ubuntu has been in trouble for some time.
To solve it, I have read different techniques but in several you have to edit and configure files.
I found a quick and easy way to connect and enable the a2dp function (stereo) on your headset with just execute one file.

Just execute it with python3 and select your mac address device that you want to connect.
If you use pavucontrol, you can see on configuration tab, that your device appears with a High Fidelity Playback (A2DP Sink) profile.
Enjoy it!

As every aplications, you can create a .desktop file to run it from your Desktop.
If you copy this .desktop file in ~/.local/share/applications, you can see it in Unity, but when you run Pycharm the icon that appears doesn't load.

To create an icon here, just open Pycharm and create it clicking on Tools > Create Desktop Entry...

If you prefer to use mininet console instead python API, maybe you will need automate the process to run batch commands.
With source command you can load a file with all commands to execute inside mininet, like this:

If you have a topology like a mesh or any other with redundant links, you must use Spanning tree protocol (STP) to avoid a while.
To run STP, you can use a controller app or setup your virtual switches to be compatible with STP.

To run as controller:

Run a STP controller app. In my case I use Ryu:ryu-manager --ofp-tcp-listen-port=6633 ryu.app.simple_switch_stp_13

To run as virtual switch (OVSSwitch):

You can modify your switch from your terminal (outside mininet) as follows:

ovs-vsctl set bridge s1 stp-enable=true

You can use the same sentence inside a python script like follows:

s1.cmd('ovs-vsctl set bridge s1 stp-enable=true')
Now, to avoid execute ping before STP is ready, you need to see the status port of your switch. You can use the following code to insert in your python script.

... in __init__ self.config_file, self.logname)TypeError: 'NoneType' object is not iterable

To see the specific conflictive line in your config file (faucet.yaml), you need to check out the faucet log:

$ cat /var/log/ryu/faucet/faucet.logfaucet.config ERROR Error in file /etc/ryu/faucet/faucet.yaml (while scanning for the next tokenfound character '\t' that cannot start any token in "/etc/ryu/faucet/faucet.yaml", line 15, column 1)
As you can see, yaml files can't use tabulation to ident the content. Replace tabs by spaces.
Don't forget delete empty lines at the end of file.

A common issue in Chrome (I don't know if it happends on Firefox or other browser), is that Aliexpress cookies has problems when you want to access to your account.

When you press Access now, the page reloads, but the identification section doesn't shows your name.
To fix it, a solution is clear all cookies, but you can delete only ali* cookies as follows:
Go to chrome://settings/

Filter by ali and click on Remove all shown.
Now you can login again without problems
Enjoy it!

This camera has telnet, but I could never find the password.
If you try the bug, yo can replace telnet by a bash terminal, using and exploit in C or throught the webpage:

Now, when you try access to your camera throught telnet, you will have root access.

Cámara Wifi IP P2P permite acceso a telnet sin password gracias a vulnerabilidad en configuración FTP. https://t.co/M7zYcDo3gVpic.twitter.com/h52GLszRTH
— Nicolás Boettcher (@nicoboettcher) March 9, 2017
Also, if you exploit this vulnerability in a random camera, you could know where is it in the world, just with the wireless information.

With this information, you can search it in Wigle databases to get the latitude and longitude.
PyGLE is a wrapper for the WiGLE WiFi mapping API (https://github.com/jamiebull1/…

In other post, I installer contiki 3.x on xm1000.
Now, we going to install contiki 3.0 (the lastest version).
First, you need to dowload the lastest code from github:

git clone https://github.com/contiki-os/contiki.git

Now we need to add xm1000 compatibility to our contiki.
Thanks to DMI for the xm1000 patch. Without it, you will see the following error:make: *** No rule to make target 'obj_xm1000/cc2420.o', needed by 'contiki-xm1000.a'. Stop.

In my post about how to configure mininet-ryu-faucet-gauge-influxdb I used faucet in a remote machine (as virtual machine).
Now, I going to explain how to install and configure it in localhost.
First, download it form github: