1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-25 07:39:02 +00:00
Commit Graph

9190 Commits

Author SHA1 Message Date
fyodor
8f585c7882 Update my email address: fyodor@insecure.org => fyodor@nmap.org 2012-12-10 01:14:42 +00:00
david
e7a4a8a364 Set sa.sndd_8022_ethertype to 0 in eth-ndd.c.
This file is used for Ethernet handles on AIX. We had a report from
Peter O'Gorman that setting this member to 0 rather than ETH_TYPE_IP was
necessary to avoid an EEXIST error on bind.

http://seclists.org/nmap-dev/2011/q4/349
http://seclists.org/nmap-dev/2011/q4/353
http://seclists.org/nmap-dev/2011/q4/att-353/aix.patch
https://code.google.com/p/libdnet/issues/detail?id=23

However Ben Lentz more recently tried the patch and said that he still
got an EEXIST on bind.

http://seclists.org/nmap-dev/2012/q4/327
http://seclists.org/nmap-dev/2012/q4/395

So who knows what the right thing to do here is. The messages from IBM
seem to say that setting ETH_TYPE_IP is definitely wrong though.
2012-12-08 11:04:23 +00:00
david
8f3165f7a6 Don't substitute nonprinting characters in http-git.
NSE already escapes output everywhere. More importantly, the call to
gsub returns two values, which were being treated as structured output
and unstructured output. The second return value is an integer count of
substitutions, so what you would see in normal output was
|_http-git: 0
while what used to be normal output was going to XML.

Alex Weber noticed that the script was not working.
http://seclists.org/nmap-dev/2012/q4/397
2012-12-08 10:22:55 +00:00
david
e78540e9a5 Fix regex in http-git.
Patch by Alex Weber.
http://seclists.org/nmap-dev/2012/q4/397
2012-12-08 10:22:54 +00:00
fyodor
6ef49f4959 Add a missing </see> element 2012-12-08 04:11:25 +00:00
dmiller
f5d999efaf Change su-to-zenmap.sh from bash to sh script 2012-12-06 18:54:36 +00:00
dmiller
9e6d7b2384 Change test-addrset.sh to be POSIX sh compliant 2012-12-06 18:46:29 +00:00
david
7ebbac2746 Update some mailing list references. 2012-12-06 02:34:28 +00:00
david
ab802a6f21 Update some more headers. 2012-12-06 02:25:46 +00:00
david
ec53dc049a Update with new mailing list addresses. 2012-12-06 02:23:34 +00:00
fyodor
6a42ef47c0 Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license. 2012-12-06 01:21:42 +00:00
david
3dcda9d536 Update Mailman URLs.
http://seclists.org/nmap-dev/2012/q4/389

git ls-files | xargs perl -p -i maillist.pl

maillist.pl:
%MAP = ("nmap-dev" => "dev", "nmap-hackers" => "announce", "nmap-svn" => "svn");
s%http://.*/(mailman/.*)/(nmap-dev|nmap-hackers|nmap-svn)%http://nmap.org/$1/$MAP{$2}%g;
2012-12-05 23:55:29 +00:00
fyodor
14e35a2d67 Just moved a task slightly in the todo file 2012-12-05 20:04:19 +00:00
fyodor
296d76d3ac task updates from discussions w/David 2012-12-05 19:59:16 +00:00
david
0cd8c9d6e5 Make test-addrset.sh exit with nonzero status if any tests fail.
Patch by Andreas Stieger.
http://seclists.org/nmap-dev/2012/q4/385
2012-12-05 06:48:15 +00:00
david
d5e7ec2617 CHANGELOG for last few commits fixing --without-liblua.
http://seclists.org/nmap-dev/2012/q4/366
http://seclists.org/nmap-dev/2012/q4/367
http://seclists.org/nmap-dev/2012/q4/374
2012-12-04 03:06:23 +00:00
david
48e94b7886 NOLUA guard in Target::~Target. 2012-12-04 03:06:22 +00:00
david
e941b783f4 Whitespace. 2012-12-04 03:06:21 +00:00
david
7f5a11f006 NOLUA guard in Port::freeScriptResults. 2012-12-04 03:06:20 +00:00
david
015e84908e Simplify comparescriptids and rename to scriptid_lessthan. 2012-12-04 03:06:19 +00:00
david
5eb62f3169 Give comparescriptids static scope. 2012-12-04 03:06:18 +00:00
patrik
38ad563a8f Fix missing export _ENV in gps library 2012-12-02 16:15:59 +00:00
david
8d6dce4a01 Fix CRC32c calculation on 64-bit platforms.
Patch by Pontus Andersson.
http://seclists.org/nmap-dev/2012/q4/361
2012-12-01 23:03:05 +00:00
david
c11d183718 CHANGELOG: Move a feature change that wasn't in 6.25. 2012-11-30 08:41:23 +00:00
fyodor
15a2bb8c78 Add a little extra info to a changelog entry 2012-11-29 23:55:54 +00:00
fyodor
e09125e010 Update CHANGELOG to note 6.25 release and also bumped up Nmap SVN version number to avoid confusion and rebuilt files accordingly 2012-11-29 23:40:26 +00:00
david
d662ef817b Don't hack_xinitrc if system xinitrc doesn't exist. 2012-11-29 20:49:47 +00:00
david
4c9a3ef4de Add multicast group name output to broadcast-igmp-discovery.
Patch by Vasily Kulikov.
http://seclists.org/nmap-dev/2012/q4/350
2012-11-29 19:58:30 +00:00
david
2ffd03dfc3 Add define for SHUT_WR on Windows.
The same as was applied for a similar change in r29743.
2012-11-29 19:35:27 +00:00
david
48e94596af Add a forward declaration for shutdown_sockets. 2012-11-29 19:35:26 +00:00
fyodor
592e33c4db Add a tiny task 2012-11-29 19:06:22 +00:00
david
dc5d51f335 Fix copy-paste error in Ncat timeout warning messages.
Patch by Michal Hlavinka.
http://seclists.org/nmap-dev/2012/q4/351
2012-11-29 18:36:31 +00:00
david
e262a5bb19 Add CPE to smb-os-discovery output. 2012-11-29 05:36:50 +00:00
david
21e953d489 Add cpe field to smb-os-discovery output. 2012-11-29 05:36:49 +00:00
david
0c3dd2aaf7 Adjust some Windows CPE. 2012-11-29 05:36:47 +00:00
david
db6825d319 Use smb.get_windows_version in smb-os-discovery. 2012-11-29 05:36:46 +00:00
david
297e0a1dfd shutdown write socket on stdin EOF in listen mode.
http://seclists.org/nmap-dev/2012/q4/337
2012-11-29 03:51:06 +00:00
david
2bfeace798 Make it an error in nsock_make_socket if AF_UNIX can't bind.
http://seclists.org/nmap-dev/2012/q4/345
2012-11-29 03:31:50 +00:00
dmiller
09014ec1c1 Update documentation to include S: and P: port qualifiers 2012-11-29 03:16:15 +00:00
david
7dfb56a74a Revert r30053, debian_kfreebsd in service CPE.
Most of these matches are likely to be Linux, not FreeBSD.
2012-11-28 03:47:36 +00:00
david
9f3fa403ef Automatically create and delete a source Unix domain DGRAM socket.
Patch based on one by Tomas Hozza.
http://seclists.org/nmap-dev/2012/q4/334
2012-11-27 21:47:26 +00:00
david
d52a6fd23c Straighten out port computation in nsock_connect_internal.
There was a bug here where AF_INET6 was used instead of AF_UNIX in the
HAVE_SYS_UN_H section. This masked another bug, which was that the
HAVE_SYS_UN_H section inadvertently extended into what was supposed to
be the HAVE_IPV6 section.
2012-11-27 21:47:25 +00:00
david
d81b4112a0 Don't add rc to write_count when rc is negative.
Noticed by Tomas Hozza.
2012-11-26 22:13:30 +00:00
david
49e9ae4f57 Add instructions for bypassing Gatekeeper on OS X 10.8.
New OS X by default blocks applications downloaded from the Internet.
You have to right-click in order to install them.
https://support.apple.com/kb/HT5290
2012-11-26 20:56:15 +00:00
paulino
dd6105588d Fixes bug when reading the initial base uri. These scripts were incorrectly setting "/" as the starting point. 2012-11-25 18:38:59 +00:00
batrick
e30122ef0a Make the catch function yieldable. 2012-11-23 03:50:17 +00:00
batrick
9754682420 Cancel the sleep event if the thread is destroyed by NSE. This
solves an assertion failure when the thread was garbage collected
by Lua before the sleep callback occurred.

Reported by Henri Doreau [1].

[1] http://seclists.org/nmap-dev/2012/q4/43
2012-11-23 03:47:43 +00:00
david
aa25518d95 Ignore a GError from printing.
This strange error happens when canceling a "Print to File" operation on
Windows:

Traceback (most recent call last):
  File "zenmapGUI\MainWindow.pyo", line 831, in _print_cb
  File "zenmapGUI\Print.pyo", line 156, in run_print_operation
GError: Error from StartDoc

The web seems mostly silent on this error, and I can't guess at the
cause. Let's ignore the error as it seems to be harmless.

Reported by Imre Adácsi.
http://seclists.org/nmap-dev/2012/q4/161
2012-11-22 04:39:32 +00:00
david
06c190da84 CHANGELOG for new http-fingerprints. 2012-11-22 01:02:07 +00:00
david
b6477c0a2d Move new CHANGELOG above 6.20BETA1 release line. 2012-11-22 01:02:06 +00:00