1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00
Commit Graph

198 Commits

Author SHA1 Message Date
david
dfdf8a5752 Move the new version of dns.reverse that does IPv6 reverse lookups out of
ASN.nse and into the dns library.
2008-09-06 03:45:37 +00:00
david
04be9da7ed Remove the duplicated ipOps functions from ASN.nse and whois.nse and have them
use the ipOps library instead.
2008-09-06 03:29:49 +00:00
david
205e7ab28b Add the latest ASN.nse script. This version uses the new Nmap-specific query
servers, groups output intelligently, and supports IPv6. See sample output at
http://seclists.org/nmap-dev/2008/q3/0675.html.
2008-09-06 02:47:46 +00:00
fyodor
dd1e76c2a7 o Added whois.nse, which queries the Regional Internet Registries
(RIRs) to determine who the target IP addresses are assigned
  to. [Jah]
2008-09-05 18:43:27 +00:00
fyodor
966b9fa0d2 rename SNMPsysdesr.nse to SNMPsysdescr.nse 2008-09-05 06:53:00 +00:00
fyodor
2ba3a3878d o Added dns-safe-recursion-port and dns-safe-recursion-txid (non
default NSE scripts) which use the 3rd party dns-oarc.net to test
  the source port and transaction ID randomness of a discovered DNS
  server (assuming it allows recursion at all).  These scripts were
  contributed by Brandon Enright.
2008-09-05 02:04:07 +00:00
fyodor
bed9523832 o Updated rpcinfo NSE script to use the new pack/unpack (binlib)
functions, use the new tab library, include better documentation, and
  fix some bugs. [Sven Klemm]
2008-09-03 08:31:05 +00:00
david
b9c3cc90d4 Uncommit some files accidentally committed in r9869. 2008-08-30 21:09:01 +00:00
david
20f38fcf15 Add CHANGELOG entry for higwidgets move. Rewrap another entry to 70 columns. 2008-08-30 21:07:38 +00:00
fyodor
f6cfe82658 o Fix a number of NSE scripts which used print_debug()
incorrectly. See
  http://seclists.org/nmap-dev/2008/q3/0470.html. [Sven Klemm].
2008-08-29 09:16:22 +00:00
fyodor
8eecdfba82 documentation updates from Thomas Buchanan 2008-08-29 08:49:21 +00:00
fyodor
64a016a817 o Improve the nebtios-smb-os-discovery NSE script to improve target
port selection and to also decode the system's timestamp from an SMB
  response. [Ron at SkullSecurity]
2008-08-26 00:52:07 +00:00
batrick
42a3d83c70 Updated documentation for some scripts. 2008-08-19 06:50:05 +00:00
batrick
8134cda566 Added newlines to output. 2008-08-19 06:06:03 +00:00
batrick
f67f015d67 Updated documentation for scripts. 2008-08-19 06:00:58 +00:00
batrick
9a1831cdfc Updated SMTPcommands script. 2008-08-16 05:05:39 +00:00
batrick
b90ba111c9 Updated scripts' documentation. 2008-08-16 00:24:32 +00:00
batrick
fbfc2fa045 Changed showSSHVersion to properly return one result (not through
concatentation).
2008-08-15 23:45:57 +00:00
batrick
cbfde183cb Updated documentation for Kris' scripts. 2008-08-14 23:47:51 +00:00
bmenrigh
57ffa96d51 Fixed a few typos and improved wording in a few places 2008-08-11 23:35:37 +00:00
batrick
bbae5a7845 Applied the fix for a script returning more than one result in showSMTPVersion.nse
See Jah's post: http://seclists.org/nmap-dev/2008/q3/0293.html
2008-08-10 00:39:36 +00:00
pgpickering
0b542cb755 added brutePOP3.nse 2008-07-31 22:55:28 +00:00
pgpickering
5dc92c3c58 added popcapa.nse 2008-07-31 22:55:05 +00:00
pgpickering
5e44f53b8d added SNMPcommunitybrute.nse 2008-07-31 22:54:40 +00:00
pgpickering
3fae2b9fdd modified SNMPsysdesr.nse to use the SNMP library 2008-07-31 22:54:20 +00:00
kris
2dd62530e5 o Updated zoneTrans.nse to replace length bytes in returned domain names to
periods itself rather than relying on NSE's old behavior of replacing non-
  printable characters with periods.  Thanks to Rob Nicholls for reporting the
  problem. [Kris]
2008-07-31 03:49:25 +00:00
michael
2a31e712da Added more documentation and a warning to ASN.nse 2008-07-30 21:39:29 +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
michael
7bb32b409f Added a script to query ASNs, it still needs a bit of work(like some way to get dns server ip's) but it works and Team Cymru set up a special domain jsut for nmap :) 2008-07-27 20:17:13 +00:00
fyodor
5751967a43 rebuild some generated content 2008-06-29 09:13:57 +00:00
fyodor
6d52a3db77 o Updated showHTMLTitle NSE script to follow one HTTP redirect if
necessary as long as it is on the same server. [Jah]
2008-06-29 04:21:30 +00:00
kris
ac5138b975 NSE re-categorization
* Merge the "backdoor" category into "malware"
* Add "auth" for authentication credential determination
* Rename "vulnerability" to "vuln"
* Place 12 scripts into their correct categories
2008-06-21 06:34:03 +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
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
ejlbell
7cf7259f9d New and improved robots script
* Instead of printing all disallowed entries it now only prints the
  first 20. In verbose and debug modes it prints more entries, the exact
  number depends on the debug and vebose level

* Prints out the number of disallowed entries 

* Prints a message if a robot.txt file exists but has not entries.

* More resilient parsing and duplicate removal code

* Extended the line length to 50 characters so less vertical space used
2008-06-06 17:30:09 +00:00
david
d924d3c0e0 Undo the change to scripts/script.db accidentally committed in r7967. 2008-06-06 04:36:32 +00:00
david
a2229c1228 Remove the share/icons and share/pixmaps from zenmap.spec.in because those are
now subdirectories of share/zenmap.
2008-06-06 04:34:23 +00:00
kris
3512576c9b zoneTrans.nse now takes a "domain" script argument to specify the domain name
to transfer.  I've only been able to examine the behavior through Wireshark
since I don't have a nameserver that transfers other domains (I always get
"Not Authoritative").  It seems to work fine, though
2008-06-05 04:22:27 +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
kris
c7eb8011d9 NSE now has a "default" category for scripts. This category holds the set
of scripts chosen from when using -sC (but it's still just another category
and so can be chosen with --script like any other).

On top of updating the docs with information about this new category, I've
also updated sections to emphasize that the "default" category, -sC and -A
are considered intrusive and should not be run against target networks
without permission.

The new list is very similar to the previous "safe,intrusive" list:

Added: finger, ircServerInfo, RealVNC_auth_bypass
Removed: HTTPpasswd

Here are the 21 scripts in this new category:

anonFTP
dns-test-open-recursion
finger
ftpbounce
HTTPAuth
HTTP_open_proxy
ircServerInfo
MSSQLm
MySQLinfo
nbstat
RealVNC_auth_bypass
robots
rpcinfo
showHTMLTitle
showOwner
SMTPcommands
SNMPsysdesr
SSHv1-support
SSLv2-support
UPnP-info
zoneTrans
2008-05-28 07:16:32 +00:00
fyodor
4742ed7845 update SMTPcommands with new code from Jason which works better against Postfix and some other systems. Also, I made it less verbose and changed the ID to SMTPcommands to match the filename. 2008-05-27 07:36:05 +00:00
kris
ee876ada98 o Replaced kibuvDetection.nse with version detection match lines which
work better than the script. [Kris, Brandon]
2008-05-25 23:30:21 +00:00
fyodor
71a29d4e2d o Fixed a bug in the showOwner NSE script which caused it to try UDP
ports instead of just TCP ports.  This made it very slow in the
  common case where there are many UDP ports in the open|filtered
  state.  Thanks to Jason DePriest for reporting the problem and Jah
  for tracking it down and fixing it.
2008-05-25 01:38:48 +00:00
fyodor
779b96a197 trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db 2008-05-22 20:45:32 +00:00
fyodor
ce3ce4f541 change recursive query dns test from isc.sans.org to www.wikipedia.org 2008-05-16 22:17:41 +00:00
kris
b7b8fef7f4 Removing "Recursion not enabled" from dns-test-open-recursion.nse because it only adds clutter to the output 2008-05-15 15:12:58 +00:00
kris
2881b4faab HTTP_open_proxy.nse fix: tags{} -> categories{} 2008-05-14 21:02:27 +00:00
kris
abe470fba8 Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0 2008-05-14 04:08:07 +00:00