1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
Commit Graph

763 Commits

Author SHA1 Message Date
ron
b7a802bce8 Removed some more errant newlines from the output 2010-11-03 19:53:58 +00:00
ron
c5a111c5b9 Removed an errant '\n' that was causing blank lines 2010-11-03 19:50:25 +00:00
patrik
92b6fa9038 o [NSE] Added a new library upnp that provides UPnP support to the scripts
upnp-info and broadcast-upnp-info. The library is largely based on code
  taken from Thomas Buchanan's upnp-info script. [Patrik]
2010-11-02 19:05:19 +00:00
david
80605e3e09 In firewalk.nse, bail out if we have neither of the scripts args
firewalk.ttl and firewalk.gateway. Otherwise we would get a nil
dereference when running with
	--script=firewalk --traceroute
Ron reported this.
2010-11-02 19:03:35 +00:00
david
f8714ae9ff Fix some documentation typos in rmi-dumpregistry.nse, split the first
paragraph so the summary is shorter.
2010-11-02 17:46:41 +00:00
david
d4007d43e5 Make rmi-dumpregistry.nse default. 2010-11-02 17:45:07 +00:00
patrik
7b2b7bd227 o [NSE] Added a new library dnssd with supporting functions for DNS Service
Discovery. Moved multicast prerule from dns-service-discovery to a new
  script called broadcast-dns-service-discovery. [Patrik]
2010-11-02 17:22:38 +00:00
ron
fef25e6a42 Made some big style changes to clean up HTTP library. Primarily focused on improving the interface, NSEDoc, and pipline support 2010-11-02 02:07:01 +00:00
david
3040659465 Add the rmi.lua library and rmi-dumpregistry.nse script by Martin Holst Swende. 2010-11-01 20:47:48 +00:00
djalal
e4edb08571 Move the script argument checks to the rule functions. 2010-10-31 22:52:46 +00:00
djalal
3744d4c0ac Small code cleaning. 2010-10-31 21:37:06 +00:00
kris
b69d93e2ab o [NSE] Added the ssh2-enum-algos script which reports the number of
algorithms the target SSH2 server supports, by type. If verbosity
  is set, then the offered algorithms are listed. Output is reduced
  for identical "client to server" and "server to client" lists by
  using a single combined list. [Kris]
2010-10-29 14:30:00 +00:00
ron
13bb98b8b8 Bring in changes from my experimental brange, nmap-http 2010-10-27 03:08:08 +00:00
djalal
7b9b094ea5 Make the script able to add new discovered DNS records onto Nmap scanning queue. 2010-10-20 15:47:54 +00:00
david
877cbab16f o [NSE] Added reporting of the type and bit size of certificate public
keys to ssl-cert.nse. [Matt Selsky]
2010-10-20 05:49:17 +00:00
fyodor
203d423d50 Added upnp-info to the discovery category 2010-10-16 21:45:08 +00:00
david
f8c32e0971 Fix a typo found by Gutek. 2010-10-16 17:47:36 +00:00
david
696d1946c2 Fix typo. 2010-10-16 17:27:28 +00:00
david
dd7a40b288 Add hostmap.nse from Ange Gutek. 2010-10-16 03:01:08 +00:00
david
d096dd7626 Update script.db. 2010-10-16 01:59:08 +00:00
david
18157ed081 Merge from /nmap-exp/david/nmap-unconnected. This adds unconnected
socket support to NSE, with updates in scripts and libraries.

o [NSE] Added the ability to send and receive on unconnected sockets.
  This can be used, for example, to receive UDP broadcasts without
  using pcap. A number of scripts have been changed so that they can
  work as prerule scripts to discover services by UDP broadcasting,
  optionally add the discovered targets to the scanning queue:
    - ms-sql-info
    - upnp-info
    - dns-service-discovery
  The nmap.new_socket function can now optionally take a default
  protocol and address family, which will be used if the socket is not
  connected. There is a new nmap.sendto function to be used with
  unconnected UDP sockets. [David, Patrik]
2010-10-16 00:48:44 +00:00
patrik
1aed246b69 fixed bug in authentication encryption function as reported by Sergey
http://seclists.org/nmap-dev/2010/q4/83

changed the way the library reports "Must change password at next logon"
fixed bug in ms-sql-hasdbaccess that would occur if no rows were returned
[Patrik]
2010-10-15 19:47:54 +00:00
kris
e297c8de73 update script name in @output 2010-10-13 03:52:34 +00:00
kris
8d7d95ba57 update script.db 2010-10-13 00:06:39 +00:00
ron
3cc2257530 Added a new smb script: smb-flood.nse. This denial-of-service script attempts to open too many SMB connections to the server, which can deny legitimate connections from being established. 2010-10-03 23:02:39 +00:00
david
1723949c05 Revert r20455; I meant to do this in a branch. 2010-10-01 06:29:17 +00:00
david
87ee8343f3 Provide a new nsock_setup_udp function to create a UDP socket without connecting it. Provide an NSE interface to the function. Add broadcast.nse, a script that receives UDP broadcasts with an unconnected socket. 2010-10-01 06:26:22 +00:00
djalal
9c132cd72f Remove unused variable. 2010-09-30 19:00:25 +00:00
david
60636135a2 Fix whitespace in dns-zone-transfer.nse. 2010-09-30 17:05:12 +00:00
david
e7fc9c4c5f Change " \n" to just "\n" where appropriate in NSE. Leading newlines are
no longer removed from script output.
2010-09-30 05:03:39 +00:00
david
ae9c5d6922 Use args of the form dns-zone-transfer.domain instead of dnszonetransfer.domain
in dns-zone-transfer.nse. Keep the old forms as undocumented aliases.
2010-09-29 18:57:07 +00:00
kris
ede2a10048 remove a stale comment 2010-09-29 02:07:41 +00:00
david
da5a9ecc52 Fix some whitespace. 2010-09-28 22:30:48 +00:00
david
7dcd478487 Put nat-pmp-info.nse in the "default" category. Let the portrule match
the service "nat-pmp". Set the service name "nat-pmp" on success.
2010-09-28 22:30:18 +00:00
patrik
0ef84cf443 o [NSE] Added nat-pmp-info script that uses the nat-pmp service to
discover the external IP address of a router. [Patrik]
2010-09-28 19:43:06 +00:00
david
956688774a Add the ability to send UDP probes to firewalk.nse. Patch by Henri Doreau. 2010-09-28 03:25:22 +00:00
kris
f4286b0c80 Adding prerule support to snmp-interfaces.nse and the ability to add the
target host's interface addresses to Nmap's scanning queue.
2010-09-28 02:33:52 +00:00
kris
29e6257541 Add the resolveall prerule script which takes a table of hosts and adds the
resolved addresses to Nmap's target queue.
2010-09-28 02:04:20 +00:00
david
d98e9b9225 Add tests with query strings and null bytes to http-passwd.nse. This patch is
from Ange Gutek.
2010-09-27 18:58:38 +00:00
david
602a40c2b0 Fix a syntax error caused by reordering array entries. 2010-09-27 18:56:23 +00:00
david
cd5f41fc91 Add some more payloads to http-passwd.nse (with comments explaining which
servers they affect). Fix a pattern. Patch by Ange Gutek.
2010-09-27 18:10:46 +00:00
david
52d1590c84 Add the script argument http-brute.method. This is so you can do
http-brute.method=POST instead of having GET hardcoded in the script.
2010-09-27 01:23:37 +00:00
ron
cfd0aaeabc Fixed a bug where a ternary operator meant to prevent a nil pointer exception was outside of a math.floor() call, making it totally worthless. I moved the math.floor() outside the operation, fixing it. 2010-09-24 01:33:01 +00:00
ron
3bc39efc4b Lots of little bugfixes throughout several smb scripts, mostly related to bad use of global variables 2010-09-24 00:31:12 +00:00
david
ed48818666 Remove the restriction to one thread in http-brute.lua, as the worker thread
bug that required it has been fixed.
2010-09-23 16:33:02 +00:00
david
15b5df36ff Add missing <code> tags. 2010-09-21 17:31:17 +00:00
david
0c8460e841 Put <code> tags around an option name. 2010-09-21 17:12:27 +00:00
kris
fa858e041b Remove unused and newly unrequired arguments to the pcap check functions (which
replace the old callbacks) in scripts
2010-09-19 02:15:19 +00:00
batrick
de4ba536de Merge from /nmap-exp/patrick/nse-nsock-maintenance.
This is a maintenance fix for the NSE Nsock library binding. The patch focuses
on code correctness and simplicity. The patch also brings some initial updates
with an eye towards the upcoming Lua 5.2 release. See [1] for a post concerning
this branch.

[1] http://seclists.org/nmap-dev/2010/q3/710
2010-09-18 20:35:09 +00:00
djalal
15a0dc47b0 Added the targets-traceroute script, which inserts traceroute hops onto Nmap scanning queue. 2010-09-10 01:53:22 +00:00