Skip to content

Instantly share code, notes, and snippets.

View kylemanna's full-sized avatar

Kyle Manna kylemanna

View GitHub Profile
<select class="ipbf-select" id="QIAIDSELECT_6421" name="QIAIDSELECT_6421">
<option value="-1" selected=""></option>
<option value="19746">23andMe</option>
<option value="19747">A9.com</option>
<option value="19748">Adobe</option>
<option value="19754">Amazon.com</option>
<option value="19749">Ancestry.com</option>
<option value="19750">Badgeville</option>
<option value="19751">Big Switch Networks</option>
<option value="19752">Box</option>
#!/usr/bin/env python2
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org)
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select
@kylemanna
kylemanna / json_cmd.sh
Created May 5, 2014 22:49
Shell functions to wrap cmdline utility output with JSON
#
# Shell functions to wrap cmdline utility output with JSON
#
# Useful for running shell commands and then extracting output with logstash
#
json_kv_pair()
{
K="$1" # key
V="$2" # value
Q="$3" # quote
@kylemanna
kylemanna / iw.phy0.info.sh
Created May 7, 2014 16:18
Ath9k Config Info
# iw phy0 info | ui_copy
Wiphy phy0
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Device supports T-DLS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)

Strange quotes I found on my adventures.

@kylemanna
kylemanna / keybase.md
Created June 16, 2014 20:01
Free advertising by force...

Keybase proof

I hereby claim:

  • I am kylemanna on github.
  • I am manna (https://keybase.io/manna) on keybase.
  • I have a public key whose fingerprint is 4517 8BD1 CE14 B9C2 FD9D 1F77 BD7B DC6C 5FE8 6F8B

To claim this, I am signing this object:

@kylemanna
kylemanna / btrfs.repair.fail.txt
Created June 17, 2014 06:50
Btrfs Crash on Arch + 3.14 kernel. :(
checksum verify failed on 27153637376 found 98F684C9 wanted E0352445
checksum verify failed on 27153637376 found 98F684C9 wanted E0352445
checksum verify failed on 27153637376 found 98F684C9 wanted E0352445
checksum verify failed on 27153637376 found 98F684C9 wanted E0352445
Csum didn't match
Couldn't setup extent tree
Critical roots corrupted, unable to fsck the FS
enabling repair mode
Checking filesystem on /dev/sda4
UUID: 5c652e56-5d95-4a6b-881b-35146ee82226
@kylemanna
kylemanna / keybase.pkgbuild
Last active August 29, 2015 14:02
Keybase PKGBUILD
# Maintainer: Michael Hansen <zrax0111 gmail com>
pkgname=keybase
pkgdesc='CLI tool for GPG with keybase.io'
pkgver=0.4.8
pkgrel=1
arch=('any')
url='http://keybase.io/'
license=('BSD')
makedepends=()
#!/bin/bash
# https://www.debuggex.com/r/Hutq6OGOTwM8Qevp
#
#!/bin/sh
a() {
tmp=${1##*://}
proto=${1//:*/}
cn=${tmp%:*}
port=${1##*:}