Buffer overflow on ARM architecture

Prerequisites A RaspberryPi and a distro. For this tutorial, I had an up-to-date Raspbian Stretch Lite with LXDE. GCC and GDB. ARM registers and stack TODO An example of buffer overflow Initial state We have a binary without its source code but compiled with debug information. We know how to use it: ./prog2 PASS where PASS is a 4-character string. We would like to know if there’s interesting stuff or even dead code in it.

Comment faire des PCB avec des produits basiques

Update 03/2018 : autre technique dans le labo d’Heliox (propre aussi !) https://www.youtube.com/watch?v=8joLK039fjk De bas en haut : méthode de l’imprimante laser mais trop chauffé méthode de l’imprimante laser mais mal décollé méthode de l’imprimante laser repassé au marqueur indélébile (meilleur résultat pour application “industrielle”) masque réalisé au typex, pas terrible car le blanco se décolle pendant le bain d’acide. Je testerai avec du verni à ongle pour voir… masque réalisé au marqueur indélébile Méthode de l’imprimante laser : on imprime sur du papier le typon qu’on souhaite réaliser.

Image processing

Convert an SVG to PNG in commande line using Inkscape (on Windows) Change export-height if you want a bigger image: 1 2 3 4 5 6 7 8 9 10 11 @echo off for %%f in (%*) do ( echo %%~f "C:\Program Files\Inkscape\inkscape.exe" ^ -z ^ --export-background-opacity=0 ^ --export-height=48 ^ --export-png="%%~dpnf.png" ^ --file="%%~f" ) Resize an image with Inkscape 1 for %%f in (*.png) do convert.exe %%f -resize 384x384 -background black -gravity center -extent 384x384 %%f Convert a Dia diagram in EPS then PDF 1 2 3 4 5 6 7 #!

Installing a Xilinx FPGA environment for an Ubuntu-based machine

Installing Vivado Vivado Design Suite - HLx Editions - 2019.2 for the latest version: https://www.xilinx.com/support/download.html Tutorial available here: : https://www.dropbox.com/s/sgxhb08tcwuj9ko/Download_%26_Install_VIVADO_On_Ubuntu_July_3.pdf?dl=0 On recent Ubuntu versions, please install libtinfo and libncurses or you may get stuck in the final setup step: https://support.xilinx.com/s/question/0D52E00006iHjbcSAC/vivado-20211-installation-hangs-at-generating-installed-device-list?language=en_US License Infos available in another note. However, some families don’t need a license file 😉 Pre-configuration Before executing Vivado, a few things to be aware of: Add this line in your $HOME/.

Installing Lattice iCEcube2 FPGA tools on Ubuntu

Lattice iCEcube2 has not been updated for a while… Installing an old libpng package 1 2 wget http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_i386.deb sudo dpkg -i libpng12-0_1.2.54-1ubuntu1.1_i386.deb Going through the interface issue Lattice iCEcube2 license takes into account the MAC address of the computer. In order to work, the interface must be labeled as eth0 as stated on the TinyFPGA forum (don’t ask me why…) 1 2 $ sudo ip link add eth0 type dummy $ sudo ip link set eth0 address 10:65:30:ee:48:9a Now, iCEcube2 should work!