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

1584 Commits

Author SHA1 Message Date
fyodor
22fac0e3e5 apply patch by Jah to handle some bogus responses from some devices. See http://seclists.org/nmap-dev/2008/q2/0731.html and http://seclists.org/nmap-dev/2008/q2/0732.html 2008-06-29 04:26:20 +00:00
fyodor
6d52a3db77 o Updated showHTMLTitle NSE script to follow one HTTP redirect if
necessary as long as it is on the same server. [Jah]
2008-06-29 04:21:30 +00:00
fyodor
b3fc32e7a4 signatures for Cyrus synchronization server and newer Cyrus IMAP versions from Matt Selsky 2008-06-29 02:45:38 +00:00
fyodor
4a40579713 fix some syntax problems and rewrite a sentence for more clarity 2008-06-28 23:58:11 +00:00
fyodor
23ebdfd18c a bunch of typos and similar fixes from Eric Krosnes 2008-06-28 23:51:59 +00:00
fyodor
6e14332cdc o Added a UDP SNMPv3 probe to version detection, along with 9 vendor
match lines. [Tom Sellers]
2008-06-28 21:40:44 +00:00
fyodor
f810762936 Increase write buffer length for Nmap output on Windows. This should
prevent error messages like: "log_vwrite: vnsprintf failed.  Even after
increasing bufferlen to 819200, Vsnprintf returned -1 (logt == 1)."
Thanks to prozente0 for the report.
2008-06-28 21:23:39 +00:00
doug
60774c2313 nmapsubmit-svfp-060108.mbx Last major batch of misc FPs 2008-06-28 20:23:26 +00:00
fyodor
cd0da561aa a couple fixes from Eddie Block 2008-06-28 04:48:05 +00:00
doug
16b23a12e1 Fixed slip-up in Tom's probe that was my fault 2008-06-28 02:04:20 +00:00
pgpickering
53a7ba2c6a added binlib documentation in scripting.xml 2008-06-27 20:27:38 +00:00
batrick
6bb6d82fc1 Updated NSE implementation to be more general in anticipation
of possible changes to nse_main.
2008-06-26 07:51:37 +00:00
doug
9219fb7389 nmapsubmit-svfp-060108.mbx lots of misc services 2008-06-26 04:23:24 +00:00
doug
e52e117d13 nmapsubmit-svfp-060108.mbx lots of misc services 2008-06-25 23:50:54 +00:00
fyodor
bf2205ecb0 add sslport 4443 as SecurityGateway apparently uses that (per Marco Balduzzi) 2008-06-25 09:07:39 +00:00
doug
289448ea3a Replaced http-mgmt with http 2008-06-25 07:02:29 +00:00
doug
c975aa2dbe nmapsubmit-svfp-060108.mbx HTTP submissions 2008-06-25 02:57:11 +00:00
fyodor
5274601022 added service detection match lines for ALT-N SecurityGateway and Criston Precision Agent from Marco Balduzzi 2008-06-24 18:12:47 +00:00
kris
fee89db0a1 Update --webxml info in -h help screen: Insecure.Org -> Nmap.Org 2008-06-24 14:35:48 +00:00
batrick
b589575472 Applied Jah's patch for http.lua discussed in:
http://seclists.org/nmap-dev/2008/q2/0833.html
2008-06-23 03:42:57 +00:00
fyodor
a1c363b84a RateMeter::update() used to abort if the new time was earlier than the old time. But on my SMP Linux 2.6.20 system, I've been doing large-scale scanning and I'm getting very occasional values like "now=1214173867.8027; last_update_tv=1214173867.8065". Unless I'm missing something, I think my gettimeofday may have decreased by 38 microseconds. Perhaps due to SMP and the old kernel. Anyway, I changed it so that decreases of up to 1 millisecond just give a warning (one-time) rather than abort Nmap. 2008-06-23 00:56:49 +00:00
fyodor
726febac7c add extra debugging information to an error case -- trying to track down a host discovery crash (abort) 2008-06-22 21:20:10 +00:00
batrick
49a919f401 Fixed nmap library which was returning it's first argument
instead of the library table.
2008-06-22 18:38:53 +00:00
fyodor
aef79acb23 trivial reorg 2008-06-22 05:11:46 +00:00
bmenrigh
dea5974643 Migrated remaining *alloc() calls to safe_*alloc() 2008-06-22 04:56:02 +00:00
batrick
404c0848bf Fixed a incorrect arguments being passed to string.format 2008-06-21 21:08:38 +00:00
batrick
1d82523af0 Removed unnecessary print local from stdnse.lua 2008-06-21 21:02:42 +00:00
batrick
77437b3998 Updated incorrectly applied patch for http.lua's use of stdnse.make_buffer()
See: http://seclists.org/nmap-dev/2008/q2/0823.html
2008-06-21 20:49:30 +00:00
batrick
0c57267b76 http library now uses make_buffer correctly. 2008-06-21 19:18:56 +00:00
batrick
fa93527653 Changed waiting2running to push threads to the back of running, it
caused some nasty bugs when a thread would yield and pop front (a
thread just added).
2008-06-21 18:52:08 +00:00
batrick
d34f06ea49 Fixed a compile error. 2008-06-21 13:33:53 +00:00
batrick
ac52d97c25 Updated library handling in nse_init, and made
nmap library properly return its library table.
2008-06-21 13:28:03 +00:00
kris
ac5138b975 NSE re-categorization
* Merge the "backdoor" category into "malware"
* Add "auth" for authentication credential determination
* Rename "vulnerability" to "vuln"
* Place 12 scripts into their correct categories
2008-06-21 06:34:03 +00:00
michael
30d60b97ed setServiceXMLBuf now uses the string class exclusively instead of the old c-string & string class combination. So it is no longer necessary to calculate the length of the XML service element before writing it to its buffer. 2008-06-21 05:45:11 +00:00
doug
3bc22411eb Moved SIPOptions back down below GetRequest
PRO:
  * GetRequest is applied before SIPOptions to unknown ports
CON:
  * GetRequest will be applied to 5060 before SIPOptions
2008-06-21 01:58:44 +00:00
michael
f0cbbe45f8 Fixed a segfault in printportoutput() and setServiceXMLBuf() in output.cc.
Thanks for pointing this out Brandon.
2008-06-20 22:00:40 +00:00
david
38c50f3ac3 In eth_get_pcap_devname (nee intf_get_pcap_devname), fall back on matching MAC
addresses if matching IP addresses fails. I have a feeling this is more
reliable than matching IP addresses, but as I'm not sure, I have made it the
backup so that nothing will stop working that was working before. The MAC
address matching works fine for me if I disable the IP address matching. The
code is adapted from libdnet 1.11.
2008-06-20 20:57:40 +00:00
david
09cc37f7f0 Rename intf_get_pcap_devname to eth_get_pcap_devname to reflect its new home. 2008-06-20 20:44:54 +00:00
david
b145c5549d Move intf_get_pcap_devname from intf-win32.c to eth-win32.c. Pending changes
are going to make that function use a struct eth_t, so it needs to be here to
be in scope for that struct's internals.
2008-06-20 20:36:21 +00:00
david
f557cbe90e Remove the unused (and broken) intf_get_desc function from libdnet-stripped. It
used to be used to get the interface description back when the eth_open
correlation code worked that way.
2008-06-20 20:32:51 +00:00
david
450052603b In intf_get_pcap_devname, compare each of the pcap device's addresses against
all of the dnet device's addresses, not just the first one. This is a long shot
to fix the "dnet: Failed to open eth4" problem on Vista, but it's the right
thing anyway.
2008-06-20 19:44:13 +00:00
batrick
b64c8846b4 Made small aesthetic changes to mutex documentation. 2008-06-20 16:20:18 +00:00
batrick
27859e42cf Updated documentation for stdnse module. It now includes
tobinary, tooctal, tohex, and make_buffer.
2008-06-20 14:05:26 +00:00
batrick
0bc91f9db2 Improved and changed the make_buffer function.
It now returns the line as its first argument always, otherwise nil, errmsg

I updated scripts that use make_buffer.

When Lua 5.2 comes out, we may be able to use a function I've added
called stdnse.lines (commented for now). It cannot be used yet because
we cannot yield inside generic for loop. The function is built for
generic for loops. It will work as such:
for line in stdnse.lines(socket) do
  ...
end
2008-06-20 13:50:50 +00:00
batrick
dffb1d9423 Updated stdnse library (optimizations). 2008-06-20 12:05:18 +00:00
batrick
bb07552e94 Changed a bad reference to the table.remove function for the mutex code.
The main branch does not yet have the changes to init that includes all
Lua functions being in the Registry with shorthand names.
2008-06-20 07:28:58 +00:00
batrick
f117619044 Added mutex code. 2008-06-20 07:19:37 +00:00
batrick
00c55e7e42 Removed old commented code. 2008-06-20 07:07:13 +00:00
doug
5150b51145 nmapsubmit-svfp-060108.mbx
* privoxy match line
  * major SIPOptions probe reorganisation -- see nmap-dev
2008-06-20 05:21:09 +00:00
michael
4863010770 Service fingerprints are no longer truncated in XML logs. 2008-06-20 03:25:53 +00:00