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

3493 Commits

Author SHA1 Message Date
david
c743fd5353 Make some corrections to nmap-os-db suggested by João Medeiros. 2007-11-16 17:07:51 +00:00
kris
477214a779 Fixing another possible NULL dereference, in getTracePort() in traceroute.cc. Found with Coverity, CID 29 2007-11-16 03:45:03 +00:00
kris
ad7b6e416b This isn't fixing a bug; Coverity (CID 27) flagged this so I looked, and it doesn't make sense. Coverity saw that 'received' was tested again NULL, but was dereferenced afterwards with no check. So it should either be checked later, or not checked at all. Following timing.cc, and the fact that it isn't passed NULL anywhere, and because it doesn't make sense to pass 'adjustTimeouts' nothing to work with, I've just removed the check. Yeah, this log message is way longer than the patch is :). 2007-11-16 03:27:30 +00:00
kris
66064ad778 Fixing another possible NULL dereference, this time in readTraceResponses() in traceroute.cc. Any replies at all are apparently counted below this section of code, and there is no else case to go with this if and else if, so I figure I'll just let it go false so it goes along with any other abnormal responses. Found with Coverity, CID 28. 2007-11-16 03:14:59 +00:00
kris
7f1654e3ac Adding a couple free()s when having an early return in l_port_accessor() in nse_nmaplib.cc. Coverity (CID 32) found function_name, I added target_ip. 2007-11-16 02:20:09 +00:00
kris
3bb4599edd Fixing another possible negative array index, this time during Bounce Scan. Found with Coverity, CID 12. 2007-11-16 02:03:13 +00:00
kris
b452a38426 Call arp_close() on arp handle in setTargetNextHopMAC() in tcpip.cc. This functions frees it and closes it's descriptor. Found with Coverity, CID 16 2007-11-16 01:50:51 +00:00
kris
6ce9d03d8a Return NULL in reason_sort() if tail is NULL as it's possible tail never gets redefined. I think that's better than an assert(tail). Found with Coverity, CID 24 2007-11-16 01:26:42 +00:00
kris
fe63809293 Setting uninitialized pointer to NULL. It was possible that it would not be set, and also not be NULL so it would bypass the assert() on it, which in turn caused a crash. Found with Coverity, CID 18 2007-11-16 00:48:44 +00:00
kris
242744baaa Avoid negative array index (-1). Found with Coverity, CID 11 2007-11-16 00:17:23 +00:00
fyodor
5e67f7db4c When version detection changes the state of a port, the reason field is now updated as well (to udp-response or tcp-response as applicable). Thanks to Thomas Buchanan for the patch. 2007-11-15 23:41:12 +00:00
kris
c5244fb05f Fixing a double-free crash caused when using -O and --release-memory. Found with Coverity, CID 19 2007-11-15 23:36:18 +00:00
kris
2fbed3e856 Fixing a bug in TargetGroup::parse_expr(). A specification like '192.168.1.-4' would actually cause Nmap to treat it like '192.168.1.-'. Found with Coverity, CID 2. 2007-11-15 23:01:32 +00:00
kris
8de1fda6b3 Removing numberlist2array(); it's unused since David switched the ping port selection to use the same mechanism as port scans (e.g. using -PShttp*). 2007-11-15 22:42:17 +00:00
kris
01571cee00 fixing a bug in setState() in traceroute.cc. A || was used instead of && which caused it to always evaluate true -- Coverity CID 23 2007-11-15 22:25:00 +00:00
fyodor
acdaac1464 Update port state reason to script-set when an NSE script changes the --reason of a port state. Also make reason element available in port-table. Patch by Matthew Boyle 2007-11-15 21:03:00 +00:00
david
809a1e4612 Change paths in Makefile and zenmap.spec.in to match Zenmap file name changes. 2007-11-15 20:51:55 +00:00
david
5ac140d710 Upgrade WinPcap to version 4.02. 2007-11-15 20:30:47 +00:00
david
696134afc1 Add instructions on how to include the Vista version of Packet.dll in the WinPcap upgrading instructions. 2007-11-15 20:25:13 +00:00
david
1d2eba6405 Add a note about updating the LICENSE file in the WinPcap upgrading instructions. 2007-11-15 18:27:33 +00:00
david
661a4e6d4a Reformat the WinPcap upgrading instructions and add some more information (file locations, web addresses). 2007-11-15 18:08:38 +00:00
david
95fa8efd19 Don't include sys/sockio.h from tcpip.cc; it's already in tcpip.h. 2007-11-15 17:29:22 +00:00
fyodor
39e2f3ed61 New PPTP version detection script from Thomas Buchanan 2007-11-14 23:30:22 +00:00
fyodor
0cdedc07fc reword error message 2007-11-14 22:58:37 +00:00
ejlbell
34763e08f4 Added support for multiple states in portnumber() rules 2007-11-14 20:04:45 +00:00
fyodor
d928402c79 remove hardcoded (and wrong) winpcap version number 2007-11-14 02:04:37 +00:00
fyodor
a62e2976da no longer strip Nmap binary. It was causing problems on OS X, and I noticed that debian package removes that too 2007-11-14 00:25:49 +00:00
david
6af91e9519 Link with -ldl whenever we include liblua, independent of whether we use
OpenSSL.
2007-11-13 01:55:37 +00:00
david
0e5ba41d15 Align blocks to 2 * sizeof(size_t) in charpool.c. This is what Glibc's malloc
does.
2007-11-13 01:17:39 +00:00
fyodor
278baafd04 added some new service numbers from Lee Fisher 2007-11-11 22:13:22 +00:00
david
fa31f0ae5e Check if -lnsl is required in configure. 2007-11-11 20:04:58 +00:00
david
21ee718329 Check for sys/sockio.h in configure and include sys/sockio.h in tcpip.cc. This is where SIOCGIFCONF is on Solaris 9. 2007-11-11 19:34:19 +00:00
david
fce25930e5 Give PYTHON as an argument to configure and not to both invocations of make in
zenmap.spec.in.
2007-11-11 18:49:43 +00:00
fyodor
e4c2889ead minor rewording 2007-11-10 22:30:04 +00:00
fyodor
6bf54bbc63 update CHANGELOG to reflect latest changes and prepare for 4.23RC1 release 2007-11-10 08:39:47 +00:00
david
4b8325988a Check for Python in configure and substitute PYTHON in the makefile. 2007-11-09 15:56:09 +00:00
david
a5d6cdac79 Remove AM_PATH_GTK_2_0 from aclocal.m4 for now. 2007-11-09 15:37:32 +00:00
fyodor
bd41a81279 add a short note 2007-11-09 10:43:35 +00:00
fyodor
af72dd2ae7 add dependency for python-sqlite2 2007-11-09 10:43:07 +00:00
david
72d231d5df Add nmapfe and xnmap to Zenmap's spec file. 2007-11-09 06:03:40 +00:00
david
4a753006db Make symlinks from nmapfe and xnmap to zenmap. Don't create the nmapfe symlink
unless that file doesn't exist or is already a link.
2007-11-09 05:29:25 +00:00
david
65abaee9f3 Split the zenmap RPM subpackage into its own spec file. 2007-11-08 08:17:35 +00:00
david
9d6a94d6ea Remove an entry for a test script from script.db. 2007-11-08 07:44:49 +00:00
fyodor
6fd80d1078 update a Linux sig 2007-11-06 22:44:05 +00:00
fyodor
80ea49e3f9 bump version number 2007-11-06 22:43:25 +00:00
david
e94746493f Fix the Zenmap build on 64-bit architectures (where %{_libdir} is "/usr/lib64"
but Python modules may not be installed there) and make it work with different
versions of Python.
2007-11-06 17:25:09 +00:00
david
c0c4c72bc5 Document that an apparently unused function is actually used by the fingerprint utilities. 2007-11-05 22:54:07 +00:00
ejlbell
9dea83347b Accidentally committed experimental version of robots.nse 2007-11-05 21:41:47 +00:00
ejlbell
4694e4e7a7 changed path back to original location 2007-11-05 21:26:04 +00:00
ejlbell
1a73a31df0 updated 'nse directory constant' that seems to effect scripts using nselib in certain functions 2007-11-05 21:21:08 +00:00