Skip to content

Instantly share code, notes, and snippets.

Distance to object (cm): 0
Distance to object (cm): 0
Distance to object (cm): 273
Distance to object (cm): 975
Distance to object (cm): 115
Distance to object (cm): 0
Distance to object (cm): 0
Distance to object (cm): 10783
Distance to object (cm): 0
Distance to object (cm): 0
@jtl999
jtl999 / keybase.md
Created September 2, 2015 06:23
keybase.md

Keybase proof

I hereby claim:

  • I am jtl999 on github.
  • I am jtl (https://keybase.io/jtl) on keybase.
  • I have a public key whose fingerprint is C8CA 4273 2DC1 2985 E482 9BC6 D0FD 2E47 79AC BF72

To claim this, I am signing this object:

@jtl999
jtl999 / renew.sh
Last active February 12, 2016 08:22
simp_le wrapper script (for crontab automation, etc.
# simp_le Wrapper script
# To be used in a automated fashion, symlink/create required files. All aruguments to be passed in this file.
# by JTL (who doesn't like auto-updated blobs on his server)
#!/bin/bash
# Arguments
EMAIL=""
DOMAIN=""
DEFAULT_ROOT=""
@jtl999
jtl999 / ct-submit.py
Last active May 28, 2016 08:17 — forked from rraptorr/ct-submit.py
Simple Certificate Transparency certificate submission client
#!/usr/bin/python
# coding: utf-8
import sys
import os
import argparse, json, base64, struct
import urllib2
from datetime import datetime
import re
import argparse
from base64 import b64decode
parser = argparse.ArgumentParser(description="Create a Public-Key-Pins header from a file containing a list of pin-sha256 hashes.")
parser.add_argument('--file', dest='filepath', action='store', required=True, metavar="FILE", help="Input file")
parser.add_argument('--max-age', dest='maxage', action='store', type=int, required=True, metavar="INT", help="Max age (in seconds)")
parser.add_argument('--report-only', dest='reportonly', action='store_true', help="Whether to add Report-Only suffix to header")
parser.add_argument('--include-sub-domains', dest='includesubdomains', action='store_true', help="Include sub domains with this header")
parser.add_argument('--report-uri', dest='reporturi', action='store', help="Report URI/URL for reporting HPKP violations.")
@jtl999
jtl999 / gist:b3b4931e627aaba2f5b13372b98d141c
Last active November 17, 2016 07:22
Places I want to visit
In no particular order
- Calgary, AB
- Edmonton, AB
- Melbourne, AU (MAKE THIS HAPPEN OR ELSE I WILL AFTER GETTING MY EYES FIXED)
- Paris, iie-de-France, France
- Boulder, CO
- Amsterdam, NL
- Germany (CCC conference and other things)
@jtl999
jtl999 / # binwalk - 2017-10-18_12-32-27.txt
Created October 18, 2017 19:51
binwalk on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for binwalk on macOS 10.11.6
Build date: 2017-10-18 12:32:27
@jtl999
jtl999 / connect-1910
Created November 6, 2017 00:50
connect-1910
#!/usr/bin/expect
set PASSWORD "changeme" # Change this
set HOST "switch-1910" # host in .ssh/config
spawn ssh $HOST
expect "password: "
send "$PASSWORD\r"
expect "Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP" # Could use a more generic detection for the prompt.
send "_cmdline-mode on\r"
expect "All commands can be displayed and executed."
send "Y\r"
root@angrybear:~/IntelME# python intel_sa00086.py
INTEL-SA-00086 Detection Tool
Copyright(C) 2017, Intel Corporation, All rights reserved
Application Version: 1.0.0.128
Scan date: 2017-11-21 19:27:20 GMT
*** Host Computer Information ***
Name: angrybear
Manufacturer: Supermicro