• 01
      Mar - 2018

      Travel Photoset, Web designs
      1 min | 126

      #Photo Gallery: Bangkok

      Travel Photoset, Web designs | 1 min | 126


      bangkok
      holidays
      thailand
      travel photoset

      As I promised some photos of Bangkok (Thailand). Enjoy!

      This article is outdated! I am not using Pagekit anymore. Then, I am trying to port the gallery to OctoberCMS.
    • 25
      Feb - 2018

      Real Time Systems
      5 min | 2623

      #Raspberry Pi: Preempt-RT vs. Standard Kernel 4.14.y

      Real Time Systems | 5 min | 2623


      kernel patching
      latency
      performance
      preempt-rt kernel
      raspberry pi
      standard kernel

      The last week I was working on a real-time application (with a 1 ms sample time) that runs on an ARMv8 Cortex-A53 (Raspberry Pi 3 Model B based board) and I was wondering the differences between latencies on the standard and the Real-Time (RT) Linux kernel. I had some problems with the standard kernel version, then I thought I could analyze the latencies of both kernels, and make some conclusions. Many test are available but with older kernel versions. The tests were performed using the Raspbian Kernel 4.14.21 and the Preempt-RT Patch 4.14.21-rt17!

      Hardware & Software

      To follow the DIY parts, ...

    • 25
      Feb - 2018

      Real Time Systems
      6 min | 9173

      #Raspberry Pi: Preempt-RT Patching Tutorial for Kernel 4.14.y

      Real Time Systems | 6 min | 9173


      kernel patching
      preempt-rt
      raspberry pi
      raspbian
      standard kernel

      There are a lot of tutorials for Raspberry Pi kernel patching using Preempt-RT, but I needed about 15 hours to get it working! I hate Kernel patching! and I have to say, that's not my first time. I have a system working with Ubuntu, RTAI and an Ethercat master. I patched the system more than once. But it is/was always a new thing! and It costs a lot of time! ;)

      Then, you have another tutorial here. I only hope that the repo gets official. It could reduce the time to get the RT ...

    • 18
      Feb - 2018

      Travel Photoset, Web designs
      1 min | 108

      #Photo Gallery: Melbourne

      Travel Photoset, Web designs | 1 min | 108


      australia
      melbourne
      photo gallery
      travel photoset
      This article is outdated! I am not using Pagekit anymore. Then, I am trying to port the gallery to OctoberCMS.

      As I promised some photos of Melbourne (Australia). Bangkok photos are coming this week.

      I don't know if you noticed, but I added two new repositories to GitHub:


      Both repositories are extensions for PageKit. The first one allows you to add Google Adsense ads to the posts. The second one extends the PageKit blog plugin to add categories and tags to the blog posts. I was/am quite busy these weeks, but I am writing the README files. I need to check the...

    • 27
      Dec - 2017

      MicroPython
      4 min | 242

      #Micropython: Merry Xmas & Happy New Year!

      MicroPython | 4 min | 242


      esp32
      happy new year
      lights
      merry Christmas
      micropython
      video
      xmas

      It has been a while since my last post! Sorry, I was a little bit busy and then I was on a business trip in Melbourne for the CDC2017 and then I had a week holiday in Bangkok. I will be posting some photos on the next days!

      It's been a year now since I started this blog. It's a hard job to maintain it up-to-date but I still have fun writing and coding for this purpose! So let us start!


      Intro

      The first video that I published a year ago was using the Wipy2.0 and a WS2812b led strip for some Christmas lights (click here). Now, this time I bought a WS2812b panel (100 bits or 10x10 pixels -or le...

    • 01
      Dec - 2017

      Android Things
      1 min | 66

      #ProjectDIVA: Android Things DP6.0 is here!

      Android Things | 1 min | 66


      android studio
      android things
      raspberry pi
      sensor mesh
      sensors

      I will be testing the new release on this weekend!

      The release notes seem promising!

      I have also some new things with Docker and Raspberry Pi!

      Stay tuned!


    • 12
      Nov - 2017

      Hacking, MicroPython
      5 min | 1623

      #Hacking: Wemos (ESP32) & Captive Portal using MicroPython

      Hacking, MicroPython | 5 min | 1623


      captive portal system
      dns
      esp32
      hacking
      micropython

      At the beginning of October I wrote a blog article called White Hacking: WeMos and SquirelCrawl!. I used the WeMos (ESP32) and the firmware provided by Hacker Arsenal to do a captive portal. As you known, a captive portal is a web page which is displayed to newly connected users before they are granted broader access to network resources [wiki]. This can be used in combination with evil portals to obtain login credentials. The firmware provided by Hacker Arsenal has multiple limitations, e.g. the web page has to be a single file, without external files, meaning that all images should be integr...

    • 02
      Nov - 2017

      Security
      2 min | 157

      #Security: Phishing with Macros once again!

      Security | 2 min | 157


      hybrid analysis
      macro virus
      office
      phishing
      virustotal

      And once again! Word files with Macro! But this time, I was the first one to report it to VirusTotal and Hybrid-Analysis! :)

      Virus Macro!
      Fig 1: VirusTotal report! Just only two: Fortinet sells hardware, and Qihoo-360 is in China (:S)...

      Here you have the e-mail. The sender is this time the "BOSS Last Name" (A nice improvement! :P) without address, or something like that!

      Guten Tag, Riva, Mauro 
      
      Bitte die gekennzeichneten Stellen ergänzen und unterschreiben, bitte mit Stempel außer das SEPA Formular. Für die Abbuchung. 
      
      http://docs.google.de/download/de_DE/doc/ -> with hyperlink (http://elp...
    • 01
      Nov - 2017

      MicroPython
      5 min | 431

      #MicroPython & #WiPy 2.0/3.0: Geolocation using WLAN

      MicroPython | 5 min | 431


      esp32
      geolocation
      google apis
      micropython
      wifi
      wipy

      I was surfing the services that Google offers, I found the Geolocation API. As Google describes the API: it returns a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect. As I was writing the last post using MicroPython, I thought the WiPy 2.0/3.0 could be a nice "mobile client".

      To use the API you need to get an API key from Google. As a standard user of the API, you get:

      • 2,500 free requests per day, and
      • 50 requests per second, per user.

      I thought I could play with it to test the accuracy of the geolocation.

      Python Code: ...
    • 28
      Oct - 2017

      MicroPython
      7 min | 2811

      #MicroPython: WeMos (ESP32) and Amazon Echo (Alexa) - Switching LED Colors!

      MicroPython | 7 min | 2811


      amazon echo
      belkin
      esp32
      home automation
      micropython
      wemos
      ws2812b leds

      I don’t have any Belkin WeMo system or Philips Hue light bulbs. However, I have two ESP32 running MicroPython (see my last article), and a W2812b LED strip, and I thought I should be able to say, "Echo/Alexa, turn on the kitchen light" or "Echo/Alexa, turn on the blue light" and It should work with this setup.

      And... it works as you can see in this video!

      If you are interesting in only using the code, then click here. Otherwise, you can read the complete story... ;)

      Python Code: https://github.com/lemariva/uPyEcho

      If you’re not up to speed with MicroPython, Wipy see earlier articles in...

    • 28
      Oct - 2017

      MicroPython
      5 min | 5452

      #Tutorial: Getting started with MicroPython

      MicroPython | 5 min | 5452


      atom.io
      esp32
      micropython
      tutorial
      visual studio code
      wemos
      wipy

      Another quick tutorial, this time for MicroPython on ESP32/ESP8266. You can find all the information that I'm writing in this post in different articles on the Internet but I've not found anything that summarizes all the topics. That is why I am writting this post. I included some links at the end of each topic to extend the info. Feel free to visit them if you want more info, or write a comment I will try to respond it.

      Python Code: https://github.com/lemariva/ESP32-MicroPython

      MicroPython & Board

      What's MicroPython?

      Quoting the official micropython page results in the following

      MicroP...

    • 05
      Oct - 2017

      Hacking
      3 min | 630

      #White Hacking: WeMos and SquirelCrawl! (update 17.10.2017)

      Hacking | 3 min | 630


      captive portal
      getting credentials
      hacking
      MITM
      python
      squirelcrawl
      webpage compressor

      I was surfing the web for new hacking software and hardware tools and I found the Hacker Arsenal website. This website offers "ARTILLERY FOR CYBER WARRIORS" as they said; it is basically hardware and firmware for pentester. In summary, they have actually three products especially for Wi-Fi Sniffing.

      Python Code: https://goo.gl/YuT5qm

      I found the Winx-Portable (update 17.10.2017: they are not offering this product anymore, they are offering the WiNX) on the website and I thought I have something like that. I look for the boards that I've recently bought, and I find the WeMos WiFi ESP32 D...

    • 04
      Oct - 2017

      Android Things
      1 min | 55

      #ProjectDIVA: nRF24Things working on Android Things DP5.1

      Android Things | 1 min | 55


      I've updated the code of the nRF24Things application. The application is now working on Android Things DP5.1. There is a Bug on DP5.1 related to the SPI units. You can read more on my last post here.

      I've tried to update the SensorTag-Things application but I didn't work. DP5.1 has still problems with Bluetooth. Due to the crash by debugging, I found and reported another bug to Google. Read here.


    • 03
      Oct - 2017

      Android Things
      5 min | 613

      #Tutorial: Getting started with Android Things

      Android Things | 5 min | 613


      As the title says, this is a getting started with Android Things. It should be my first post, but, it's better now than never. I'm posting this to summarize the steps to install Android Things on your Raspberry Pi.

      Google announced Android Things on December of 2016. It's a modified version of the Android that we all know, but for Internet of Things (IoT) devices. The architecture of the SDK is described in the following figure:

      Android Things Architecture
      Fig.: Android Things SDK...
    • 24
      Aug - 2017

      Security
      2 min | 213

      #Security: Phishing with Macros! (updated)

      Security | 2 min | 213


      Hi!

      Yesterday I received an email from an address that should look like my boss email address. It was something like this: "Boss.Name@our-institute.uni-hannover.de nancy@hillstar.brcoxmail.com" with the subject: Rech QK - 163-DA7666 Riva, Mauro and a text saying:

      Guten Tag, Riva, Mauro
      
      Als Anhang erhalten Sie Ihre Rechnung. (something like "You receive your invoice as an attachment.")
      
      Rech:
      http://blackbox-es.com/Rechnung-26375407950/ (don't click this link --> read all the post!!!)
      
      Herzliche Grüße (Grüße: Grüße)
      
      boss.name@our-institute.uni-hannover.de
      

      As you see, there is a link to t...