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

1747 Commits

Author SHA1 Message Date
dmiller
c71478d91f Fix interfaces bug in broadcast-listener
Reported here: http://seclists.org/nmap-dev/2012/q3/672
2012-08-28 23:07:28 +00:00
kroosec
2f21e49cfb Updated http-drupal-modules documentation. 2012-08-25 17:31:53 +00:00
kroosec
e3db186435 xml output support for http-drupal-modules.nse 2012-08-25 14:02:27 +00:00
aca
fd32aec639 Merged http-slowloris-check 2012-08-24 09:19:30 +00:00
patrik
a49667aa02 Reverted bad commit to http-title 2012-08-22 17:11:10 +00:00
patrik
a18d0b2ff0 nse_check_globals cleanup 2012-08-18 07:10:27 +00:00
dmiller
a329909fdf Update nfs-{showmount,statfs} to new rpc-grind 2012-08-18 04:07:11 +00:00
dmiller
592f31fa0f Make nfs-ls work with new rpc-grind
rpc-grind script puts version information in a different place. Also
switched from using file-local variables to host-registry entries for
nfs and mount ports and versions. I'm pretty sure the old way would have
failed on scans with more than one NFS version on separate machines.
2012-08-18 03:32:52 +00:00
dmiller
4728d7437d Fixes to rpc-grind
NSE: rpc-grind Connect(): RPC library does not support: nil protocol
NSE: rpc-grind Connect(): RPC library does not support: rpcbind version
81578896

These errors caused by ChkProgram and ChkVersion called from
rpc.Comm.Connect. Added a dummy program in rpc-grind and a check for
self.checkprogver in ChkVersion, and everything works great.

Also fixed portrule to only fail if the non-rpcbind service name was not
the result of table lookup. Was failing on port 2049 (in nmap-services
as "nfs") without -sV.
2012-08-18 03:32:50 +00:00
dmiller
f8335fc3f0 Update ssl-enum-ciphers to use structured output
This includes a minor hack to stringify a structure with sorted keys.
This should probably be moved to a formatting library when one is
committed.
2012-08-17 20:14:46 +00:00
kroosec
b1990f2b33 Added rpc-grind.nse 2012-08-17 18:44:35 +00:00
patrik
4157e63c9e nse_check_globals fixup 2012-08-17 05:37:59 +00:00
dmiller
6294398668 Update ssl-date to use structured output 2012-08-16 22:13:33 +00:00
dmiller
9fbd30f191 Use ISO8601 time for smb-os-discovery 2012-08-16 15:46:37 +00:00
dmiller
74a2168a15 Use base64-encoded key, not double-encoded type and key 2012-08-16 14:46:40 +00:00
david
8206146d2a Put just the base64-encoded key in the ssh-hostkey "key" field.
Previously it had the key type prepended (already available in the
"type" field).
2012-08-16 11:59:02 +00:00
david
e96b7d55fb Use key "type" not "algorithm" in ssh-hostkey structured output.
"algorithm" seems to be a mapping computed by our ssh2 library:
	ssh-rsa → RSA
	ssh-dss → DSA
"type" is just the string "ssh-rsa" or "ssh-dss". "Type" seems to be the
terminology used in the ssh-keygen man page.
2012-08-16 11:58:40 +00:00
david
7ebf300c0c Use binary strings, not hex strings, as keys in ssl-known-key. 2012-08-16 10:51:51 +00:00
david
600ef58aa0 Don't check whether cert:digest succeeded.
The digest isn't something stored in the cert that may or may not be
present; it is calculated locally.
2012-08-16 10:51:37 +00:00
david
1ba18b4a39 Use structured key name "sha1" not "fingerprint" for uniformity with ssl-cert. 2012-08-16 10:51:24 +00:00
david
e037b3c416 Use lower case spaces for separation in ssl-known-key digests.
For uniformity with ssl-cert.
2012-08-16 10:37:33 +00:00
david
bd99ea17f8 Don't use colons in structured output digests. 2012-08-16 10:37:21 +00:00
david
aee57d6cdc Kill <script></script> around @xmloutput. 2012-08-16 10:12:08 +00:00
dmiller
a61a6a5918 Add @xmloutput nsedoc to ssh-hostkey, smb-os-discovery 2012-08-16 03:00:00 +00:00
dmiller
f9ddf0fca6 Update ssl-known-key to use structured output 2012-08-16 02:59:58 +00:00
dmiller
e11a5a7b34 Update smb-os-discovery to use structured output 2012-08-15 22:22:08 +00:00
dmiller
466d0895df Update ssh-hostkey to use structured output 2012-08-15 20:30:39 +00:00
kroosec
d25a2420e4 Added broadcast-pim-discovery.nse script. 2012-08-15 10:24:31 +00:00
kroosec
c1a6bcbd58 Added mtrace.nse script. 2012-08-15 10:07:20 +00:00
david
8d71da78de Remove country and region from traceroute-geolocation structured output.
On second thought, we should use codes like "us" instead of "United
States" and omit the regision attribute rather than set
region="Unknown". Taking away these attributes until we can figure out
how.
2012-08-15 08:42:16 +00:00
kroosec
effc933d17 Added broadcast-eigrp-discovery script. 2012-08-15 01:50:47 +00:00
kroosec
fa1d29e617 Fixed warning for newtargets in llmnr-resolve.nse. 2012-08-15 01:09:04 +00:00
kroosec
d1662fe7b4 Added llmnr-resolve.nse script. 2012-08-15 00:11:02 +00:00
david
a928251baf Add @xmloutput to traceroute-geolocation. 2012-08-14 22:06:28 +00:00
david
0f364e8485 Add rtt to traceroute-geolocation structured output. 2012-08-14 22:06:14 +00:00
david
96da09fda9 Structured output for traaceroute-geolocation. 2012-08-14 21:51:20 +00:00
dmiller
a9140ddb92 Debugging changes to jdwp-* scripts, better error output 2012-08-14 21:07:50 +00:00
kroosec
1c6f29e96b Added broadcast-igmp-discovery script. 2012-08-14 19:31:10 +00:00
patrik
17e56e8271 nse_check_globals cleanup 2012-08-14 18:47:46 +00:00
kroosec
860d791aa1 Updated mrinfo.nse categories in script.db. 2012-08-14 18:37:03 +00:00
kroosec
ebc9776771 Updated mrinfo.nse to default to multicast address querying and added a couple of fixes and style updates. 2012-08-14 18:33:48 +00:00
david
0c3e0fcc4d Structured script output.
Scripts may now return a key–value table, or such a table in addition to
a string. The table will be automatically formatted for normal output
and will appear as a hierarchy of elements in XML output.

Some history and discussion of this development can be found at
https://secwiki.org/w/Nmap/Structured_Script_Output.

This is a merge of r29484:29569 from /nmap-exp/david/xml-output.
2012-08-14 16:36:25 +00:00
aca
16aa7a938d Merged jdwp library, scripts and java classes into trunk 2012-08-14 11:31:08 +00:00
dmiller
32dfcdc2e6 Fix bug in ssl-enum-ciphers: Strength not defined (broken) 2012-08-09 21:50:26 +00:00
martin
7dbabbac65 Fixed issue with url always being set to root, it now lets the httpspider library get it from the script arguments 2012-08-09 06:20:16 +00:00
fyodor
cd0b08f8b3 Add a note clarifying why the mrinfo name was chosen (because it is similar to well-known mrinfo utility 2012-08-08 20:04:49 +00:00
dmiller
346a495dd0 Squashed commit of the following:
commit 7c26e4de2ab365a30fe6e91f3a531eb38c8dfdba
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Aug 7 16:36:54 2012 -0500

    Fix indentation on netbios.lua (no code change)

commit 47dc3e32e6b47bd80620cfbc54e7590193dd0c1a
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Jul 31 16:42:27 2012 -0500

    Make smbauth.lua use host, not nmap, registry

commit 3738f8e6d551a1260463609d8cda86918843a372
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Jul 31 16:35:45 2012 -0500

    Make netbios.lua use host registry. Functions now can take host table or IP

commit 031cadb9d407ab7fd43aaddffda1a89c24cbdd45
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Jul 31 15:54:12 2012 -0500

    Remove mac-geolocation info from snmp-interfaces

commit 2218dbaf8ffd4a33de2bc028def9be7301dfb3a2
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Jul 31 15:52:36 2012 -0500

    Make path-mtu.nse use host, not nmap, registry

commit 5a3d006bdb9cd3e981a8e753c92b5ade5059a29b
Author: Daniel Miller <bonsaiviking@gmail.com>
Date:   Tue Jul 31 15:51:53 2012 -0500

    Make cvs-* scripts use host, not nmap, registry
2012-08-07 21:38:48 +00:00
perdo
ba049718b0 Add digest auth support to http-brute (and to http library). Also fix whitespace in sasl.lua. 2012-08-05 22:23:54 +00:00
patrik
fce517d4b8 add bjnp library and the scripts bjnp-discover and broadcast-bjnp-discover
commit d41a28813e4e4d26aeaab300ad30ad7c4116e37d
Merge: a45e4e2 23fc8f1
Author: Patrik Karlsson <patrik@cqure.net>
Date:   Sun Aug 5 20:53:04 2012 +0200

    Merge branch 'master' into bjnp

    Conflicts:
    	CHANGELOG

commit a45e4e2fd0c2579afc8d5b162bb5484327494b72
Author: Patrik Karlsson <patrik@cqure.net>
Date:   Sun Aug 5 20:44:19 2012 +0200

    add bjnp library and the scripts bjnp-discover and broadcast-bjnp-discover
2012-08-05 18:55:40 +00:00
aca
599c7bf26d Changed usage sample, previous was lacking a script argument which was mandatory 2012-08-05 18:33:43 +00:00