david
6b36602e8b
UTF-8–aware escaping in XML todo.
2013-05-13 05:21:22 +00:00
david
3fd1247a32
Move gcd_n_uint to osscan2.cc.
2013-05-13 04:59:13 +00:00
david
bf34048667
Whitespace and style in utils.{cc,h}.
2013-05-13 04:59:11 +00:00
david
6b7b428cb9
Remove COMPAT_SRCS and COMPAT_OBJS.
...
These appear not to have any effect any more. They were initially used
to conditionally compile and link some files with replacements for
standard library functions, but seem not to have been used after r828
("Moved to nbase system for compatability funcs").
2013-05-13 04:21:11 +00:00
david
11aff032df
Sort SRCS, HDRS, OBJS.
2013-05-13 04:21:08 +00:00
batrick
48b604bcd2
The directory path was being passed to Script.new rather than the file in the
...
directory. This bug was reported by Robin Wood [1].
[1] http://seclists.org/nmap-dev/2013/q2/282
2013-05-12 21:24:16 +00:00
henri
d9de4cc552
'const static' -> 'static const'
2013-05-12 21:02:29 +00:00
henri
e108771faa
Use the portable socket_errno() & socket_strerror() functions.
2013-05-12 17:48:33 +00:00
henri
28af8f519f
Consistent spacing for switch (<condition>).
2013-05-12 13:40:01 +00:00
henri
ce01e2040a
Refactored code.
...
A switch/case reads easier than a if/else if/else block
to handle multiple cases.
2013-05-12 13:39:53 +00:00
henri
81fda37f89
New function msevent_timedout().
2013-05-12 13:39:45 +00:00
henri
8475cef210
Return actual error code.
2013-05-11 16:00:11 +00:00
henri
34c407189b
s/Little/Minimal/
2013-05-11 16:00:01 +00:00
henri
e54df43edf
Readme file.
2013-05-11 10:22:44 +00:00
henri
3776852557
Added simple TCP connect test and setup ncat listeners.
...
The listeners are ncat-based echo servers:
- UDP
- TCP
- TCP + SSL
2013-05-10 08:26:48 +00:00
henri
76db6d8de3
Indentation fixes.
2013-05-10 07:59:43 +00:00
paulino
36fefe7467
Adds entry about http-coldfusion-subzero
2013-05-10 04:55:32 +00:00
paulino
ea4c589f54
- Adds http-coldfusion-subzero.nse. This exploit grabs the credentials file, version and install path of vulnerable Coldfusion 9 and 10.
2013-05-10 04:52:02 +00:00
henri
1da1fce331
Fixed indentation.
2013-05-08 18:08:48 +00:00
henri
4862bbcbb9
Added a nsock test module for loglevels.
2013-05-08 18:08:38 +00:00
henri
b51a943a48
Added a minimal regression test suite for nsock.
2013-05-08 11:52:28 +00:00
dmiller
612b1c11ea
Structured output for address-info
2013-05-07 15:56:41 +00:00
henri
e38eeba1fa
Added more ideas for nsock.
...
Renamed the file "henri.txt" to follow the rule.
2013-05-07 07:46:07 +00:00
paulino
01e21796ef
Adds missing dash so NSEDoc can recognize it correctly.
2013-05-07 03:38:32 +00:00
paulino
db13b65779
Adds missing documentation of login function.
2013-05-07 03:22:28 +00:00
dmiller
0622eb4d03
Structured output for sslv2, s/cypher/cipher/
2013-05-07 02:01:27 +00:00
dmiller
2cb0cfc936
@xmloutput NSEdoc sections for wdb-version and xmpp-info
2013-05-06 21:40:02 +00:00
dmiller
1ff56f08f8
Structured XML output for irc-info
2013-05-06 21:40:00 +00:00
henri
ce206c7631
Changelog for the redis scripts updates.
2013-05-06 21:14:33 +00:00
henri
2a03c65519
Fixes (tested against redis v2.9.9)
2013-05-06 21:11:44 +00:00
henri
a25a1824d6
Redis (at least v2.9.9) returns -NOAUTH to unauthenticated commands.
2013-05-06 21:00:45 +00:00
dmiller
0f47a16746
Structured XML output for wdb-version
...
Also added a call to WDB_TARGET_DISCONNECT, recommended by @hdm because
some agents will continue sending data until they receive this call or
reboot.
2013-05-06 20:47:02 +00:00
dmiller
a05dd72fca
Probe for VxWorks WDB port 17185
2013-05-06 20:47:00 +00:00
dmiller
3abd1232da
Structured XML output for xmpp-info
...
This involves some reordering and renaming of fields from the previous
output, but hopefully more readable (less vertical whitespace). This
commit depends on the changes to stdnse.output_table to ignore assigning
new keys to nil and to use the __call metamethod to mean has_contents()
2013-05-06 18:39:55 +00:00
dmiller
930bc91359
Modify stdnse.output_table to handle empty values better
...
Two changes here, both minor. First, explicitly assigning a new key to
nil does not add the key to the ordered set of keys. This better
emulates the behavior of regular tables.
> o = stdnse.output_table()
> o["test"] = nil
This previously resulted in output like this:
|_ test: nil
Now it simply omits the "test:" key.
Second, I needed a way to tell whether an output table was empty or not.
Since Lua's next() function doesn't call the __pairs metamethod, it was
always returning nil. Instead, I used the __call metamethod, since it
had the least preexisting semantic meaning:
> o = stdnse.output_table()
> =o()
false
> o["test"] = 1
> =o()
true
2013-05-06 18:39:54 +00:00
david
cb32101ae5
CHANGELOG for IPv6 proxy fixes.
2013-05-05 10:45:08 +00:00
david
fc80b4573c
Track proxy socklen and pass it on to targetlen.
...
Patch by Joachim Henke.
http://seclists.org/nmap-dev/2013/q1/413
2013-05-05 10:43:53 +00:00
david
21a8af6c08
Fix Ncat IPv6 HTTP CONNECT proxy syntax.
...
Patch by Joachim Henke.
http://seclists.org/nmap-dev/2013/q1/413
2013-05-05 10:21:46 +00:00
dmiller
dbbf2671ba
XML output for rpcinfo.nse
2013-05-04 23:12:36 +00:00
dmiller
47eaecef5a
XML output for socks-open-proxy
...
Also fixed some spelling and documentation issues.
Script now notifies if proxy is 1. open, 2. redirecting, or 3. allowing
SOCKS clients but not matching expected patterns.
2013-05-04 21:26:49 +00:00
dmiller
4063944775
Fix socks-open-proxy invalid HTTP GET
...
socks-open-proxy was sending requests like this:
GET http://www.google.com HTTP/1.0
Host: www.google.com
Which is appropriate for HTTP proxies, but not for SOCKS. Changed to
more appropriate "GET / HTTP/1.0" and it works.
2013-05-04 01:13:28 +00:00
david
c9d5dc20e4
Use hex constant for packet count.
2013-05-03 21:31:02 +00:00
david
8e4b48adce
Increase packet count from 32 to 48.
2013-05-03 21:30:55 +00:00
david
cce06b322c
Move private data members to the top of NpingOps.h.
2013-05-03 21:30:53 +00:00
david
1d57ef7eb4
Normalize public/private indentation.
2013-05-03 21:30:51 +00:00
david
2ffc2099ab
Consolidate NpingOps public data members.
2013-05-03 21:30:49 +00:00
david
a7bad08b0d
Comments on NpingOps fields.
2013-05-03 21:30:47 +00:00
david
e1d4f58a29
Move declaration of NpingOps::getTotalProbes.
2013-05-03 21:30:46 +00:00
david
e5e8b91bbd
Kill extra whitespace in NpingOps.h.
2013-05-03 21:30:44 +00:00
david
b65987df12
Add NpingOps::echo_payload_set.
2013-05-03 21:30:42 +00:00