Skip to content

Instantly share code, notes, and snippets.

Avatar
🔐
...

Aaron Zauner azet

🔐
...
View GitHub Profile
View tag-version
#!/usr/bin/env bash
set -e
if [ ! -f debian/changelog ]; then
echo "E: debian/changelog not found, aborting." >&2
exit 1
fi
if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
echo "This is a simple wrapper script; all arguments are passed on to git dch."
echo "Use git dch --help for help."
View crime.py
# This is supposedly what CRIME by Juliano Rizzo and Thai Duong will do
# Algorithm by Thomas Pornin, coding by xorninja, improved by @kkotowicz
# http://security.blogoverflow.com/2012/09/how-can-you-protect-yourself-from-crime-beasts-successor/
import string
import zlib
import sys
import random
charset = string.letters + string.digits + "%/+="
View gist:5682571
#!/usr/bin/env ruby
require "openssl"
require 'digest/sha2'
require 'base64'
# We use the AES 256 bit counter mode symetric encryption
alg = "AES-256-CTR"
# We want a 256 bit key symetric key based on some passphrase
digest = Digest::SHA256.new
View gist:4604450
## SLES 11 SP2
Python version: ['2.6.8 (unknown, May 29 2012, 22:30:44) ', '[GCC 4.3.4 [gcc-4_3-branch revision 152973]]']
dist: ('SuSE', '11', 'x86_64')
linux_distrubution: ('SUSE Linux Enterprise Server ', '11', 'x86_64')
system: Linux
machine: x86_64
platform: Linux-3.0.38-0.5-default-x86_64-with-SuSE-11-x86_64
uname: ('Linux', 'service1', '3.0.38-0.5-default', '#1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e)', 'x86_64', 'x86_64')
version: #1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e)
mac_ver: ('', ('', '', ''), '')
@azet
azet / fuddan.php
Created Jan 30, 2012 — forked from besn/fuddan.php
zufalls essen würfel dings
View fuddan.php
<?php
/*
* ----------------------------------------------------------------------------
* "THE BEER/COFFEE-WARE LICENSE" (Revision 42):
* <besn@besn.at> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer or a coffee in return. Andi Mery
* ----------------------------------------------------------------------------
*/
You can’t perform that action at this time.