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
import requests | |
import re | |
import hashlib | |
router_uri = 'https://192.168.1.1' | |
password = "abcd1234" | |
def hash(cleartext): | |
m = hashlib.md5() | |
m.update(cleartext.encode('utf-8')) |
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
"""Brute force as many md5-hashed Project Euler answers as possible. | |
""" | |
import re | |
import requests | |
from datetime import datetime, timedelta | |
from itertools import count, islice | |
from hashlib import md5 |