1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 19:09:01 +00:00
Commit Graph

2626 Commits

Author SHA1 Message Date
batrick
0924a6826f This patch fixes a bug reported here [1]. The bug was due to the nsock_yield
struct not being set in any of the pcap functions. Because of this,
the callback routines would attempt to use a NULL pointer for the lua_State *
and would then SEGFAULT.

[1] http://seclists.org/nmap-dev/2009/q2/0180.html
2009-04-25 10:06:58 +00:00
david
d122b91891 Merge from /nmap-exp/david/nmap-ssl, /nmap-exp/david/ncat-ssl, and
/nmap-exp/david/nsock-ssl. This brings in secure SSL connections for
Ncat. See http://seclists.org/nmap-dev/2009/q2/0183.html.
2009-04-25 03:24:00 +00:00
batrick
ea388dc454 Corrected the bug reported here http://seclists.org/nmap-dev/2009/q2/0192.html
by Michael Pattrick.
2009-04-25 01:31:58 +00:00
david
1fba10f142 In the Mac build, discard local changes on export and rebuild the script
database to remove any entries that might have been added accidentally.
2009-04-24 18:59:27 +00:00
david
1b2e726629 Sort script.db, remove erroneous smb-check-vulns-2.nse entry. 2009-04-24 18:45:00 +00:00
david
071046e385 Sort script names and categories when writing them to script.db. 2009-04-24 18:44:12 +00:00
david
8e09b0362e Oops, add CHANGELOG for r13055 in /ncat. 2009-04-24 18:05:04 +00:00
batrick
2b417929f1 Prevent scripts (threads) from yielding improperly (through a socket
or otherwise) in the file or in a hostrule/portrule.
2009-04-24 12:21:06 +00:00
batrick
947de27dfc Corrected the name confliction for the yield struct reported in:
http://seclists.org/nmap-dev/2009/q2/0171.html
2009-04-22 23:31:05 +00:00
fyodor
45a2cc29b5 remove line continuation chars which confuse some people 2009-04-22 20:00:19 +00:00
batrick
a470d311a7 Fixed a compiler warning. 2009-04-22 18:43:37 +00:00
fyodor
c96c7e9cf1 Added attribution to a few lines 2009-04-22 02:53:29 +00:00
fyodor
70ba63af2b Changes from yesterday's chat with David 2009-04-21 21:02:41 +00:00
fyodor
a200c4569f 4.85BETA8 version number update, new man page builds, etc. 2009-04-21 21:02:25 +00:00
fyodor
5b700dd947 New CHANGELOG in prep for BETA8 release today 2009-04-21 20:57:49 +00:00
ron
3882988f7a Removed some debug code 2009-04-21 19:41:02 +00:00
ron
3b11c8696f Fixed a small bug that caused 'checkall' to not actually check all 2009-04-21 19:40:08 +00:00
ron
7793572bc2 Updated the @usage yet again 2009-04-21 19:25:49 +00:00
ron
73b43aed51 Updated 'usage' section again 2009-04-21 19:22:46 +00:00
ron
0df410fb14 Updated the 'usage' section 2009-04-21 19:12:06 +00:00
ron
bc55de0c6e Adding new check for Conficker.C and up, using the peer-to-peer ports. 2009-04-21 18:30:40 +00:00
david
314b79b901 Document the --xml option in the Ndiff man page. (It claimed it was
unsupported.)
2009-04-21 06:11:44 +00:00
david
b69afa3046 Fix a couple of typos in CHANGELOG. 2009-04-20 22:07:43 +00:00
david
017339e372 [Ndiff] The setup.py installation script now suggests installing the
python-dev package in a certain error situation. Previously the
error message it printed was misleading:
  error: invalid Python installation: unable to open
  /usr/lib/python2.6/config/Makefile (No such file or directory)
The change was suggested by Aaron Leininger.
2009-04-20 19:15:00 +00:00
david
ea36c6c890 Require -d3, not just -d, for the message
Found whacked packet protocol 17 in get_ping_pcap_result
and rewrite it
	Received packet with protocol 17; ignoring.

The message is printed when we receive a packet we can't use during a
ping scan, but it's not "whacked" to receive a UDP packet during a TCP
scan for example.
2009-04-20 16:37:11 +00:00
ron
a251c563c3 fixed a <code> tag in smb.lua's NSEDoc 2009-04-19 17:44:45 +00:00
david
edde5c5686 Add a missing newline to the "Fetchfile" message. 2009-04-18 16:36:59 +00:00
david
27e94c0b28 Remove documentation for the bit.cast NSE function, which doesn't seem
to exist.
2009-04-17 16:35:43 +00:00
ron
1fbc9e62cf defaulted to basic login for smb-check-vulns (the test infected box I found doens't like extended logins, not sure whether it's because of Conficker or if it was random chance 2009-04-17 01:13:57 +00:00
ron
dd9f063b1f Updated Conficker.D-detection code 2009-04-17 01:09:29 +00:00
ron
14f2c0c6db Added experimental checks for Conficker.D/E 2009-04-17 00:34:13 +00:00
david
e8dbcb7093 Note new Ncat web proxy GET, HEAD, and POST in CHANGELOG. 2009-04-16 21:42:24 +00:00
daniel
da6cb1d19e o [Nbase] The checksum functions now have an nbase_ prefix. This
should prevent name collisions with internal but exported functions
  in shared libraries Nmap links against (e.g. adler32() in zlib).
  Such collisions seem to confuse the runtime linker on some platforms.
  [Daniel Roethlisberger]
2009-04-16 09:38:13 +00:00
fyodor
d0e21e1d03 Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
fyodor
9422c338fb logical operators for NSE script selection 2009-04-14 22:49:00 +00:00
bmenrigh
3164ea7a20 I ran into a case where Hummingbird Exceed X11 reported slightly
different bytes in a few X11 fields.  I've made the match more
generic.  I have a feeling that the X11 fields might contain useful
information that we could include in i// but I don't know enough about
X11 to do that myself.
2009-04-14 22:06:31 +00:00
fyodor
f71875130c Some changes after chat w/David 2009-04-13 21:37:24 +00:00
fyodor
1c94622d0f Oops, forgot to check this in after last chat w/David 2009-04-13 20:58:29 +00:00
batrick
05fdc6ed90 Added note about NSE being rewritten in Lua. 2009-04-12 01:41:19 +00:00
david
6b4c3c5532 Replace random-1.xml and random-2.xml with bigger scans that include OS
detection. Update README.
2009-04-10 19:14:18 +00:00
david
4c13088d1e Use "Host is up.", not "Host appears to be up." to match Nmap output. 2009-04-10 19:08:48 +00:00
david
c701b9559b Merge from /nmap-exp/david/ndiff-mkii and
/nmap-exp/david/zenmap-ndiff-alt. This is the new Ndiff output format
described in http://seclists.org/nmap-dev/2009/q1/0825.html and
http://seclists.org/nmap-dev/2009/q2/0127.html.
2009-04-10 19:07:39 +00:00
david
e69ae791cb Fix an identifier in a TODO comment. 2009-04-08 20:04:54 +00:00
bmenrigh
24fbedd748 Changed two OS scan error() calls to LOG_STDOUT instead. They aren't
errors and having them go to STDERR could be confusing.
2009-04-08 01:14:48 +00:00
bmenrigh
b38b5f6270 Changed a few error() calls to log_write(). Removed the (redundant)
"\n" from a few error() calls.  Changed a few f?printf() calls to
error() or log_write().

Most notably, I didn't change any of the --interactive printf()s or
the usage printf() call.

I think we should draw up some internal notes on when to use
LOG_STDOUT versus LOG_PLAIN versus all the other LOG_* options.
2009-04-07 23:10:51 +00:00
bmenrigh
ae9def6d85 Handled all of our stray uses of .*\r\n.* and variations like .*\n.*\n
by collapsing them to a single .* and making sure that the DOTALL
(PCRE s modifier) is set on the match.  This should dramatically cut
down on cases where MATCHLIMIT is returned.  See
http://seclists.org/nmap-dev/2009/q2/0086.html for a discussion.  I
chose to only use .* in this patch even though .*? will be faster in
some cases.  I felt the speed benefit of .*? did not outweigh the
relative obscurity of lazy quantifiers.  I have some ideas on how
audit matches for performance and some ideas on optimizations that can
be done.  .*? and friends will have wait.
2009-04-07 21:51:36 +00:00
david
be8e612547 Note Zenmap Cancel button in CHANGELOG. 2009-04-06 17:09:58 +00:00
batrick
918a3955d5 Fixed banner.nse to remove surrounding whitespace in the banner.
For example, this removed SSH greetings final two characters: carriage return
and newline.
2009-04-06 16:00:18 +00:00
david
0be972cbc5 Merge from /nmap-exp/david/ncat-proxy. This adds support for
--proxy-auth in listen mode.
2009-04-06 15:42:58 +00:00
jah
7a23fa793e Added nse_main.lua to NSIS installer and zip package. 2009-04-05 20:09:51 +00:00