mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 04:09:01 +00:00
Updated NSE's bit library to no longer be a shared library.
See this thread: http://seclists.org/nmap-dev/2008/q3/0404.html
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
// 3rd Party libs
|
||||
#include "nse_pcrelib.h"
|
||||
#include "nse_bit.h"
|
||||
|
||||
#include "nse_binlib.h"
|
||||
#include "nse_hash.h"
|
||||
@@ -218,9 +219,10 @@ int init_lua (lua_State *L)
|
||||
int i;
|
||||
static const luaL_Reg libs[] = {
|
||||
{NSE_PCRELIBNAME, luaopen_pcrelib}, // pcre library
|
||||
{"nmap", luaopen_nmap} // nmap bindings
|
||||
,{NSE_BINLIBNAME, luaopen_binlib}
|
||||
,{NSE_HASHLIBNAME, luaopen_hashlib}
|
||||
{"nmap", luaopen_nmap}, // nmap bindings
|
||||
{NSE_BINLIBNAME, luaopen_binlib},
|
||||
{NSE_HASHLIBNAME, luaopen_hashlib},
|
||||
{BITLIBNAME, luaopen_bit}, // bit library
|
||||
};
|
||||
|
||||
luaL_openlibs(L); // opens all standard libraries
|
||||
|
||||
Reference in New Issue
Block a user