Skip to content

Instantly share code, notes, and snippets.

View MartinTintin3's full-sized avatar

MartinTintin3

View GitHub Profile
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
sudo airport -s
export BSSID=
networksetup -listallhardwareports
# example: en0
export INTERFACE=
#!/usr/bin/env bash
if [ "$#" -lt 2 ]; then
echo "Usage: $0 <username> <threads> [mask]"
exit 1
fi
if ! command -v brew &> /dev/null; then
echo "Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"