fyodor
dc74809a68
Applied patch from Jah:
...
Attached corrects answerFetcher[types.TXT]() in dns.lua which inserts
v.data into answers only if v.domain is present - I believe the test
should be for v.data. This was preventing TXT answers from being
returned from dns.query() with the retAll option.
2008-08-26 01:01:27 +00:00
pgpickering
9e6a88ad67
changed option in dns.lua
2008-08-21 10:00:25 +00:00
pgpickering
d8bb0e8c73
added NSE DNS library
2008-08-21 09:38:28 +00:00
pgpickering
3c9833b57c
added nsedoc documentation for the binlib
2008-08-21 09:12:19 +00:00
pgpickering
1936743c81
removed obsolete debug output
2008-08-18 17:56:32 +00:00
batrick
670792a4a6
Updated all libraries documentation.
...
packet and url both need more work.
2008-08-18 04:03:45 +00:00
batrick
462c289f4a
Fixed all the modules to give a default name if absent.
...
Also necessary for the documentation system to know the name
of the module.
2008-08-16 04:20:15 +00:00
batrick
05c7d791cd
Added nmap luadoc documentation file.
2008-08-16 00:28:28 +00:00
pgpickering
0062e0e914
fixed bug in base64.lua leading to wrong encoding of data
2008-08-05 14:42:41 +00:00
pgpickering
d6066bb332
fixed bug in snma.lua: fetchResponseValues(): wrong "local" when decoding
2008-08-02 10:40:03 +00:00
pgpickering
178a40f281
updated NSEDoc documentation for snmp.lua, pop3.lua, base64.lua
2008-08-01 20:33:56 +00:00
pgpickering
88c80f73a3
added pop3.lua
2008-07-31 22:51:45 +00:00
pgpickering
d769960f42
added snmp.lua
2008-07-31 22:51:34 +00:00
pgpickering
a37dfa7f3e
added base64.lua
2008-07-31 22:49:39 +00:00
kris
a285f82299
o The NSE Comm library now defaults to trying to read as many bytes as are
...
available rather than lines if neither the "bytes" nor "lines" options are
given. Thanks to Brandon for reporting a problem which he noticed in the
dns-test-open-recursion script. [Kris]
2008-07-28 01:47:26 +00:00
kris
957b5daea7
Adding my unpwdb nselib; includes username and password lists, and docs
2008-07-08 04:16:49 +00:00
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
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
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
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
fyodor
92e39aa66f
o Update the HTTP library to use the new timing_level functionality to
...
set connection and response timeouts. An error preventing the new
timing_level feature from working was also fixed. [Jah]
2008-06-18 00:15:27 +00:00
kris
2f9321360f
o Added a new NSE Comm library for common network discovery tasks such
...
as banner-grabbing (get_banner()) and making a quick exchange of data
(exchange()). 16 scripts were updated to use this library. [Kris]
I have *not* been able to test all of these scripts; however, I have
reviewed them and they should all work properly. I would really like
some more testing, though :)
This commit includes scripting.xml documentation.
2008-06-12 14:32:25 +00:00
batrick
46ce09a994
Minor optimizations to stdnse.lua
...
Fixed stdnse.lua to use a default name for module()
2008-06-09 02:23:22 +00:00
batrick
46e5f50b24
Minor bug fix to new strbuf.
2008-06-08 07:29:31 +00:00
batrick
06da4ac2ed
Updated strbuf.lua
2008-06-08 07:22:14 +00:00
fyodor
76f7cced70
change http User-Agent header value to: Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html )
2008-05-31 03:24:25 +00:00
batrick
742ff67100
Removed nse_auxiliar. Updated Script Argument parsing. Fixed typos in
...
documentation. Improved MySQLinfo.nse. Nsock/dnet metatabels are now
protected.
2008-05-31 02:19:24 +00:00
batrick
21a2e7aea6
Updated to Lua 5.1.3 (Bug fix release)
...
Updated stdnse to include tobinary, toocal, and tohex functions.
Minor optimizations to listop.lua
2008-05-31 01:43:43 +00:00
david
8663003c36
The NSE HTTP library now uses the host name specified on the command
...
line when making requests, which improves script scanning against web
servers with virtual hosts. Thanks to Sven Klemm for the patch.
2008-05-20 06:13:26 +00:00
kris
841071b121
Simple change: make state_table local in the NSElib shortport.service()
2008-04-10 15:24:49 +00:00
kris
8530569047
Adding my Datafiles NSElib for parsing the nmap-* data files for scripts and also update rpcinfo.nse to use this library. Includes CHANGELOG and docs/scripting.xml updates
2008-03-30 20:33:33 +00:00
fyodor
61b976a45c
o Nmap now saves the target name (if any) specified on the command
...
line, since this can differ from the reverse DNS results. It can be
particularly important when doing HTTP tests against virtual hosts.
The data can be accessed from target->HostName() from Nmap proper
and host.targetname from NSE scripts. The NSE HTTP library now uses
this for the Host header. Thanks to Sven Klemm for adding this
useful feature.
2008-02-04 22:10:29 +00:00
diman
cf4c7081e8
moving debugger to nmap-exp/diman until further notice
2008-02-03 21:38:38 +00:00
diman
2d9bc1b43d
added a CLI debugger
2008-02-03 14:21:36 +00:00
fyodor
0e65f2e091
oops -- forgot to add this when I committed the other http library changes. Thanks to Kris for noticing the omission
2008-02-01 03:23:50 +00:00
ejlbell
88d75a16e5
NSElib that provides NSE scripts with a way to output structured tables similar to NmapOutputTable.cc.
2008-01-15 19:54:23 +00:00
fyodor
165e79a95d
Fix a problem which prevented proper port number matching in port_or_service() because the port variable passed to portnumber is shadowed by the variable passed during portrule check. Report and patch are from Sven Klemm
2008-01-05 07:21:55 +00:00
diman
8c89c0f4d9
default port state for shortports is now open or open|filtered instead of only open
2007-12-08 19:25:09 +00:00
diman
005a84fc59
open / open|filtered tables work for shortport.service now
2007-12-08 15:28:55 +00:00
fyodor
add61ca6a4
move back version w/history
2007-11-27 23:13:53 +00:00
fyodor
454e4e3b17
I hope this will recover nselib history
2007-11-27 22:50:00 +00:00
fyodor
bbb0744761
now move nselib to recover history
2007-11-27 22:42:39 +00:00
diman
c0f07c99ac
adding nselib nselib-bin second (should work on unix now)
2007-11-27 22:18:59 +00:00
diman
335ec2868f
adding nselib and nselib-bin the first
2007-11-27 22:17:30 +00:00
majek04
4ed4ffa219
Added promiscuous.nse for detecting local NIC in promisc mode. First script using pcap for nse.
2007-11-27 18:59:53 +00:00
david
dfb9c157c7
Delete auxiliary scripts config.guess, config.sub, depcomp, install-sh,
...
ltmain.sh, and missing from subdirectories. Autoconf automatically looks
in the parent directory for these files. I had to copy the files
depcomp, ltmain.sh, and missing into the root of the source tree.
2007-11-27 06:22:46 +00:00