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

scan.wp_scan(args.url) bug #3

Open
razvan01 opened this issue Jun 3, 2018 · 0 comments
Open

scan.wp_scan(args.url) bug #3

razvan01 opened this issue Jun 3, 2018 · 0 comments

Comments

@razvan01
Copy link

razvan01 commented Jun 3, 2018

Traceback (most recent call last):
File "rta.py", line 417, in
main()
File "rta.py", line 404, in main
scan.wp_scan(args.url)
File "rta.py", line 330, in wp_scan
data['version'] = result['version']['number']
TypeError: 'NoneType' object has no attribute 'getitem'

Python version:
Python 2.7.12

OS, kernel:
Linux rta 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Fix:
replace line 404 in rta.py
scan.wp_scan(args.url)
with
scan.wp_scan("--url " + args.url)

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