Skip to content

Instantly share code, notes, and snippets.

View RealEnder's full-sized avatar

Alex Stanev RealEnder

View GitHub Profile
@RealEnder
RealEnder / mvdataverify.sh
Last active December 7, 2023 09:12
Verify machine voting files from BG elections 11 July 2021, 14 November 2021, 21 November 2021, 2 October 2022, 2 April 2023, 5 November 2023
#!/bin/bash
# Verify machine voting files from BG elections 11 July 2021, 14 November 2021, 21 November 2021, 2 October 2022, 2 April 2023, 5 November 2023
# (c) 2021-2023 Alex Stanev <alex@stanev.org>, MIT license
# Opendata URLs for different elections:
# Parliamentary elections 11 July 2021: https://results.cik.bg/pi2021_07/export.zip
# Parliamentary and presidential elections 14 November 2021: https://results.cik.bg/pvrns2021/tur1/export.zip
# Presidential elections 21 November 2021: https://results.cik.bg/pvrns2021/tur2/export.zip
# Parliamentary elections 11 July 2021: https://results.cik.bg/ns2022/export.zip
# Parliamentary elections 02 October 2022: https://results.cik.bg/ns2022/export.zip
@RealEnder
RealEnder / TWC.py
Created May 4, 2018 04:25
TWC algo
#!/usr/bin/python
import sys
if len(sys.argv) != 3 or len(sys.argv[1]) not in [12,17]:
print 'TWC WPA-PSK generator (c) 2015, 2017 v0.2 by Alex Stanev <alex@stanev.org>'
print 'Usage: '+sys.argv[0]+' [BSSID] [SSID]'
exit(1)
# SSIDs
# Taken from https://www.exploit-db.com/docs/english/38082-compromising-isp-issued-802.11-wireless-cable-modem-networks-for-profit.pdf