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

13 Commits

Author SHA1 Message Date
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
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
5b113453b3 reflect moved url 2008-04-09 09:55:03 +00:00
fyodor
60d1e103d3 Canonicalize license text--more than half did not even spell license correctly. They all still say that they are under Nmap's license, just with consistent capitalization and spelling, and now a link to Nmap legal page at http://nmap.org/man/man-legal.html 2008-04-07 08:23:21 +00:00
fyodor
9cf7f14afe o Added NSE HTTP library which allows scripts to easily fetch URLs
with http.get_url() or create more complex requests with
  http.request().  There is also an http.get() function which takes
  components (hostname, port, and path) rather than a URL.  The
  HTTPAuth, robots, and showHTMLTitle NSE scripts have been updated to
  use this library. Sven Klemm wrote all of this code.
2008-02-01 02:47:09 +00:00
ejlbell
e244e43f0d Couple of patches from Sven Klemm that speed up http nse scripts by telling the server to automatically close the connection 2008-01-14 00:13:30 +00:00
kris
23040d67ac o Fixed multiple NSE scripts that weren't always properly closing their
sockets.  The error message was:
    "bad argument #1 to 'close' (nsock expected, got no value)"
2007-12-28 07:35:51 +00:00
kris
0a6f10e4ba recommitting my r6499: "fix robots.nse output: remove robots.txt comments on disallowed entry lines" 2007-12-13 20:18:35 +00:00
fyodor
d6e89a5616 revert r6499 -- no checkins please until after the stable release unless it fixes a critical problem 2007-12-11 19:56:36 +00:00
kris
18867cf3b2 fix robots.nse output: remove robots.txt comments on disallowed entry lines 2007-12-11 16:04:00 +00:00
ejlbell
9dea83347b Accidentally committed experimental version of robots.nse 2007-11-05 21:41:47 +00:00
ejlbell
1a73a31df0 updated 'nse directory constant' that seems to effect scripts using nselib in certain functions 2007-11-05 21:21:08 +00:00
fyodor
179d2b5766 merge soc07 r5191:5202 - portstates now takes list; script to download robots.txt; open proxy script; fix default shortport state value 2007-08-11 05:51:31 +00:00