CCCPaste

Create a Broken Live CD ISO

#!/bin/sh

mkdir -p mylive/iso/isolinux
cd mylive/iso/isolinux

Working with Firmware BIN files - wifi pineapple example

wget "http://wifipineapple.com/index.php?downloads&downloadUpgrade=2.8.0" -O upgrade.bin

binwalk upgrade.bin

example output:

Available hashes

echo '<pre>';
print_r(hash_algos());

/* Output
Array

SEN Enabler v5.2.2 [For translation only]

// English
// -------

char *LV1_DISABLED_EN = "LV1 peek/poke disabled, unable to patch MAC";
char *NO_MAC_TXT_EN = "Unable to find MAC.txt file";

SEN Enabler v5.2.2 [For translation only]

// English
// -------

char *LV1_DISABLED_EN = "LV1 peek/poke disabled, unable to patch MAC";
char *NO_MAC_TXT_EN = "Unable to find MAC.txt file";

servers

<Files .htaccess>
order allow,deny
deny from all
</Files>

Setup Wifi Hotstop with hostapd - Wireless Linux

#!/bin/bash
aptitude install hostapd udhcpd -y

cat << EOF >/etc/udhcpd.conf
start 192.168.42.2 # This is the range of IPs that the hostspot will give to client devices.

Multi Architecture Chroot - Debian ARM and x86 Debootstrap

#!/bin/bash
#https://wiki.debian.org/EmDebian/CrossDebootstrap#QEMU.2Fdebootstrap_approach
dir="debian_armel_jessy"
ver="jessy"

Historical surveys on German "Sonntagsfrage"

if(!require(datamart)) install.packages("datamart")

allensbach <- function(resource="sonntagsfrage") urldata3(
resource=resource,
template="http://www.ifd-allensbach.de/studien-und-berichte/sonntagsfrage/gesamt.html",

Basic GTK video player

#!/usr/bin/env python

import sys, os
import pygtk, gtk, gobject
import pygst