Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get an error if I use relative path to wphardening.py #111

Open
verovan opened this issue May 27, 2017 · 0 comments
Open

Get an error if I use relative path to wphardening.py #111

verovan opened this issue May 27, 2017 · 0 comments

Comments

@verovan
Copy link

verovan commented May 27, 2017

If I try this:
$ python wphardening-master/wphardening.py -d ~/Desarrollo/wordpress/wordpress
I get the followig error:

Traceback (most recent call last):
  File "/home/verovan/wphardening-master/wphardening.py", line 29, in <module>
    cmdLineParser()
  File "/home/verovan/wphardening-master/lib/cmdLineParser.py", line 213, in cmdLineParser
    if checkWordpress(options.path, options.verbose).isWordPress():
  File "/home/verovan/wphardening-master/lib/checkWordpress.py", line 41, in __init__
    self.fileWordPress = self.loadFile()
  File "/home/verovan/wphardening-master/lib/checkWordpress.py", line 49, in loadFile
    f = open('data/wordpress.fuzz.txt', "r")
IOError: [Errno 2] No such file or directory: 'data/wordpress.fuzz.txt'

It seems I necessarily need to be located inside the WPHardening directory to execute wphardening.py if I want to check if my project is a Wordpress Project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant