bugku - web-- enter a password to view flag

First, open the Web links

Five-digit password number of random burst, the first to write a python script to generate a random number five:

x=range(0,10)
f=open("3.txt",'w')
for i in x:
    for j in x:
        for k in x:
            for l in x:
                for m in x:
                    s=(str(i)+str(j)+str(k)+str(l)+str(m))
                    f.write(str(s)+'\n')
f.close()

Burp password to use blasting a million passwords that will take some time, wait a minute.

13579 successfully find the password, enter the get flag.
Use burp run a million passwords that very time consuming, but I do not what being a good way, only in this way do the.

Guess you like

Origin www.cnblogs.com/lzlzzzzzz/p/11415475.html