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

1698 Commits

Author SHA1 Message Date
fyodor
5b399e6e6e update idle scan paper url -- now part of book 2008-06-15 10:20:40 +00:00
david
e052c2eaae Link against -lodm and -lcfg on AIX. 2008-06-15 07:05:12 +00:00
kris
8de4c7bdeb Updating the install guide for VC++ 2008 instructions 2008-06-15 04:03:10 +00:00
fyodor
3839e45e12 Move Install guide source XML to Nmap svn tree so more people have access to it. 2008-06-15 03:46:48 +00:00
kris
3ddaa848eb Recompiled OpenSSL with VC++2008 and updated upgrade-guide.txt to reflect build changes between VC++2005 and 2008. I meant to do this sooner, but it slipped my mind. Thanks to Thomas and Jah for discussing it. 2008-06-15 02:36:15 +00:00
kris
5b034bf655 adding CHANGELOG entry for Ilja's bug reports 2008-06-14 07:12:21 +00:00
kris
3dc65c8b2c o Fixed several byte-order bugs in Traceroute. [Kris] 2008-06-14 07:06:12 +00:00
kris
47bc9d4c4f Fixing more bugs reported by Ilja, mostly bounds checking 2008-06-14 06:59:11 +00:00
david
e9a8e327b4 Don't ever print out a FingerPrint line in fp2ascii (this was never used, and
in fact was worked around in several places fp2ascii was called). Ignore a
second Fingerprint line in parse_single_fingerprint.
2008-06-14 02:24:46 +00:00
fyodor
17f6f3e665 improve wording - suggested by Kris 2008-06-14 00:40:59 +00:00
fyodor
ac12ab6b41 o Added a new timing_level() function to NSE which reports the Nmap
timing level from 0 to 5, as set by the Nmap -T option.  The default
  is 3. [Thomas Buchanan]
2008-06-14 00:22:05 +00:00
david
9c646a4873 Make the parameter to parse_fingerprint_file const. 2008-06-13 17:32:47 +00:00
kris
44f6087b94 Merging changes from my vc2008-testing branch. This moves Windows development
to VC++2008.
2008-06-13 05:58:11 +00:00
david
2e48dde838 Fix a duplicate "that that" in docs/scripting.xml. 2008-06-12 22:34:34 +00:00
kris
dddea16e2e fixing a repetitive typo in scripting.xml 2008-06-12 18:51:05 +00:00
david
902d3dcf0f Break the libdnet->libpcap mapping output into its own function. 2008-06-12 16:58:16 +00:00
david
07515db1d5 Int the DEV/WINDEVICE output, additionally show the "leftover" libpcap devices,
those that don't have a libdnet name that maps to them. This should be a help
in debugging, as it now shows all the libdnet names, all the libpcap names, and
how they all relate to each other.
2008-06-12 16:42:03 +00:00
kris
2f9321360f o Added a new NSE Comm library for common network discovery tasks such
as banner-grabbing (get_banner()) and making a quick exchange of data
  (exchange()).  16 scripts were updated to use this library. [Kris]

I have *not* been able to test all of these scripts; however, I have
reviewed them and they should all work properly.  I would really like
some more testing, though :)

This commit includes scripting.xml documentation.
2008-06-12 14:32:25 +00:00
fyodor
cede9ab542 go through all ulinks to add hidepdf, change to xref, update, etc. 2008-06-12 10:23:30 +00:00
david
d8ad54907c Protect the WINDEVICE output code with #ifdef WIN32. 2008-06-12 01:45:06 +00:00
david
0101e9e0ab Change the DEV/WINDEVICE output (the part that shows the mapping from
dnet names to WinPcap names) to use the no-nonsense approach of simply
calling DnetName2PcapName for every interface returned by getinterfaces.
DnetName2PcapName calls intf_get_pcap_devname, which is same function
called by eth_open on Windows, so now the output really reflects Nmap's
view of the world.

This doesn't remove interface aliases, so if you have any aliases
enabled, you will see what look like duplicated lines. I have chosen to
leave them in for now to assist with debugging if any alias-related
problems come up in the future. They could be taken out easily if this
is not desired.

This brings what may be a startling change: the lo0 loopback interface
no longer maps to /Device/NPF_GenericDialupAdapter, but to no adapter at
all (signified by "<none>"). I believe the old behavior was wrong,
merely an artifact of the way the code happened to line up two lists of
interfaces. /Device/NFP_GenericDialupAdapter is for dialup and VPN
capture, and the loopback interface isn't supported by WinPcap (or
Windows for that matter) at all. See
http://www.winpcap.org/misc/faq.htm#Q-5
http://www.winpcap.org/misc/faq.htm#Q-13
2008-06-12 00:57:49 +00:00
bmenrigh
7af6810d91 Added the BMC, CA-mq, and Goverlan service match lines from Tom Sellers. 2008-06-12 00:34:51 +00:00
batrick
11bb301510 Updated showOwner.nse 2008-06-11 07:34:00 +00:00
kris
b5e046b693 Fixing another bug found by Ilja, this time in Idle Scan: ipid_proxy_probe() was calling readtcppacket() with an unverified length argument. 2008-06-11 06:11:52 +00:00
kris
861f9ff24b Fixing another bug found by Ilja where a pointer in ippackethdrinfo() could have gone outside of the buffer it was referencing (reading, not writing) 2008-06-11 06:00:17 +00:00
kris
92a9b10138 Fixing a bug in tcppacketoptinfo() spotted by Ilja which would break parsing of the tcp options. Also fixing another one spotted by me when investigating this: if the invalid SACK length of 2 was in the packet, this function would have treated it as valid 2008-06-11 05:23:47 +00:00
kris
1d0456acad o Fixed a bug which caused -PN to erronously bail out for unprivileged
users.  Thanks to Jabra (jabra(a)spl0it.org) for the report. [Kris]

This was introduced when the ping probes were reorganized and moved
out of NmapOps (the o.pingtype check wasn't copied over)
2008-06-10 05:16:29 +00:00
batrick
4eb6b3b5c4 Formatting and typo changes. 2008-06-10 00:47:46 +00:00
batrick
10f6fc9b53 Updated second embedded varlist to an itemized list as in
socket_object:connect() (works?).
2008-06-09 21:23:19 +00:00
batrick
1abbed9548 Move </para> tag above second embedded list for Mutexes (bad rendering?) 2008-06-09 21:10:53 +00:00
batrick
0564b25559 Added jah's patch to fix Script Database bug: http://seclists.org/nmap-dev/2008/q2/0623.html 2008-06-09 19:46:54 +00:00
david
153f35351f Document zenmap r8086 (fix for loading non-ASCII results from the database) in
the CHANGELOG.
2008-06-09 19:31:33 +00:00
kris
743eb48856 o Fixed some memory leaks in NSE found with Valgrind. [Kris] 2008-06-09 16:54:08 +00:00
fyodor
a3a6853c08 Update --spoof-mac section; remove Nmap version numbers and time from Nmap startup-messages. Canonicalize the Nmap capitalization and URL from those messages too. 2008-06-09 08:38:29 +00:00
batrick
46ce09a994 Minor optimizations to stdnse.lua
Fixed stdnse.lua to use a default name for module()
2008-06-09 02:23:22 +00:00
batrick
d47e9fd66d Updated Implementation of scripting book. 2008-06-08 22:04:38 +00:00
kris
9af737cd7f Changing --no_stylesheet to --no-stylesheet in the refguide, and changing
a few more long options with underscores in comments and output
2008-06-08 15:34:07 +00:00
batrick
46e5f50b24 Minor bug fix to new strbuf. 2008-06-08 07:29:31 +00:00
batrick
06da4ac2ed Updated strbuf.lua 2008-06-08 07:22:14 +00:00
batrick
b8d8702dda Updates to strbuf API. 2008-06-08 07:20:45 +00:00
kris
0632f1f8da updating --release-memory (thus far) and freeing some other areas early on 2008-06-08 05:29:00 +00:00
fyodor
798438e2d2 apply some suggestions from Patrick Donnelly and Eric Krosnes 2008-06-07 10:53:17 +00:00
david
a7a5d3042b Add the results of about 60 OS submissions. 2008-06-07 04:39:01 +00:00
david
214c29c80b Whoops, we can't free something allocated with cp_alloc. Handle it another way. 2008-06-07 04:28:56 +00:00
david
1058a9bfd9 Refactor parse_classline to be a lot more straightforward. Some of my recent
commits had changed its behavior because of the complicated logic that was used
before.
2008-06-07 04:18:26 +00:00
david
6abba38b19 Remove a fingerprint parsing error that can't happen anymore. 2008-06-07 03:23:52 +00:00
david
51ae7d1f24 Make parse_classline accept blank class lines like
Class  || |
2008-06-07 03:22:00 +00:00
david
6f9f79cabf Allow a fingerprint to have an empty description in parse_single_fingerprint.
This is used by OSassist which often has to read such prints. Previously it
caused a parse error.
2008-06-07 01:16:24 +00:00
ejlbell
7cf7259f9d New and improved robots script
* Instead of printing all disallowed entries it now only prints the
  first 20. In verbose and debug modes it prints more entries, the exact
  number depends on the debug and vebose level

* Prints out the number of disallowed entries 

* Prints a message if a robot.txt file exists but has not entries.

* More resilient parsing and duplicate removal code

* Extended the line length to 50 characters so less vertical space used
2008-06-06 17:30:09 +00:00
fyodor
8b0b2559ea remove nse-license section, add content to nse-format-license 2008-06-06 06:17:13 +00:00