From 666de7b83fb02921e000e25295dbc9249c7f38bd Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 26 Apr 2013 12:14:42 +0000 Subject: [PATCH] Clarify nmap.fetchfile only searches Nmap's paths --- nselib/nmap.luadoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc index 65e856e34..1899882cd 100644 --- a/nselib/nmap.luadoc +++ b/nselib/nmap.luadoc @@ -143,8 +143,10 @@ function get_ttl() -- @usage local payload_length = nmap.get_payload_length function get_payload_length() ---- Searches for the specified file and returns a string containing its path if --- it is found and readable (to the process). +--- Searches for the specified file relative to Nmap's search paths and returns +-- a string containing its path if it is found and readable (to the process). +-- Absolute paths and paths relative to the current directory will not be +-- searched. -- -- If the file is not found, not readable, or is a directory, nil -- is returned.