This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Converts john output file for wpapsk formats to hashcat -o and potfile | |
# The source code is distributed under MIT license | |
# author: Alex Stanev, alex at stanev dot org | |
# web: http://wpa-sec.stanev.org | |
import sys | |
import os | |
from binascii import a2b_base64 | |
from hashlib import pbkdf2_hmac, md5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Calculate potfile from -o output for hashcat m22000 | |
# Useful for -a9 mode, where the cracker, as of v6.2.6 cracker disables potfile output | |
import os | |
import sys | |
from hashlib import pbkdf2_hmac | |
if len(sys.argv) != 2 or not os.path.exists(sys.argv[1]): | |
print(f'Usage: {sys.argv[0]} [hashcat.mac]') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Verify machine voting files from BG elections | |
# (c) 2021-2024 Alex Stanev <[email protected]>, 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 2 October 2022: https://results.cik.bg/ns2022/export.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 <[email protected]>' | |
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 |