1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00
Commit Graph

1584 Commits

Author SHA1 Message Date
fyodor
f2ebfdecba o Fixed a bug on Win32 problem which caused an infinite loop when Nmap
encountered certain broadcast addresses. [Dudi Itzhakov]
2008-04-09 00:07:20 +00:00
david
6b1465612f Lower-case zenmap for uniformity with RPM packages. 2008-04-08 22:17:12 +00:00
david
4787e2e239 Allow adding an appendage to the image name. 2008-04-08 22:12:39 +00:00
david
3a8f2d00e4 Another known issue: You can't run from a directory with a space in the name. 2008-04-08 21:49:56 +00:00
david
120367b24d Add COPYING to the Zenmap distribution. 2008-04-08 21:12:29 +00:00
david
db7d641f38 Just copy Zenmap.app, don't move it. 2008-04-08 21:10:26 +00:00
david
6da0f26a20 Add a README to the Zenmap distribution. 2008-04-08 21:07:09 +00:00
david
7057e0a03d Fix an error in macosx/Makefile having to do with creating the staging directory. 2008-04-08 20:09:17 +00:00
david
061ded973d Allocate 128 characters for the idle scan ScanProgressMeter title. Previously
it was 32 characters. The "idle scan against " and the \0 terminator take up 19
characters, leaving only 13, which isn't enough to represent all IP addresses,
let alone host names.
2008-04-08 19:59:56 +00:00
david
4d6d9eef1d Add macosx/Makefile, which creates a disk image of the Zenmap bundle. 2008-04-08 19:50:06 +00:00
kris
55eb8199fe fix: nmap.getPortState() -> nmap.get_port_state() in NSE docs 2008-04-08 16:15:10 +00:00
kris
43523f441b Correcting the uptime parsing and reporting in SNMPsysdesr.nse when the uptime is less than about 46 hours. The amount of bytes holding the uptime is variable up to 4, but the script was assuming it always held 4 bytes of uptime. When the real uptime was less than 46 hours, this script was reporting an uptime anywhere from 5 days to 130 days (I think it actually reported 0 days once, but the hours were all messed up). 2008-04-08 14:58:17 +00:00
fyodor
c89f191406 minor updates to license and author fields 2008-04-07 08:57:52 +00:00
fyodor
60d1e103d3 Canonicalize license text--more than half did not even spell license correctly. They all still say that they are under Nmap's license, just with consistent capitalization and spelling, and now a link to Nmap legal page at http://nmap.org/man/man-legal.html 2008-04-07 08:23:21 +00:00
kris
425d6afdab Adding more PCRE option flags to the list returned by the NSE pcre.flags() function. This is up-to-date as of PCRE 7.6 2008-04-06 00:01:33 +00:00
fyodor
d3d97d934b print host name and IP in a script engine status message, rather than just hostname (which Nmap sometimes does not know). Patch from Jah 2008-04-05 23:52:41 +00:00
fyodor
83fe88c0f8 apply patch from Tom Sellers which modifies ms-sql-s signatures; I made minor changes 2008-04-05 23:44:30 +00:00
fyodor
8bee871157 change svn:externals to correspond to path change in svn from /umit to /zenmap 2008-04-04 19:12:27 +00:00
fyodor
8d3569c71c disambiguate a link 2008-04-04 19:11:47 +00:00
fyodor
20143ece6f add MingW compilation fix 2008-04-04 19:11:19 +00:00
david
1b7063ee73 Fix a typo in MACLookup.cc: corolation -> correlation. 2008-03-31 23:05:53 +00:00
doug
507e720217 vsftpd 00PS->OOPS patch from Kris
and
citrix metafrme -> metaframe from James Beers
2008-03-31 22:56:33 +00:00
david
22dbdd4a3b Make a new method HostScanStats::probes_outstanding_empty to avoid a couple of possible traversals of probes_outstanding. 2008-03-31 15:14:34 +00:00
david
6aa96dd816 Change a call to probes_outstanding.size to one to num_probes_outstanding for consistency. 2008-03-31 14:39:34 +00:00
kris
8530569047 Adding my Datafiles NSElib for parsing the nmap-* data files for scripts and also update rpcinfo.nse to use this library. Includes CHANGELOG and docs/scripting.xml updates 2008-03-30 20:33:33 +00:00
kris
5f81cca485 When using the NSE nmap.set_port_state(), check if the requested port is already in the requested state. Otherwise, "Duplicate port" messages are printed, and the inaccurate "script-set" state reason is used. This mostly just occurs when -sV is used (I first spotted this when using Brandon's nbstat.nse with -sV, although other scripts do the same thing) 2008-03-27 22:15:50 +00:00
kris
60924c7308 update ripeQuery.nse to not print extraneous beginning whitespace 2008-03-27 18:08:42 +00:00
david
9186e84358 Add --min-rate to CHANGELOG. 2008-03-26 02:50:48 +00:00
david
5cba09a883 Make the display of sending rates dependent on -d. 2008-03-26 02:47:42 +00:00
david
feab94ebd3 Merge the minimum-rate scanning feature (--min-rate) from
/nmap-exp/david/nmap-fixed-rate.
2008-03-26 02:41:32 +00:00
kris
dd220398b1 Remove struct connectsockinfo{} from global_structures.h as it's unneeded now. It was initialized in pos_scan, but connect scanning is now handled by ultra_scan. 2008-03-26 02:15:53 +00:00
bmenrigh
6dc4888538 Round two of UCSD services. This bunch was our most common set and
represents a significant portion of our total returned fingerprints.

I especially liked adding the X-ray machine...

Here is the "changelog":

* Added Tolis BRU (Backup and Restore Utility)
* Added HP Digital Sender Service client
* Added Apple iChat Server file transfer proxy
* Added PBS/Maui Roll Rocks Cluster service
* Added CommVault Galaxy data backup
* Added Ad-Aware SE Enterprise
* Added Pharos Notify printing client
* Added Apple Remote Events
* Added Novell Groupwise SSL match so the SSL tunneling works
* Added Novell Groupwise HTTP services (holy crap there are a lot!)
* Changed "Compaq Diagnostis httpd" to correct spelling and removed o/Windows/
* Changed winshell to include i/**BACKDOOR**/
* Added Bruker AXS X-ray controller status (I was tempted to set d// to death-ray :-p)
2008-03-25 01:19:43 +00:00
fyodor
eddc5e4faf o Fix MingW compilation by adding a signal.h include to
main.cc. [Gisle Vanem]
2008-03-24 23:21:11 +00:00
fyodor
70eac662f4 o Reformat Nmap COPYING file (e.g. remove C comment markers, reduce
line length) during Nmap windows build so that it looks much better
  when presented by the Windows executable (NSIS) installer.  Thanks
  to Jah for the patch (which was modified slightly by Fyodor).
2008-03-21 01:05:09 +00:00
bmenrigh
8391686eff Adding my first round of changes for UCSD services. This is really
just the tip of the iceberg so there is lots more to come as I work
through everything.

Here is the list of changes:

* Added XML softmatch (commented out for the time being)
* Added Juniper Junoscript XML interface match
* Changed "ROOT SHELL" match to include i/**BACKDOOR**/
* Added FreeBSD rshd match
* Added IQinVision IQeye3 service matches (telnetd, fingerd, httpd, 
logind rtspd)
* Added d/cluster/ as a new device type
* Added Ganglia XML Grid monitor detection
* Added Barracuda Networks Spam Firewall smtpd (default banner only)
* Added Serv-U SSL required banner (error 431)
* Changed Safenet to SafeNet in all locations
* Added SafeNet Sentinel Keys License Monitor httpd
* Changed "vsftpd or WU-FTPD" to a softmatch because much more than just 
vsftpd and WU-FTPD match it
* Added Treck Embedded ftpd
* Changed Sony PCS-G70 telnet banner to be more generic so it can match 
G50, etc
* Changed SubEthaEdit service to BEEP
* Added Apple Xgrid Controller (BEEP/ANTP protocol)
* Added dCache distribute storage node
* Changed the nessus match lines to anchor to the start of a line and 
upped their rarity to cut down on false positives
* Added two matches for Dell OpenManage (one GetRequest, one HELP)
* Added HighPoint RAID Raidman web server
* Added Ruckus Media Player (Ruckus music service client)
2008-03-20 02:22:05 +00:00
bmenrigh
dc21a22aca Dropping stray '*' on previous Tandberg MXP match line. Tom may be able
to shed more light on what he meant by it.
2008-03-19 23:50:52 +00:00
bmenrigh
5394e1eb01 Tandberg MXP Video Conference appliance telnetd. Thanks to Tom Sellers
for the patch.
2008-03-19 23:29:49 +00:00
doug
4b1398933c AXIS webcam ftpd standardisation. Thanks to Lionel Cons 2008-03-19 02:36:08 +00:00
doug
749749558e New match line for another version of VxWorks FTPd
From Lionel Cons
2008-03-17 22:08:35 +00:00
david
ccc71fae70 Change insecure.org to nmap.org in nmap_winconfig.h. 2008-03-17 17:44:40 +00:00
david
a03232981c Add comments, an assertion, and simplify the logic a bit in nmap_dns.cc. 2008-03-15 22:57:00 +00:00
david
bceef244e5 Oops, I forgot to do the OS corrections file as well. Here it is. 2008-03-15 22:06:37 +00:00
ejlbell
7f58dc082c Switched bruteTelnet to the vulnerability category so it is not executed by default. Prompted by a bug report stating bruteTelnet failed on windows but switching is a good idea anyway as the script takes a long time to run. 2008-03-15 21:09:29 +00:00
fyodor
7f0bbd3e3a cannot use %configure macro anymore due to lame bug (spec file tries to use noarch-redhat-linux, but config.sub does not currently recognize that) 2008-03-15 10:24:49 +00:00
fyodor
85ac68ce65 regenerate zenmap man page 2008-03-15 10:23:38 +00:00
fyodor
356352cfa7 regenerated autoconf configure files using autoconf-2.61-9.fc8 2008-03-15 10:23:08 +00:00
fyodor
1c785a2e50 o Updated to latest (as of 3/15) autoconf config.sub/config.guess
files from http://cvs.savannah.gnu.org/viewvc/config/?root=config .
2008-03-15 10:21:56 +00:00
fyodor
d421951a21 update changelog and regenerate files in prep for 4.60 build and release 2008-03-15 01:21:22 +00:00
fyodor
f3782839f1 add zenmap man page to spec file 2008-03-15 01:21:00 +00:00
david
a91c7f75e4 Fix an infinite loop in nmap_dns.cc.
This changes the DNS engine to use addto_etchosts to add entries from
/etc/hosts into the DNS cache, rather than just inserting them using
push_front.

The reason for this is that there is a static unsigned variable in
addto_etchosts that keeps track of how many entries there are in the
cache. Using push_front bypassed this variable, allowing the entries in
/etc/hosts to sneak in under the radar. Thus is was possible for the
cache to contain, say, 266 entries when it thought it only had 256.

When the cache size is greater than or equal to 256, addto_etchosts runs
a deletion pass aiming to reduce the number of entries to 126. But the
peculiar loop logic of that function means that more than 256 entries
can be deleted. (How many more depends in part on how many entries there
are in /etc/hosts. There must be at least one for the hang to occur.)
When this happens, the signed counter underflows and becomes large
positive, ~65000. The code empties the cache trying to get the counter
under 127, but it can never happen.

To reproduce the hang, make an /etc/hosts file like this:

1.0.0.1 host-1-1
1.0.0.2 host-1-2
1.0.0.3 host-1-3
1.0.0.4 host-1-4
1.0.0.5 host-1-5
1.0.0.6 host-1-6
1.0.0.7 host-1-7
1.0.0.8 host-1-8
1.0.0.9 host-1-9
1.0.0.10 host-1-10
2.0.0.1 host-2
3.0.0.1 host-3
...
254.0.0.1 host-254
255.0.0.1 host-255

The hang can occur with even one entry in /etc/hosts, but saturating the
cache like this makes the hang less dependent on network conditions.
Then list-scan a netblock that is greater in size than 256 and is dense
in DNS entries (at least 256 entries per 4096 IP addresses). For
example,

nmap -sL scanme.nmap.org/22

works for me currently.
2008-03-14 21:45:41 +00:00