Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# lolc.sh - run c code in bash | |
# by justine tunney <[email protected]> | |
# licensed mit or apache 2.0 | |
runc() { | |
local bin=$(mktemp -u) | |
gcc -xc -o ${bin} /dev/stdin || return | |
chmod u+x ${bin} | |
${bin} "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################################################################## | |
# 1passwordpwnedcheck.sh - script to check 1password entries against known compromised | |
# passwords from haveibeenpwned.com | |
# | |
# Requirements: | |
# 1password CLI tool - https://app-updates.agilebits.com/product_history/CLI | |
# jq json parser - https://stedolan.github.io/jq/ | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Needs: Python 3.5+, Flask, PyCryptoDome | |
# server.pem, rsapubkey.pem + rsaprivkey.pem (1024-bit) in the current directory | |
# | |
# What it does: | |
# Pretends to be the "CT-KIP" web service (https://tools.ietf.org/html/rfc3948) that | |
# RSA SecurID Token for Windows v5.0.x talks to to set up a new token, using an | |
# authentication code. | |
# |