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

439 Commits

Author SHA1 Message Date
fyodor
bbb0744761 now move nselib to recover history 2007-11-27 22:42:39 +00:00
diman
c0f07c99ac adding nselib nselib-bin second (should work on unix now) 2007-11-27 22:18:59 +00:00
diman
335ec2868f adding nselib and nselib-bin the first 2007-11-27 22:17:30 +00:00
majek04
4ed4ffa219 Added promiscuous.nse for detecting local NIC in promisc mode. First script using pcap for nse. 2007-11-27 18:59:53 +00:00
david
dfb9c157c7 Delete auxiliary scripts config.guess, config.sub, depcomp, install-sh,
ltmain.sh, and missing from subdirectories. Autoconf automatically looks
in the parent directory for these files. I had to copy the files
depcomp, ltmain.sh, and missing into the root of the source tree.
2007-11-27 06:22:46 +00:00
david
d345085863 Regenerate configure scripts with Autoconf 2.61 and update config.guess
and config.sub with the latest versions from
http://cvs.savannah.gnu.org/viewvc/config/?root=config.
2007-11-18 21:36:31 +00:00
ejlbell
34763e08f4 Added support for multiple states in portnumber() rules 2007-11-14 20:04:45 +00:00
david
aeb9cae04b Redo some changes to the NSE pcre module that were originally done
before pcre was made a C module. Remove the nse_pcrelib.vcproj file,
change snprintf to Snprintf, and add a typecast to avoid a warning on
Windows.  This and r6026 should be considered a unit.
2007-10-23 01:10:46 +00:00
david
83382600f2 Revert r5485. This changes the pcre Lua module back to statically linked
code instead of a dynamically loaded C module. Linking the dynamic
shared module with the static libpcre.a was failing on OpenBSD. See
http://seclists.org/nmap-dev/2007/q4/0085.html.
2007-10-23 00:45:00 +00:00
kris
9baeec2897 Changing a comment in nselib/ipOps.lua as it seems to be remnants of a patch for ripeQuery.nse (references doing a RIPE lookup) 2007-10-09 13:29:47 +00:00
stoiko
b1292777f2 fixed a bug related to users providing a custom location for libpcre
(reported by Daniel Johnson)
2007-08-30 18:53:38 +00:00
stoiko
396ee9bc32 removed some warnings for windows-platforms 2007-08-14 20:11:06 +00:00
stoiko
fc6f1d49ad fixed some warning issues in nselib/bit.c (put casts
to lua_Number where necessary)

made netutils.h include nbase_winunix.h (otherwise 
nsock wouldn't compile, because it tried to include 
reason.h from the MS-platform-SDK but got nmap's 
reason.h instead)
2007-08-14 19:21:47 +00:00
stoiko
2240dcaae5 removed nbase-includeflags, ld-flags from Makefile.in (not needed anymore)
removed the configure-check for nbase
2007-08-14 19:09:13 +00:00
kris
0118f48500 Adding (using) a static Snprintf() to nselib/pcre.c, due to lame problems with nbase + pcrelib on some systems 2007-08-14 16:32:10 +00:00
kris
5396114d73 Reverting r5537, as there are nbase problems with the pcrelib stuff 2007-08-14 16:20:50 +00:00
kris
24cb259f01 Reverting nselib pcre.[ch] changes from r5538; other changes to follow 2007-08-14 16:17:37 +00:00
kris
0b50c16b38 Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
kris
9f41f69d1b Link the nselib pcrelib with nbase in Windows 2007-08-14 06:27:02 +00:00
stoiko
ef2c7d1384 added a visual studio project file for the nselib pcre
C-module
updated the nmap.sln accordingly
2007-08-13 08:32:48 +00:00
fyodor
62d7e3ed87 merge soc07 r5317:5322 - NSE buffered receives and script arguments 2007-08-11 06:09:50 +00:00
fyodor
5579ac94d3 merge soc07 r5317:5322 - DNS zone transfer script. 2007-08-11 06:07:31 +00:00
fyodor
78f15a7f65 make pcre an NSE C module 2007-08-11 06:05:48 +00:00
fyodor
179d2b5766 merge soc07 r5191:5202 - portstates now takes list; script to download robots.txt; open proxy script; fix default shortport state value 2007-08-11 05:51:31 +00:00
fyodor
ed6a634ebc merge soc07 r5144 - added a seperate strbuf-module (code mainly taken from eddies implementation in stdnse.lua 2007-08-11 05:45:11 +00:00
fyodor
5528726e5b merge soc07 r5124:5142 - build/install system updates; changelog updates; umit install code; compilation fixes; integrate umit 2007-08-11 05:41:41 +00:00
fyodor
1ec0823730 merge soc07 r5119:5124 - changed configure.ac to search for dlopen in -ldl; modified the nsis installer - to copy the nselib dir; more install system fixes 2007-08-11 05:37:46 +00:00
fyodor
ed8b7899a0 merge soc07 r5073:5077 - renamed listopt(ions?!) to listop(erations); removed nse_bitlib.* from the Makefile.in in nselib/; removed unused MAKEDEPEND 2007-08-11 05:10:24 +00:00
fyodor
e26fca0d42 merge soc07 r5069 - nselib for functional programming style 'list' operations 2007-08-11 05:06:07 +00:00
fyodor
01b5a155e1 merge soc07 r5063:5065 - added support for nse-C-modules under windows; misc. nse improvements 2007-08-11 04:59:14 +00:00
fyodor
475393bc2c merge soc07 r5049:5063 - added string split/join methods; Bruteforce telnet script; fixed a few typos; updated to escape some common url constructs; refactored shorport library; Added a family of string buffer functions to nselib as concatenation is not efficient; Updated a couple of scripts to use string buffers; resolved a couple of naming conflicts 2007-08-11 04:58:05 +00:00
fyodor
25267a44d4 merge soc07 r5042 - Fixed some bugs on nse-C-modules - it now compiles and works (or should work) on linux, macosx, freebsd 2007-08-11 04:53:27 +00:00
fyodor
80ade54171 merge soc07 r5016:5022 - Added support for C-modules; converted the nse_bitlib to such a module; adapted dns-test-open-recursion.nse to use the new module; Moved make_buffer to stdnse and updated the documentation 2007-08-11 04:49:25 +00:00
fyodor
83ec445bcf merge soc07 r5005:5013 - URL manipulation lib from LuaSocket with a couple funcs added; added garbage collection for nsock-objects in lua 2007-08-11 04:46:43 +00:00
fyodor
1ffa6fd8c0 merge soc07 r4990 - fixed tiny oversight in nselib debug function 2007-08-11 04:39:39 +00:00
fyodor
e988f4878d merge soc07 r4989 - applied mathew boyle's patch for print_debug 2007-08-11 04:39:17 +00:00
fyodor
88b0e212df merge soc07 r4906 - NSE bugfixes 2007-08-11 04:16:56 +00:00
fyodor
6877d8329d merge soc07 r4896:4898 - added new scripts; made shortport.port_or_service work as intended, it now returns a function instead of a boolean 2007-08-11 04:14:01 +00:00
fyodor
cafec3593d merge soc07 r4891 - nse improvements 2007-08-11 04:12:45 +00:00