1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Relax http.parse_form to allow forms without an action

Patch from nnposter: http://seclists.org/nmap-dev/2014/q3/384
This commit is contained in:
dmiller
2014-09-18 03:38:23 +00:00
parent d518e2dbcb
commit 327496d50c
7 changed files with 6 additions and 8 deletions

View File

@@ -256,7 +256,7 @@ action = function(host, port)
form = http.parse_form(form)
if form then
if form and form.action then
local action_absolute = string.find(form["action"], "https*://")