Message125872
Ok, I tried recreating the bug and found out that I couldn't. Originally this happened when I tried to find the password of a zip file through a dictionary attack. The code I used is this:
import zipfile
zfile=raw_input("Please input zip's file name\n")
diction=raw_input("Please input dictionary\n")
found = False
zipf = zipfile.ZipFile( zfile, 'r' )
f = open(diction, 'r')
for line in f:
pswd = line
pswd = pswd[:-1]
zipf.setpassword(pswd)
try:
zipf.extractall()
found = True
break
except RuntimeError:
continue
zipf.close()
First time I encountered the bug was when on my dictionary I had all the numbers from 000 to 999 and saw that it crashed at 610. Now it crashes at 844.Even when I do this
import zipfile
zfile=raw_input("Please input zip's file name\n")
zipf = zipfile.ZipFile( zfile, 'r' )
zipf.setpassword('844')
zipf.extractall()
zipf.close()
it crashes with the error in my first post.
If this is any help, i'm using python 2.6.6 on linux and the number changed from 610 to 844 when I opened a new terminal window. |
|
Date |
User |
Action |
Args |
2011-01-09 23:12:23 | Kira.Erethon | set | recipients:
+ Kira.Erethon, eric.smith |
2011-01-09 23:12:23 | Kira.Erethon | set | messageid: <1294614743.32.0.806276300468.issue10876@psf.upfronthosting.co.za> |
2011-01-09 23:12:19 | Kira.Erethon | link | issue10876 messages |
2011-01-09 23:12:19 | Kira.Erethon | create | |
|