Skip to content

Commit

Permalink
fix Can't open perl script /usr/local/lib/python3.7/site-packages/src…
Browse files Browse the repository at this point in the history
…/7z2john.pl
  • Loading branch information
tp7309 committed Jun 26, 2020
1 parent 70aabe8 commit a9732f1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include LICENSE
include LICENSE
include src/*.pl
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Fast 7zip crack assistant tool which support GPU/CPU.
# Requirements

Python 3.5 or later.
[python install](https://www.runoob.com/python3/python3-install.html)
[python install](https://docs.python-guide.org/starting/install3/osx/)

# Install

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='tt7zcrack',
version='0.0.8',
version='0.1.0',
description=description,
author='tp7309',
author_email='[email protected]',
Expand Down
3 changes: 2 additions & 1 deletion src/tt7zcrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def install_osx(force_china):
run('brew install hashcat')
run('brew install john-jumbo')
# 7z2john.pl dependencies
print("we need sudo to install perl script dependencies...")
print("------we need sudo to install perl script dependencies------")
run("curl -L https://cpanmin.us | perl - --sudo App::cpanminus && sudo cpanm Compress::Raw::Lzma")
if not isinstalled():
print('\n\ninstall failed!')
Expand Down Expand Up @@ -107,6 +107,7 @@ def domain(args):
return

if not isinstalled():
print('install dependencies....')
if sys.platform == 'darwin':
install_osx(args.china)
else:
Expand Down

0 comments on commit a9732f1

Please sign in to comment.