Skip to content

Instantly share code, notes, and snippets.

# transmit burst of 5 forged beacon packets for each entry in our whitelist to force client device to connect
./forge-beacons -i wlan1 \
--bssid de:ad:be:ef:13:37 \
--known-essids-file ssid-whitelist.txt \
--dst-addr 11:22:33:11:22:33 \
--burst-count 5
@s0lst1c3
s0lst1c3 / build-wireshark-dev.py
Created November 12, 2019 07:35
Automates the build process for Wireshark 3.1.X (dev) on Kali
#!/usr/bin/env python3
# Name: build-wireshark-dev.py
# Author: @s0lst1c3
# Email: gabriel@specterops.io
# Description: Automates the build process for Wireshark 3.1.X (dev) on Kali
# Last tested: Nov 12 2019
import os
import shutil
@s0lst1c3
s0lst1c3 / extract_ssids.py
Created April 1, 2020 17:23
Quick hacky script for extracting SSIDs from a set of airodump-ng CSV files
import glob
all_ssids = set([])
for input_file in glob.glob('*.csv'):
with open(input_file) as fd:
for line in fd:
if line.split(',')[0] == 'BSSID':
continue
if line.split(',')[0] == 'Station MAC':
break
line_len = len(line.split(','))
# Name: redir-create.sh
# Author: @s0lst1c3
# Description: Simple Bash script that creates a mod_rewrite redirector
# using Joe Vest's cs2modrewrite tool.
# Syntax: ./redir-create.sh <profile path> <teamserver url> <decoy url> <redirector ip> <ssh user> <domain>
#!/bin/bash
apache_default_ssl_conf="/etc/apache2/sites-enabled/default-ssl.conf"
apache_conf="/etc/apache2/apache2.conf"
Source: https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
##### IEEE 802.1X-2004 related configuration ##################################
# Require IEEE 802.1X authorization
#ieee8021x=1
# IEEE 802.1X/EAPOL version
# hostapd is implemented based on IEEE Std 802.1X-2004 which defines EAPOL
# version 2. However, there are many client implementations that do not handle