This file contains 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
""" | |
midnight sun 2024 finals challenge (ez level) | |
""" | |
import ctypes | |
import sys | |
import random | |
import string | |
import hmac, hashlib | |
import os | |
import fcntl |
This file contains 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/env python3 | |
""" | |
Code from https://github.com/NikolaiT/Dragonfly-SAE/blob/master/dragonfly_implementation.py | |
""" | |
import time | |
import hashlib | |
import hmac | |
import secrets |
This file contains 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/env python3 | |
import json | |
dev = {} | |
sae=open("sae_passwords").read() | |
wpa2=open("wpa2pskfile").read() | |
def make(mac, password, t): | |
if mac in dev: | |
return | |
d = {} |