Skip to content

creating blank untitled folder #2

@raseribanez

Description

@raseribanez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions