mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Merge r18689:r19511 from /nmap-exp/djalal/nse-rules.
o Add two new Script scan phases: Script Pre-scanning phase: before any Nmap scan operation, activated by the new "prerule". Script Post-scanning phase: after all Nmap scan operations, activated by the new "postrule". o New environment variables: SCRIPT_PATH SCRIPT_NAME SCRIPT_TYPE: the type of the rule that activated the script.
This commit is contained in:
parent
eb699270e9
commit
f0c5e154c3
22 changed files with 403 additions and 160 deletions
|
|
@ -233,7 +233,7 @@ action = function(host, port)
|
|||
end
|
||||
|
||||
if #injectable > 0 then
|
||||
stdnse.print_debug(1, "%s: Testing %d suspicious URLs", filename, #injectable )
|
||||
stdnse.print_debug(1, "%s: Testing %d suspicious URLs", SCRIPT_NAME, #injectable )
|
||||
-- test all potentially vulnerable queries
|
||||
injectableQs = build_injection_vector(injectable)
|
||||
local responses = inject(host, port, injectableQs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue