Hey guys...
I created a uber-basic brute force program(not exactly 'brute force'), where in the program opens a 'log.txt' file and reads the contents. I created a list of alphabets A-Z and numbers 0-9....what I wanted the program to do was, try out different combinations with the given set of characters until it matches the given set of characters in the log.txt file, and then display an appropriate message...here's the code I used:
killzone2(in the log.txt file)
import random
combos=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','v','w','x','y','z']
combos.append(range(10))
choice=random.choice(combos)
log=open('log.txt','r')
read_log=log.read()
while choice!=read_log:
choice=random.choice(combos)
print choice
Thanks for the help in advance all you guys! ;P