violent-python icon indicating copy to clipboard operation
violent-python copied to clipboard

creating blank untitled folder

Open raseribanez opened this issue 7 years ago • 0 comments

firstly I was unable to run this from a command line, it raises errors on line4:

raser@raser85:~$ python crack_zip.py
  File "crack_zip.py", line 4
    if data != '':
     ^
SyntaxError: invalid syntax

When run from IDLE, I also had issues. No errors raised this way, but I had 2 other small issues. For my test usage I created a folder, entered a txt file inside (containing text) and compressed it into a .zip file, with a password. I then created 'dictionary.txt' with a list of about 10 passwords, including the right one (newline for each word within txt file), and put everything into one directory for testing (crack_zip.py + dictionary.txt + myfile.zip )

Issues were as follows:

1: Returned the last line word of dictionary.txt (when all entries put on same line, all were returned) 2: Was creating an empty 'untitled folder' in my test directory and returning no password

Thanks for this btw, would like to see if we can sort it out

raseribanez avatar Nov 20 '17 09:11 raseribanez