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
david
265b73b6ae
Remove unused tcpmss, tcpws, and tcpts from NpingOps.
2013-05-03 21:30:39 +00:00
henri
d383df2847
More style fixes.
2013-05-03 21:25:53 +00:00
henri
23dcad8ea4
Removed redundant code. Style fixes.
2013-05-03 20:41:56 +00:00
david
08efb5ce1a
Revert r30833, removal of obtainRawSocket.
...
This was prematurely merged from nmap-npingchanges. obtainRawSocket is
still used here.
2013-05-03 19:31:09 +00:00
henri
677492f914
Added missing references to the MSVC project file.
...
Reported by Jaebum Shin.
Fix by Gisle Vanem.
2013-05-03 19:06:40 +00:00
david
5f557a3766
Use a constant definition to say 'No Payload'
2013-05-03 17:55:07 +00:00
david
74de527b75
Use false, not zero
2013-05-03 17:55:06 +00:00
david
4fb5f91f9c
Use false instead of zero to initialize a bool
2013-05-03 17:55:04 +00:00
david
6fb635b86a
Use NULL instead of 0 to initialize a pointer
2013-05-03 17:55:02 +00:00
david
4bdd43f466
Remove some useless code.
2013-05-03 17:55:00 +00:00
david
40a73d19c1
Remove unimplemented feature payload-file
2013-05-03 17:54:58 +00:00
david
d90f9549a4
Remove unused/unimplemented host_timeout feature
2013-05-03 17:54:57 +00:00
david
a4240eaab5
Minor style fix
2013-05-03 17:54:55 +00:00
david
3c8eb9781a
Remove unused method from NpingOps
2013-05-03 06:25:24 +00:00
david
436d222fff
Fix bug: unset bits properly
2013-05-03 05:59:54 +00:00
dmiller
863a3779e6
New service probe and matchline for Minecraft servers
...
Lots of good info here. Idea, regex, and debugging provided by Eric
Davisson on IRC.
2013-05-02 18:55:59 +00:00
henri
e623d8c9f1
Replaced strtok_r() calls by strtok().
...
The latter is more portable and can replace strtok_r in our case.
2013-05-02 17:32:15 +00:00
henri
6638f749d1
Added explicit pointer cast.
...
Reported by Jaebum Shin.
2013-05-02 16:51:46 +00:00
batrick
1720606226
Upgrade 5.2.1 to 5.2.2.
...
Bugs fixed: http://www.lua.org/bugs.html
2013-05-02 14:59:06 +00:00
henri
371be36f88
Declare variables before executing any statement to follow
...
C standards.
Report and original patch by Gisle Vanem.
2013-05-02 08:36:08 +00:00