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

Attempt to index field 'body' (a nil value) #1

Open
ryanohoro opened this issue Sep 11, 2015 · 0 comments
Open

Attempt to index field 'body' (a nil value) #1

ryanohoro opened this issue Sep 11, 2015 · 0 comments

Comments

@ryanohoro
Copy link

When the script fails to connect to a site for whatever reason, the content will be empty and error handling isn't sufficient.

NSE: http-wordpress-info against 10.0.0.24:80 threw an error!
scripts\http-wordpress-info.nse:102: attempt to index field 'body' (a nil value)
stack traceback:
        scripts\http-wordpress-info.nse:102: in function <scripts\http-wordpress-info.nse:71>
        (...tail calls...)
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