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

4571 Commits

Author SHA1 Message Date
stoiko
e765af4103 added --script-args to the usage-text (nmap.cc)
fixed to typos in error messages (nse_nsock.cc)
added a short description of --script-args to refguide.xml
2007-08-16 10:51:27 +00:00
kris
d073a19105 Change reason.cc/h to portreasons.cc/h. This is because of a reason.h on Windows which causes compilation problems. A workaround was employed, but this is incase it pops up again. I also changed the recent CHANGELOG entry mentioning reason.h so there's no confusion 2007-08-15 19:26:26 +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
kris
bfd568e847 adding umit to svn:externals 2007-08-11 16:33:22 +00:00
ejlbell
39fc8482e8 Add file association for the future 2007-08-11 09:37:32 +00:00
fyodor
c124e918b7 merge soc07 r5360:5367 - Merge Majek's raw packet NSE patch 2007-08-11 06:13:25 +00:00
fyodor
a788bd1a46 merge soc07 r5322:5360 - fix a problem with RPCGrind time estimates -- the lines sometimes included junk chars on Windows because Windows snprintf doesn't always nul-terminate the strings 2007-08-11 06:12:14 +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
2b04b1c451 merge soc07 r5308:5317 - finish umit win build integration 2007-08-11 06:06:56 +00:00
fyodor
78f15a7f65 make pcre an NSE C module 2007-08-11 06:05:48 +00:00
fyodor
0dc44d08b0 merge soc07 r5283:5298 - updating ip_is_reserved(); add sys/types.h include so it compiles on OpenBSD 2007-08-11 06:05:07 +00:00
fyodor
e50380f9d7 merge soc07 r5283 - prelim umit windows build integration 2007-08-11 06:04:30 +00:00
fyodor
4fa5dfe4f7 merge soc07 r5280 - fix config optimization bug 2007-08-11 06:03:50 +00:00
fyodor
d7f207450c merge soc07 r5279 - nse fixes 2007-08-11 06:03:25 +00:00
fyodor
4a39cc164d merge soc07 r5252:5261 - nmap-service-probes fix and os-db canonicalization 2007-08-11 06:02:29 +00:00
fyodor
3da2091ba4 merge soc07 r5245:5252 - update winpcap libs; fix config optimization bug 2007-08-11 06:01:12 +00:00
fyodor
9269e71cd8 merge soc07 r5245 - sql injection script 2007-08-11 05:59:19 +00:00
fyodor
d02249d459 merge soc07 r5244 - nmap config optimisations 2007-08-11 05:58:21 +00:00
fyodor
03b4dc0ec5 merge soc07 r5233 - Changed perror()s with hardcoded function names to Nmap's gh_perror() and __func__, changed perror()s followed by exit()s to Nmap's pfatal(), and removed newlines from perror()s because it breaks the line after that and before the colon and error string, which doesn't make sense 2007-08-11 05:57:54 +00:00
fyodor
7aede51c1d merge soc07 r5227 - Q2 2007 Service Fingerprints 2007-08-11 05:57:15 +00:00
fyodor
980dc9b1bb merge soc07 r5226 - added a section describing briefly the NSE to the refguide. 2007-08-11 05:56:52 +00:00
fyodor
23e9e0b1d2 merge soc07 r5225 - fix for systems which return -1 when vsnprintf doesn't have enough space rather than returning the amount of space needed. 2007-08-11 05:56:10 +00:00
fyodor
622995be62 merge soc07 r5209 - --iflist bug. The parameters to NmapOutputTable were in the wrong order but due to the number of interfaces on my computer it still worked 2007-08-11 05:54:20 +00:00
fyodor
375ad32df4 merge soc07 r5216:5224, -r5206 - signature canonicalization and updates 2007-08-11 05:53:34 +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
562f505289 merge soc07 r5166:5191 - undocument --port-ratio, --top-ports because no data yet; update version number 2007-08-11 05:50:13 +00:00
fyodor
f011a8bb3d merge soc07 r5166 - Updated scripts to use strbuf's new structure 2007-08-11 05:49:25 +00:00
fyodor
8d85a7b75b merge soc07 r5161:5165 - --iflist null device bugfix 2007-08-11 05:46:39 +00:00
fyodor
fd53c02a85 merge soc07 r5144:5161 - fingerprint name/class normalization 2007-08-11 05:46:00 +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
a25a0848d3 merge soc07 r5119 - added instructions for updating winpcap versions 2007-08-11 05:36:45 +00:00
fyodor
e3cb62ffec merge soc07 r5116 - Flush LOG_NORMAL in gh_perror() and pfatal() instead of LOG_STDOUT when --log-errors is used 2007-08-11 05:36:05 +00:00
fyodor
208e8df6c4 merge soc07 r5114 - Update for top-ports, port-ratio, and new -p switch options. 2007-08-11 05:32:34 +00:00
fyodor
9352fa4ea5 merge soc07 r5118 - fix portrule bug 2007-08-11 05:32:08 +00:00
fyodor
bd1ee83bd9 merge soc07 r5109, r5117 - Modified some of the scripts to use NSELib for portrule 2007-08-11 05:31:21 +00:00
fyodor
98ad71e782 merge soc07 r5105:5107 - Make mergeFPs work with first-gen fingerprints too; Make FingerTest_lessthan give a fatal error if an attempt is made to order even one unknown test name. 2007-08-11 05:28:15 +00:00
fyodor
7b5f9f5dd5 merge soc07 r5100:5105 - Added traceroute to -A & updated docs 2007-08-11 05:20:08 +00:00
fyodor
6c06f51bd7 merge soc07 r5100 - Changing fprintf(stderr, )'s to error()'s (or fatal() if followed by and exit()). Besides providing consistency, this also allows more errors to actually be logged with --log-errors. 2007-08-11 05:16:56 +00:00
fyodor
73440e4878 merge soc07 r5094:5098 - Updated to winpcap 4.01; Update reason documentation.; bugfix re multiple copies of winpcap installed 2007-08-11 05:16:11 +00:00