Kernel development
Device tree
- DT Specification
- Device tree for dummies slide
- Device tree tools slide
- Device tree usage
- Device tree reference
- Device Tree as a stable ABI: a fairy tale?
import re | |
from pathlib import Path | |
import os | |
import sys | |
import requests | |
import logging | |
logging.basicConfig() |
r2 -V | |
2.2.0-252-g89c309a90 r2 | |
2.2.0-252-g89c309a90 r_anal | |
2.2.0-252-g89c309a90 r_lib | |
2.2.0-252-g89c309a90 r_egg | |
2.2.0-252-g89c309a90 r_asm | |
2.2.0-252-g89c309a90 r_bin | |
2.2.0-252-g89c309a90 r_cons | |
2.2.0-252-g89c309a90 r_flag | |
2.2.0-252-g89c309a90 r_core |
The 3d printer is a Prusa i3, a RepRap type printer with a Marlin firmware.
Using the ICSP
programmer I obtain an error at 49%
$ avrdude -c buspirate -p m2560 -P /dev/ttyUSB0 -F
Attempting to initiate BusPirate binary mode...
avrdude: Paged flash write enabled.
avrdude: AVR device initialized and ready to accept instructions
/* | |
* POC for XSS vulnerability | |
* | |
* Simply parse the change form for the admin user and change the email. | |
* The attacker needs, after this has run successful, to reset the password using | |
* the email indicated in the script. | |
*/ | |
url = '/auth/user/1/change/' | |
url_reset_passwd = '/password_change/' | |
evil_email = 'dummy@example.com' |
\parindent=0pt | |
L'esercizio parla di due sezioni di $50L$ ciascuna separate tra loro | |
da una parete isolante. Nel seguito servir\`a conoscere il numero di moli | |
di gas contenute nelle differenti sezioni: le condizioni iniziali pari | |
ad $1$atm a $0$C fanno si che ci sia una mole ogni $22.4$ litri; da | |
ci\`o \`e facile calcolare il numero di moli come | |
$$ | |
n = {50\hbox{L}\over22.4\hbox{L/mol}}=2.23\hbox{mol} | |
$$ | |
siccome la parete non \`e permeabile, il numero di moli per sezione rimane |