Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
code for food

Gianluca Pacchiella gipi

😎
code for food
View GitHub Profile
@gipi
gipi / pec.py
Last active Jul 18, 2019
Crea dei CSV con l'elenco degli indirizzi PEC dei vari comuni italiani. Dalla pagina principale recupera l'URL delle singole regioni da cui crea il corrispondente CSV.
View pec.py
import re
from pathlib import Path
import os
import sys
import requests
import logging
logging.basicConfig()
View gist:31422d145b41023b9a3307bec2dde9c6
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
@gipi
gipi / README.md
Last active Jul 13, 2017
#3d printing #anetA8
View README.md

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
@gipi
gipi / poc.js
Created Feb 15, 2017
#poc #django #js #vulnerability
View poc.js
/*
* 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'
@gipi
gipi / README.md
Last active Jun 13, 2017
#ChipWhisperer
View README.md

ChipWhisperer

Wiki | Forum | GIT

Installing ChipWhisperer software

These are the dependencies on a Debian system

View exercise.tex
\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
View README.md

Golang

In order to install stuffs you can use

$ go get -v github.com/opencontainers/runc/libcontainer

(the -v flag is needed to make the command show output).

You can’t perform that action at this time.