Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View bored-engineer's full-sized avatar

Luke Young bored-engineer

View GitHub Profile
@bored-engineer
bored-engineer / id_rsa
Created December 11, 2016 08:25
PWN ME
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe4eCZ0FPqri0cb2JZfXJ/DgYSF6vUp
wmJG8wVQZKjeGcjDOL5UlsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5
1s1SPrCBkedbNf0Tp0GbMJDyR4e9T04ZZwIDAQABAoGAFijko56+qGyN8M0RVyaRAXz++xTqHBLh
3tx4VgMtrQ+WEgCjhoTwo23KMBAuJGSYnRmoBZM3lMfTKevIkAidPExvYCdm5dYq3XToLkkLv5L2
pIIVOFMDG+KESnAFV7l2c+cnzRMW0+b6f8mR1CJzZuxVLL6Q02fvLi55/mbSYxECQQDeAw6fiIQX
GukBI4eMZZt4nscy2o12KyYner3VpoeE+Np2q+Z3pvAMd/aNzQ/W9WaI+NRfcxUJrmfPwIGm63il
AkEAxCL5HQb2bQr4ByorcMWm/hEP2MZzROV73yF41hPsRC9m66KrheO9HPTJuo3/9s5p+sqGxOlF
L0NDt4SkosjgGwJAFklyR1uZ/wPJjj611cdBcztlPdqoxssQGnh85BzCj/u3WqBpE2vjvyyvyI5k
X6zk7S0ljKtt2jny2+00VsBerQJBAJGC1Mg5Oydo5NwD6BiROrPxGo2bpTbu/fhrT8ebHkTz2epl
@bored-engineer
bored-engineer / test.key
Created September 2, 2016 20:31
Not my actual key
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.2.3 (OS/2)
lQHWBD3X7JABBADfDcT9WgUZsAXC2jaLXbVRbkI/vmZWqFT1bBTicnHEOf0EZRKl
o2eIJWf0UIMvBC840efecOGKEmtubHyyas5aSDThQZM8PyCKRrJhGX02UHwCvNRi
XzAD1wteFyGtkVYmlHTR84fjyk9V1BlsZLNTZdTbKQ//Yuxww1qPTrlqNwAGKQAD
/2ddy62aG1bUsX/CyBse8B9+BbmjKS5m+6ntZ1Y1CQOFBNySvbbn0lHS5T9Eh7gh
KJ10AU4bVclZtOg+wyb5TORKNJ6ywjvj+DDMFekoWlfMwhw+utZVEpbJkK7vJNQg
jGBX0+L2uEbv/Z5wFpucoLxNX5fg+nDUxzP+d3VXAlLJAgDrZOc2usLMfMXNh+p0
5xfSAa8QmpumEM/1ARyV12BLhf0/nuVIZPkK9mfTdO5xk/OC35FhJLqQzHSoyNeW
@bored-engineer
bored-engineer / te2st.md
Created August 23, 2016 03:55
Hello World

Hello Worlddsf

@bored-engineer
bored-engineer / bugcrowd.py
Created February 3, 2016 18:58
Parse bugcrowd submissions to a csv
import requests
import sys
import json
from bs4 import BeautifulSoup
# Create a session
s = requests.Session()
# Establish a session
sys.stderr.write("Getting authenticity_token...\n")
@bored-engineer
bored-engineer / getSongs.js
Created September 17, 2014 19:13
Grabs the list of all thumbed up songs on Pandora.
var results = {};
var stations = prompt("Stations:", "").split(",");
function requestThumbs(i, index) {
var id = stations[i];
if (!id) { console.log(results); return; }
console.log(id, index);
$.get(
"http://www.pandora.com/content/station_track_thumbs?stationId=" + id + "&page=true&posFeedbackStartIndex=" + index + "&posSortAsc=false&posSortBy=date&cachebuster%3A=" + new Date().getTime(),
function(data) {
var page = $("<div>" + data + "</div>");
@bored-engineer
bored-engineer / 0-url.txt
Last active December 24, 2015 19:29
Method auth.partnerLogin
/services/json/?method=auth.partnerLogin
"+alert(1)+"
@bored-engineer
bored-engineer / getQuote.js
Last active December 23, 2015 01:59
Pick a random quote relating to programming, and send to stdout.
// Create array of possible quotes
var quotes = [
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. — C.A.R. Hoare, The 1980 ACM Turing Award Lecture"
];
// Get a random quote index
var i = Math.floor(Math.random()*quotes.length);
// Print a random quote
console.log(quotes[i]);
@bored-engineer
bored-engineer / getCountries.js
Created September 8, 2013 18:13
Download the different country codes from the app store.
// Load deps
var request = require("request");
var jsdom = require("jsdom");
// Request the country change page
request({
url: "https://itunes.apple.com/WebObjects/MZStore.woa/wa/countrySelectorPage",
headers: {
"User-Agent": "iTunes/11.0.0 node-appstore"
}
mask_in = open('masked_key.png','rb')
key = bytearray(mask_in.read(983040-64))
mask= bytearray(mask_in.read(64))
for x in range(983040-64):
key[x] ^= mask[x%64]
key_out = open('unmasked_key.png','wb')
key_out.write(key)
key_out.close()