Skip to content

Instantly share code, notes, and snippets.


  • Bishop Fox
Block or report user

Report or block sh1n0b1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Backdoor all users in AWS account
#!/usr/bin/env python
from __future__ import print_function
import boto3
from botocore.exceptions import ClientError
import json
def main(args):
EtienneR / user.js
Created Jan 7, 2016
View user.js
// Get all users
var url = "http://localhost:8080/api/v1/users";
var xhr = new XMLHttpRequest()'GET', url, true)
xhr.onload = function () {
var users = JSON.parse(xhr.responseText);
if (xhr.readyState == 4 && xhr.status == "200") {
} else {
lokulin /
Created Sep 10, 2015
Convert the x509 certificate to certificate.p12 that Plex requires.
import sys
import hashlib
from OpenSSL.crypto import *
def main():
if(len(sys.argv) != 4):
print sys.argv[0] + " /path/to/ssl.crt /path/to/ssl.key ProcessedMachineIdentifier"
rodrigok /
Last active Mar 8, 2017
Install Rocket.Chat in Ubuntu as Production Mode
View SetPalette.c
#ifndef WIN32_NO_STATUS
# define WIN32_NO_STATUS
#include <windows.h>
#include <assert.h>
#include <stdio.h>
#include <winerror.h>
#include <winternl.h>
#include <stddef.h>
#include <winnt.h>
grutz / cmiyc-chall9-pfx-crack.txt
Last active Dec 20, 2015
CMIYC 2013: Challenge 9 PFX Cracking
View cmiyc-chall9-pfx-crack.txt
grutz@beelzebubba:loop$ backup$ openssl pkcs12 -in backup/mabel.pfx
Enter Import Password:
Mac verify error: invalid password?
grutz@beelzebubba:loop$ /opt/pw-crackers/jtr/JohnTheRipper/run/pfx2john backup/mabel.pfx
ghoulmann /
Created Nov 1, 2012
Haste-Server Install Script for Raspian
#!/bin/bash -ex
#Check for root
LUID=$(id -u)
if [[ $LUID -ne 0 ]]; then
echo "$0 must be run as root"
exit 1
richieforeman /
Created Jul 23, 2012
Issue Your Own Self-Signed S/MIME Certs with OpenSSL
# Run this once
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
millsy / p12.php
Created Mar 29, 2012
php asymmetric encryption/decryption using p12 file
View p12.php
$p12cert = array();
$file = '';
$c = file_get_contents($file);
if (openssl_pkcs12_read($c, $p12cert, '1234567890') )
$pkey = $p12cert['pkey']; //private key
bitboxer /
Created May 8, 2011
create a sparsebundle for mac os backups
# A bash script to create a time machine disk image suitable for
# backups with OS X 10.6 (Snow Leopard)
# This script probably only works for me, so try it at your own peril!
# Use, distribute, and modify as you see fit but leave this header intact.
# (R) sunkid - September 5, 2009
# This will create a time machine ready disk image named with your
# computer's name with a maximum size of 600GB and copy it to
# /Volumes/backup. The image "file" (it's a directory, really) will
You can’t perform that action at this time.