Skip to content

Instantly share code, notes, and snippets.

View adulau's full-sized avatar
👨‍💻
Doing stuff

Alexandre Dulaunoy adulau

👨‍💻
Doing stuff
View GitHub Profile
@adulau
adulau / Certificate-notes.md
Created March 12, 2013 07:04
Notes regarding certificate

JAR

Verify the signature of a JAR file

jarsigner -verify -certs -verbose -h <YOURJARFILE>.jar

Dump certificate part of a certificate file from a JAR

@adulau
adulau / aive-data.md
Last active December 15, 2015 07:58
Notes about analyzing data from AIVE

AIVE Waste Analysis

Source

JP Florent gave me an XLS file containing the statistic of the waste collected from 2010, 2011 and 2012. The initial file is not really machine friendly as the spreadsheet is used for human reading. This is another important point with open data. Usually a lot of claimed to be "open data" is in an format that you cannot easily parse and need a lot of conversion to be understandable by a machine.

Conversion

@adulau
adulau / use-of-cve-search.md
Last active May 27, 2016 12:35
Use(s) of cve-search

https://github.com/adulau/cve-search

How to choose a CMS? (based on the CVSS?)

$ python search.py -p typo3 -o json  | jq -r '.cvss' | Rscript -e 'mean(as.numeric(read.table(file("stdin"))[,1]))'
[1] 6.161562

$ python search.py -p wordpress -o json  | jq -r '.cvss' | Rscript -e 'mean(as.numeric(read.table(file("stdin"))[,1]))'

[1] 5.622102

@adulau
adulau / password-card.py
Created June 12, 2013 07:33
Password card generator
#!/usr/bin/env python
#
# Initially based on sudoku-password card
#
# This software is in the public domain
#
# python password-card.py -c 100 -p 13 -n 10
#
# Alexandre Dulaunoy (a<AT>foo.be)
@adulau
adulau / Journalism.md
Last active September 21, 2021 19:25
A joint work between Quinn Norton and Alexandre Dulaunoy on how to interact with journalists.

A joint work between Quinn Norton and Alexandre Dulaunoy on how to interact with journalists. The presentation was given at OHM2013.

Talking to the media

You've reached out, or they've reached out to you. It could be everything from a formal request to PR to someone who sat down beside you in a bar. It could be a 30 second breaking news piece, or a book 10 years in the making. Knowing a little bit about the media can make the whole exchange more fruitful and useful not only for you and the journalist, but a public that hasn't had a lot of good information about our world.

Inform yourself

@adulau
adulau / HRNG.md
Last active December 30, 2015 21:19
Hardware Random Generator
@adulau
adulau / test-ntp.py
Created January 24, 2014 13:46
test-ntp.py - Test a set of IP addresses for active NTP services
#!/usr/bin/env python
#
# Requirements: ntplib (easy_install ntplib)
#
# How to use it using GNU parallel (to run in //):
#
# cut -f1 -d";" ntp-monlist-servers.csv | parallel "python test-ntp.py --ip {1}"
#
# Software is free software released under the "Modified BSD license"
#
dnstap-ldns
./configure libldns_CFLAGS="-I/usr/local/include" libldns_LIBS="-lldns"
fstrm_capture -t protobuf:dnstap.Dnstap -u /tmp/dnstap.sock -w - -ddddd | ..git/dnstap-ldns/dnstap-ldns -r -
@adulau
adulau / yaf-notes.MD
Last active March 18, 2020 15:15
yaf notes