Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael mykey

View GitHub Profile
@henfiber
henfiber / KB-Buying-guide-EU.md
Last active Sep 26, 2022
Buying keyboards and keyboard components from EU
View KB-Buying-guide-EU.md

Europe

View AuthyToOtherAuthenticator.md

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the

View burpsettings.json
{
"project_options":{
"connections":{
"hostname_resolution":[],
"out_of_scope_requests":{
"drop_all_out_of_scope":false,
"exclude":[
{
"enabled":true,
"file":"logout",
@jdennes
jdennes / buienalarm-scraper-details.md
Last active Feb 17, 2022
Documents how to scrape Buienalarm.nl (until their website changes)
View buienalarm-scraper-details.md

Buienalarm.nl scraper details

A request to http://www.buienalarm.nl/location/rotterdam produces a chart that shows the projected rainfall for the next two hours in Rotterdam:

buienalarm

That page includes the following JavaScript that represents the data used to build the chart:

<script type="text/javascript">
@monoxgas
monoxgas / Invoke-DCSync.ps1
Last active Jul 19, 2022
What more could you want?
View Invoke-DCSync.ps1
This file has been truncated, but you can view the full file.
function Invoke-DCSync
{
<#
.SYNOPSIS
Uses dcsync from mimikatz to collect NTLM hashes from the domain.
Author: @monoxgas
Improved by: @harmj0y
View keybase.md

Keybase proof

I hereby claim:

  • I am mykey on github.
  • I am michaelcox (https://keybase.io/michaelcox) on keybase.
  • I have a public key ASDYqLTAC_F74gqFWdiFtOCRQRqHME-HLf2_IMlUYgqCWAo

To claim this, I am signing this object:

View uninstall_homebrew.sh
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e