Write-up X-Factor (FCSC 2022)

Write-up of the X-Factor challenge of French Cybersecurity Challenge 2022. Official description You have been asked by a client to recover top secret data from a competing company. You have tried several approaches to find vulnerabilities on the exposed servers, which unfortunately proved unsuccessful: the company’s servers look solid and well protected. Physical intrusion into the premises seems complex given all the necessary access badges and surveillance cameras. One possibility lies in the remote access that the company’s employees have to their collaborative work portal: access to it is done via two authentication factors, a password as well as a physical token to plug into the USB with biometric fingerprint recognition....

Recover OwnCloud calendars

How to recover calendars from a OwnCloud database dump. I had to recover someone’s calendars from an OwnCloud SQL dump. I will detail the steps I went through in this post. Export CalDav calendar from SQL dump To explore a large SQL file, here my_database_dump.sql, it is easier to import it as a new database rather than exploring the text file. Here I am using PostgreSQL but it should also work with MySQL or MariaDB. 1 2 sudo -u postgres createdb owncloud_backup sudo -u postgres psql owncloud_backup < my_database_dump....

Create WiFiMaps using Grafana and Prometheus

This article details how to display Unifi access points metrics on a Grafana Worldmap. I have been working on deploying and setting up a new monitoring stack for Crans network organisation. We switched from Munin and Icinga2 to Prometheus paired with Grafana dashboards. Using Prometheus SNMP1 exporter, this new monitoring stack can collect metrics from all of our Unifi WiFi access point. This article describes a minimal setup that display Unifi metrics onto a Grafana Worldmap panel. What components will be used Unifi Controller: the official controller to provision and monitor Unifi access points, Prometheus: time-series database, Prometheus SNMP exporter: a Prometheus exporter collecting metrics from SNMP, Grafana: a tool to create dashboards to analyse Prometheus metrics....

Flappy Bird clone in VHDL

On the design of BlobbyFish, a Flappy Bird clone in VHDL. Blobbyfish was implemented for a VHDL academic course project in 8 hours. It is based on Flappy Bird but a little bit simplified for the purpose. This is a team project made with Otthorn. It was a great project to start coding in VHDL and explore all main concepts. Please note that this was implemented for the Digilent Basys 2 using Xilinx ISE. All the code is available there under the GPLv3 license: https://github....

Ubuntu 18.04 on Dell G3 3779

Let's analyse and replicate Dell OEM modifications made to Ubuntu on Dell G3 3779. This guide assumes you have a freshly-installed Ubuntu 18.04 installed on your Dell G3. Following the following steps will recreate the configuration that Dell ships on Ubuntu-preinstalled G3 laptops. WARNING: THESE STEPS ARE PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND. If you lose your data, brick your device, any other damage or anything else happens (e.g. your cat eats your dog), it is YOUR PROBLEM and YOUR RESPONSIBILITY. You have to make sure to get a recovery disk before making these changes....

Common board pinout references

A list of simplified board pinout schematics found online. Pinouts from BQ Boards Arduino UNO, source Arduino Mega, source Arduino Micro, source Arduino Leonardo, source Arduino MiniPro, source Arduino Nano, source BQ Zum, source AtTiny, source Peripherals Document describing multiple setups for peripherals on Arduino (source): Full document (without microcontrollers) LCD screen (Hitachi 44780 compatible), source RS232 connector, source SD Card, source

Write reports using Pandoc and LaTeX backend

Learn how to write a Makefile in order to generate professional looking documents from human-friendly Markdown sources. LaTeX is a great markup language to write documents such as scientific articles or lessons, but writing directly in LaTeX sometimes results in very complex documents with many packages and macros. 100% of the writing time isn’t focused on content as you have to format with the markup language. Pandoc is a powerful multi-format document converter, and it is able to convert Markdown1 to LaTeX. So Pandoc is capable of writing the LaTeX corresponding to what you wrote as Markdown saving your time....

Linux on Dell Chromebook 11

How to make any Linux >4.15 distribution run smoothly on Dell Chromebook 11 2015 (3120, Candy) A Linux distribution for Chromebooks based on XUbuntu exists, you can check out GalliumOS. But you might want more upstream distributions. Since Linux 4.15 (Ubuntu > 18.04), the hardware has been supported officially, but some stuff needs post-installation configuration. I have tested XUbuntu, Ubuntu, and KUbuntu and I end up using KUbuntu as my daily driver. The Intel OpenGL driver makes Plasma desktop far more fluid than Gnome Shell for some reasons....

Archos 50 Diamond debricking

Debricking of an Archos 50 Diamond (ac50da) using Fastboot. Initial step: How are we going to debrick? This guide works if Android doesn’t boot (or freeze), and no recovery is accessible. The global idea is: Flash TWRP via Fastboot, Reboot into TWRP and backup then do a cleanup of the device, Flash Firmware (screen, recovery…) update via TWRP, Reboot into the freshly flashed stock recovery, Flash the official update.zip taken from Archos Firmware Support to get back Android. You will need:...

BrushlessServo Arduino library

Documentation of my BrushlessServo Arduino library This library offers the possibility to use a Brushless 3-wire motor as a servomotor. It’s very convenient for making fast precision movements in many applications such as Gimbals. No need to buy or hack an existing ESC (Electronic Speed Control). Please note that this library operates with sensor-less brushless motors. So the motor may skip steps! Warning: When you prototype electronic circuits with high current and Brushless motors, things can go wrong and blue magic smoke can appear!...