I am basically creating a bruteforcer in python
combos=itertools.permutations("i34U^hP-",8)
This is where I need to find the regex instead of that given inside the brackets.
I am basically creating a bruteforcer in python
combos=itertools.permutations("i34U^hP-",8)
This is where I need to find the regex instead of that given inside the brackets.
Based on this answer.
from datetime import date, timedelta
d1 = date(2000, 1, 1) # start date
d2 = date(2010, 12, 31) # end date
delta = d2 - d1 # timedelta
combos = []
for i in range(delta.days + 1):
formatted = (d1 + timedelta(i)).strftime("%d%m%Y")
combos.append(d1 + timedelta(i))
I answered the question because is quite general and the answer can be applied in a lot of different contexts. REMEMBER YOU NEED TO BE AUTHORIZED TO PERFORM A BRUTE FORCE. Do not try to hack in a system without a bounty program, of if you haven't been preauthorized by the owner of the website.