Skip to content

Instantly share code, notes, and snippets.

View tomisaacson's full-sized avatar

Tom Isaacson tomisaacson

View GitHub Profile

Trying to deploy WPA3 on my home network

Introduction

Recently, news broke about a new possible offline attack on WPA2 using PMKID. To summarize the attack, WPA2 protected APs can end up broadcasting PMKID values which can then be used to offline-brute-force the password.

These PMKID values are computed this way:

PMKID = HMAC-SHA1-128(PMK, "PMK Name" | MAC_AP | MAC_STA)
@lefticus
lefticus / get_llvm.sh
Last active August 22, 2023 22:58
A script for building LLVM
if [ $# -gt 1 ]
then
echo "Checking out LLVM '$1' branch from svn into '`pwd`/llvm' and setting install prefix to '$2'"
echo "Press Return To Continue"
read $VAR
else
echo "Usage: $0 <branch name> <install prefix>"
exit
fi
@jessfraz
jessfraz / boxstarter.ps1
Last active April 11, 2024 16:02
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@libinvarghese
libinvarghese / .gitconfig
Last active November 2, 2021 13:14
Search in all Stash for a pattern
# Search in all Stash for a pattern
# Install: Copy the below into the .gitconfig file
# simple call
# git stash-search pattern_to_search
[alias]
stash-search = "!f() { git show $(git stash list | cut -d\":\" -f 1) | grep \"$@\" ; }; f"
# MIT License
@aloysius-lim
aloysius-lim / spot-request.py
Last active August 31, 2023 21:52
AWS EC2 Spot Requests with Auto Tagging using Boto
import argparse
import json
import time
import boto.ec2
# Set up argument parser
parser = argparse.ArgumentParser(
description='Request AWS EC2 spot instance and tag instance and volumes.',