1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00
Commit Graph

109 Commits

Author SHA1 Message Date
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
980dc9b1bb merge soc07 r5226 - added a section describing briefly the NSE to the refguide. 2007-08-11 05:56:52 +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
8dc9673928 merge soc07 r5085 - Changing bare printf()s to log_write(LOG_PLAIN,)s because these were always printed even when things like XML and greppable output were sent to stdout (e.g. -oX -). This also adds o.scriptTrace() to make --script-trace behave more like --packet-trace and --version-trace. Nsock tracing was done unconditionally in NSE, and that has been changed to only be done when o.scriptTrace() is true. 2007-08-11 05:13:16 +00:00
fyodor
90a0087bb4 merge soc07 r5081 - changed close to 100 occurrences of LOG_NORMAL|LOG_SKID|LOG_STDOUT (and combinations) to LOG_PLAIN, and moved LOG_PLAIN definition to output.h from traceroute.h 2007-08-11 05:11:47 +00:00
fyodor
aac82901d3 merge soc07 r5005:5016 - Adding <times> element for the host's final times (srtt, rttvar, to) 2007-08-11 04:47:38 +00:00
fyodor
424981b064 merge soc07 r4982 - Fixing a small bug relating to 2nd gen osdetection output for tcp timestamp sequences. 'ERROR, WTF?' was being printed in XML because TS_SEQ_OTHER_NUM was omitted from tsseqclass2ascii(). Now it just prints 'other' 2007-08-11 04:32:07 +00:00
fyodor
65bc340828 merge soc07 r4863 - Add some logic to printdatafilepaths to control what gets displayed 2007-08-11 04:00:36 +00:00
fyodor
5e3bb361f2 merge soc07 r4860 - Add verbose data file path reporting. Some more changes might be coming, for example to change the conditions under which this information is displayed. 2007-08-11 03:59:18 +00:00
fyodor
c0e32d45df merge soc07 r4823:4827 - rename --services to --servicedb, add --versiondb 2007-08-11 03:43:52 +00:00
fyodor
58522c59f6 merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
fyodor
c6f2ab6e83 merge soc07 r4804 - misc. NSE improvements 2007-08-11 03:32:26 +00:00
fyodor
b642be63c5 merge soc07 r4803 - Implement the --services option using a filename translation map and some additional logic in nmap_fetchfile. 2007-08-11 03:31:22 +00:00
fyodor
b2d25c8b4d merge soc07 r4792 - Fixing --port_ratio and --top_ports option names (using optcmp instead of strcmp and adding underscore versions to long_options[]) 2007-08-11 03:28:01 +00:00
fyodor
90e464602a merge soc07 r4768 - Don't print an error message when no ports are specified with list or ping scan. 2007-08-11 03:19:43 +00:00
fyodor
58f46706e5 merge soc07 r4751 - UDP traceroute hop distance and port state reason feature 2007-08-11 03:15:24 +00:00
fyodor
e51abafe02 merge soc07 r4727 - Added --top-ports/--port-ratio and wildcard/[] -p switch extensions. 2007-08-11 02:58:03 +00:00
fyodor
21e986b0fd merge r4943 from soc07 - fixed a cosmetic bug related to low --host-timout arguments. Bug reported by Chris Drake 2007-06-19 21:39:05 +00:00
kris
ea49d9c4e2 merging r4789:4790 from nmap-exp/soc07 -- fixing "--release_memory" option name 2007-05-29 02:27:39 +00:00
kris
92e08b2f09 Updating IANA IP list (ip_is_reserved()). 046/8 is back with IANA, and 092/8 and 093/8 were given to RIPE. With CHANGELOG entry. 2007-04-12 16:53:06 +00:00
kris
528bec100a One liner. Change 'LOG_STDOUT|LOG_SKID|LOG_PLAIN' in a log_write() (traceroute) in nmap.cc to just 'LOG_PLAIN' because it's defined to 'LOG_NORMAL|LOG_SKID|LOG_STDOUT' 2007-03-15 20:19:37 +00:00
fyodor
e4b863328f properly lowercase traceroute.h 2007-03-15 18:14:23 +00:00
fyodor
e882edf484 added Eddie Bell's traceroute patch, with only minor changes 2007-03-13 08:02:19 +00:00
kris
cd806922c0 Fix typo in error message when given bad argument for TCP ACK Ping. "-PB" -> "-PA" 2007-02-11 20:42:38 +00:00
kris
abbaffe21c Updating with Jan '07 IANA IPv4 assignment changes. And the previous IANA patch from Mike Phipps was, in fact, wrong. Apparently he was undoing my previous IANA patch (which Fyodor committed in r4251) 2007-02-09 01:28:58 +00:00
fyodor
5fbc63cc22 revert last patch -- Kris tells me the new assignment numbers may be wrong 2007-02-09 00:17:38 +00:00
fyodor
7c9805b954 IANA patch from Mike Phipps 2007-02-07 21:06:29 +00:00
kris
cc14c538ad Removing extraneous newlines (sometimes up to 9 of them) from ends of a few files 2007-02-04 02:53:29 +00:00
kris
e326bc0266 Fix --max-os-tries and --max-rtt-timeout options. There was a typo which caused two optcmp()s to be checking for max-rtt-timeout instead of one for that and one for max-os-tries. Since the first one was supposed to check for max-os-tries, --max-rtt-timeout has been setting max-os-tries. This meant there was no way to set max-rtt-timeout, and --max-os-tries always failed with an error message. 2007-01-28 13:18:32 +00:00
kris
ba8defb238 Prevent empty 'Fetchfile found' message (with -d2) from nmap_fetchfile() when it wasn't actually found. 2007-01-20 23:48:18 +00:00
kris
6da0b2a534 Merging my --scanflags change. This allows 'ECE', 'CWR', 'ALL' and 'NONE' to be used. They've all been possible to set using a number, but I like names more :) 2007-01-19 20:14:36 +00:00
kris
2ce87a0250 Merging my -sO -p-XX, rangestart=0 patch. Also (new change) if it's like -sO -pXX-, we cut off rangeend at 255 instead of 65535 so we don't have to do the extra looping later in a while(). IP Proto scanning cant be used along with TCP or UDP scans so cutting it off here works better. 2007-01-16 17:42:07 +00:00
kris
4e4924b408 A few changes to fileexistsandisreadable() (I can't leave this thing alone, can I? :)). First, 'status' is initialized to 0 instead of -1 because if stat() succeeds, but 'pathname_buf' isn't readable at all, this function was returning that -1 (which it shouldn't because the comment says 0, and nmap_fetchfile() checks for a non-zero return value and assumes it found something, but it wasn't breaking anything). Also, access() is now only called once and then the directory-check is done. And finally the comment now explicitly states that 1 is returned if it's readable and not a directory instead of just non-zero. This also just uses S_ISDIR() for testing for a directory, so it might actually be a portability enhancement because WIN32 apparently doesn't have S_ISDIR() and in nbase.h it's defined to something different just than ANDing with S_IFDIR. 2007-01-15 18:24:47 +00:00
kris
889a40a1e1 Just fixed a couple of typos. 'msx-scan-delay' -> 'max-scan-delay' under the Timing Report (-d), and 'Mapps' -> 'Maps' in a comment. 2007-01-11 20:18:42 +00:00
kris
06e35a0c43 2007-01-11 16:07:04 +00:00
fyodor
84340f5737 Fixed a bug which prevented the --without-liblua compilation option from working. Thanks to Kris Katterjohn for the patch. 2007-01-03 20:46:14 +00:00
fyodor
9879720d45 fix for -p used with bad ranges in ip proto scan -- from Kris Katterjohn 2007-01-01 00:00:05 +00:00
diman
3543208670 Fixed file and directory retrieval problems under windows 2006-12-29 00:44:49 +00:00
fyodor
8e2de50dd3 Kris Katterjohn patches for code clean up, iana ip assignment update, fixe fileexistsandisreadable 2006-12-12 09:56:15 +00:00
fyodor
b361685be8 NSE committed 2006-12-11 00:34:26 +00:00
fyodor
c608b64dfd Integrate the latest fingerprint submissions 2006-10-14 06:02:43 +00:00
fyodor
e4ee4d5e4c getting closer to 4.20ALPHA9 2006-10-14 01:25:43 +00:00
fyodor
25bbd2983d New dynamic number of OS tries, and --max-os-tries option 2006-10-02 03:21:40 +00:00
fyodor
11c172b30f error msg typo 2006-09-25 06:47:13 +00:00
fyodor
4d44853d78 a bunch of small patches by Kris Katterjohn 2006-09-16 02:25:20 +00:00
fyodor
e3a4b7294c portability fix from diman 2006-09-12 03:33:24 +00:00
fyodor
9487a3a5b1 access() patch from Kris Katterjohn 2006-09-07 04:20:20 +00:00
fyodor
a111518907 More elaborate reasons for OmitSubmissionFP 2006-09-02 21:50:35 +00:00
fyodor
3768236c47 More OS detection changes. We're really getting close now 2006-08-30 07:38:30 +00:00