Closed gsbuosi closed 1 year ago
Did you try doing what it tells you to do?
I did and now it's says is updated... but the "Error" if can I say error..... it's there.
Change auto_update() in lib/settings.py from:
def auto_update():
"""
updates from the github repo
"""
import git
try:
lib.formatter.info("attempting to update WhatWaf")
repo = git.Repo()
current = repo.head.commit
repo.remotes.origin.pull()
new = repo.head.commit
if current == new:
lib.formatter.info("WhatWaf is the newest version")
else:
lib.formatter.success("successfully updated WhatWaf to the newest version")
except:
lib.formatter.error("unable to update WhatWaf, a new version is out attempt updating by typing `git pull`")
pass
To:
def auto_update():
pass
fixed via: https://github.com/Ekultek/WhatWaf/commit/38df35218c7097c5a507476fd2e757ad7c88fd84
You can run git pull
and the --skip-update
flag so that it won't try to update anymore.
After had being made the changes in "lib/settings.py"
Now I'm receiving this new error message :+1:
you have to stash your changes.. git stash && git pull
I would highly suggest you Google what you're doing before using this tool.
Hi, I'm having this error at the moment of execute this command.
$ python3 ./whatwaf -u https://target_xyz.com