Skip to content

Fix setMaxThreads in http-wordpress-brute NSE script - #627

Closed
Nukesor wants to merge 1 commit into
nmap:masterfrom
Nukesor:fix_threads_http_wordpress_brute
Closed

Nukesor wants to merge 1 commit into
nmap:masterfrom
Nukesor:fix_threads_http_wordpress_brute

Conversation

@Nukesor

@Nukesor Nukesor commented Dec 28, 2016 •

Copy link
Copy Markdown

The setMaxThreads function requires an Int as parameter as the nselib/brute.lua will die, if we provide a string: https://github.com/nmap/nmap/blob/master/nselib/brute.lua#L1188

The script sets the max threads number after the Engine initialization, but uses the parameter string without converting it to an int.

@dmiller-nmap

Copy link
Copy Markdown

Thanks! I found several other places where this could cause problems, so I fixed those as well and credited you. I want point out that http-form-brute should be capable of brute-forcing Wordpress installations since 7.10. I'd appreciate your feedback on any problems you find in that script.

@nmap-bot nmap-bot closed this in 3961450 Dec 28, 2016
suraj51k pushed a commit to suraj51k/nmap that referenced this pull request Jan 31, 2017
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

Successfully merging this pull request may close these issues.

2 participants