mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
then looks in the scripts subdirectory, then in the current directory. cnse.fetchfile_absolute now checks for an absolute path, then calls nmap_fetchfile if that fails (and no longer looks in scripts/). Use cnse.fetchscript when accessing files that should be in the scripts subdirectory.
13 lines
176 B
C
13 lines
176 B
C
#ifndef NSE_FS
|
|
#define NSE_FS
|
|
|
|
int fetchscript (lua_State *L);
|
|
|
|
int fetchfile_absolute (lua_State *L);
|
|
|
|
int nse_readdir (lua_State *L);
|
|
|
|
int luaopen_fs (lua_State *L);
|
|
|
|
#endif
|