1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
batrick
f424fd21b2 Updated some macros to clean up code. Moved
porttests and hosttests to Lua's registry where they belong.
2008-07-07 17:33:36 +00:00
batrick
3ae4bcfa9e Removed nse_string. Equivalent procedures are placed in
nse_main and nse_nsock. nse_main now uses Lua to create printable output
while a cleaner hexify procedure has been placed in nsock.
nse_string is removed as a result.
2008-07-07 17:31:38 +00:00
batrick
d0bc640db8 Large recode of nse_init.cc
Now does most of it's work through Lua:

From Nmap-dev: "Many of the changes consist of changing how Nmap interfaces
with Lua that were sometimes awkward or inflexible. Most of the functions 
have been made to be callable directly by Lua which offers many technical
advantages: stack management is alleviated, errors are handled cleanly and
are more descriptive, and there is increased reusability."

Additionally:
   -- Moved all lua_State * symbols from "l" to "L". This is to maintain
      consistency with other Lua libraries (convention) and to make our macros portable.
   -- Moved file system manipulation over to nse_fs.cc (from nse_init.cc)
2008-05-31 02:39:27 +00:00
diman
c0f07c99ac adding nselib nselib-bin second (should work on unix now) 2007-11-27 22:18:59 +00:00
ejlbell
4694e4e7a7 changed path back to original location 2007-11-05 21:26:04 +00:00
ejlbell
1a73a31df0 updated 'nse directory constant' that seems to effect scripts using nselib in certain functions 2007-11-05 21:21:08 +00:00
fyodor
ba545c1ef9 Unix installation now places NSELib dynamic libraries in 'libexec' rather than 'share' directories, since they are architecture dependent. Thanks to Christoph J. Thompson for the patch. 2007-10-07 21:32:38 +00:00
fyodor
cafec3593d merge soc07 r4891 - nse improvements 2007-08-11 04:12:45 +00:00
kris
01fd967479 This may sound weird, but I just cut nse_macros.h in half. The same thing was put in twice, so I deleted the second one (half of the file). I split it into two files/halves to test it out, and a diff came up empty. So yeah :) 2007-01-12 21:33:58 +00:00
fyodor
b361685be8 NSE committed 2006-12-11 00:34:26 +00:00