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

952 Commits

Author SHA1 Message Date
david
656109a31f Add a link to Nping Echo Mode documentation. 2011-03-13 02:02:29 +00:00
david
a3ec901899 Add nping-brute.nse from Toni Ruottu. 2011-03-13 02:02:27 +00:00
jah
8b0f87e91c Conditionally write the HTTP etag response header value to the IPv4 and IPv6
Assignments text files, i.e. don't try and write the header value if it wasn't
received!
2011-03-10 12:32:27 +00:00
fyodor
0b7b41d05f Trivial reword to fix a little grammar/typo problem 2011-03-06 09:34:57 +00:00
david
eacb827eee Don't require the dns-brute.domain argument to be given to add new
targets.
2011-03-05 21:16:18 +00:00
david
66a7e95105 Simple portrule: trust whatever the user gives us. 2011-03-05 21:16:16 +00:00
david
da79e0aaa2 Use a rewritten guess_domain function and bail out if the domain isn't
known.

Previously it would solider on even if given only an IP address, trying
names like ftp.168.0.1 and www.168.0.1.
2011-03-05 21:16:13 +00:00
david
cc4019aedd Make domainname local rather than global. I expect this would cause
problems more tha one instance of this script were run at once.
2011-03-05 21:16:12 +00:00
david
4e43fff90a Signal the condvars when threads are finished. 2011-03-05 21:16:11 +00:00
david
6399fe23c3 Look up IPv6 records unconditionally. 2011-03-05 21:16:08 +00:00
david
10ae05791c Localize functions. 2011-03-05 21:16:07 +00:00
david
c2ca0ded54 Pass an interator instead of separate arguments to thread functions. 2011-03-05 21:16:06 +00:00
david
4225147e6c Use stdnse.print_debug. 2011-03-05 21:16:04 +00:00
david
bdbf332562 Use a unified resolve function. 2011-03-05 21:16:03 +00:00
david
3626dacbca Put the lists of host names and srv names at the file level. 2011-03-05 21:16:01 +00:00
david
3f7649b4ec Remove the dns-brute.cclass reverse name resolution. It's probably
better to use Nmap's existing fast reverse resolver.
2011-03-05 21:16:00 +00:00
david
3fe40dd995 Add dns-brute.nse. 2011-03-05 21:15:58 +00:00
david
987d5f19a4 --script-updatedb. 2011-03-05 21:05:28 +00:00
david
bb4a4203a5 Add ovs-agent-version.nse, a script to detect the ovs-agent service for
which existing single probes are ambiguous.
2011-03-02 07:39:31 +00:00
david
824b1c0d6f Fix typo. 2011-03-02 07:39:29 +00:00
patrik
58edddaedb o [NSE] Merged the ms-sql branch with several improvements and changes to the
ms-sql scripts and library:
  - Improved version detection
  - Improved server discovery
  - Add support for named pipes
  - Add support for integrated authentication
  - Add support for connecting to instances by name or port
  - Improved script and library stability
  - Improved script and library documentation
 [Patrik Karlsson, Chris Woodbury]
2011-02-26 22:41:10 +00:00
patrik
d6bbc6da8f o [NSE] Added probe for Apple iPhoto (DPAP) and the dpap-brute script that
performs password guessing against a shared iPhoto library. [Patrik]
2011-02-26 16:24:54 +00:00
david
53d71389da Patch to firewalk.nse from Henri Doreau; avoids an error when giving a
timespec.
2011-02-23 02:34:47 +00:00
david
c334d570eb Use the tab library to line up output. 2011-02-22 21:55:26 +00:00
david
1c4e060f79 Don't randomly select the servers to show. Just show the ones at the
top. Display the total number when limiting output.
2011-02-22 21:55:25 +00:00
david
e5717f259a Add quake3-master-getservers from Toni Ruottu. Move the
quake3-master-protocols data file inside of
quake3-master-getservers.nse.
2011-02-22 21:55:23 +00:00
patrik
980a0878a8 Corrected documentation bug 2011-02-22 21:49:48 +00:00
patrik
e50d65755b * Add a new script snmp-ios-config that pulls the config from a Cisco devices
using SNMP and tftp. The script was created by Vikas Singhal.
* Add tftp library, used by the snmp-ios-config script, that acts as a server
  and receives the config file from the device. [Patrik]
2011-02-22 09:13:03 +00:00
david
770ecb7f66 Factor out three data-gathering functions in servicetags: one to get
agent information, one to get the list of svgtags, and one to get
information about a particular svctag. Don't crash if the TCP connection
can't be made (which will be the case when the stlisten service isn't
running).
2011-02-22 04:32:56 +00:00
david
5349d1619e Don't use strbuf to build payloads; it's unnecessary for these short
strings.
2011-02-22 04:32:54 +00:00
david
b1aaf2da8d Remove a level of indentation. 2011-02-22 04:32:53 +00:00
david
288c9c88bb Use data-driven XML grepping instead of repeating the same code many
times.
2011-02-22 04:32:53 +00:00
david
f751c0c386 Whitespace, spelling. 2011-02-22 04:32:52 +00:00
david
7ad53deb42 Add servicetags script. 2011-02-22 04:32:51 +00:00
david
73e80d1a0a Whitespace, typos. 2011-02-22 02:51:09 +00:00
david
cd4833f2a8 Rename firewalk-path to firewalk. 2011-02-22 02:51:08 +00:00
david
db50d964d4 Update firewalk.nse: add max-probed-ports argument and use
stdnse.get_timespec to parse time specifications.
2011-02-22 02:51:06 +00:00
david
da4a064291 Update firewalk.nse by Henri Doreau. (firewalk-path version from
http://seclists.org/nmap-dev/2011/q1/63.)
2011-02-22 02:51:04 +00:00
david
c3ab2d5ea4 Create a shortport.ssl function like shortport.http. Use it in ssl
scripts.
2011-02-22 00:46:28 +00:00
david
0b4de98d24 Whitespace. 2011-02-21 22:59:34 +00:00
patrik
562ee68df0 Applied patch recieved from Josh Amishav-Zlatin that addresses the problem
with the 550 User Unkown message being handled incorrectly as described here:
http://seclists.org/nmap-dev/2011/q1/585
http://seclists.org/nmap-dev/2011/q1/511
[Patrik]
2011-02-20 20:49:58 +00:00
djalal
0a9764709f Use the correct script name in the usage example of the smtp-enum-users. Reported by Jamuse, who also contributed the patch. 2011-02-17 18:41:51 +00:00
tomsellers
01bbf58b67 Fixed an undeclared variable. 2011-02-16 00:25:40 +00:00
tomsellers
c8fb3889e6 Addressed a condition in db2-das-info.nse where the script would crash
if the DB2 DAS service had discovery mode disabled.  While the service
would be listening, the data would be in an unexpected format.  This 
caused the script to crash at line 412 when it tried to extract the 
server profile from the DB2 response (db2response.info variable).

I will likely tweak the hard setting of the ports in the block that
follows after I perform more testing to verify that it behaves as
expected - Tom
2011-02-16 00:13:38 +00:00
david
4c358b171a Back-merge r22229:22234 from /nmap-releases/5.51.
------------------------------------------------------------------------
  r22234 | david | 2011-02-11 14:33:33 -0800 (Fri, 11 Feb 2011) | 4 lines
  
  Add an openssl guard around the require of tns in oracle-brute and
  oracle-enum-users. The tns library makes a call to
  openssl.rand_pseudo_bytes at its top level.
  
  ------------------------------------------------------------------------
  r22232 | david | 2011-02-11 14:28:18 -0800 (Fri, 11 Feb 2011) | 4 lines
  
  Put an openssl guard around the importing of ssh2 in
  ssh2-enum-algos.nse. Otherwise it fail in --script-updatedb when
  configured --without-openssl.
  
  ------------------------------------------------------------------------
  r22230 | david | 2011-02-11 13:38:49 -0800 (Fri, 11 Feb 2011) | 3 lines
  
  Allow whitespace at the end of the go_to_host pattern. On Windows,
  there's a '\r' at the end of the string, so the pattern didn't match.
2011-02-11 23:09:04 +00:00
patrik
e94bdc7f5f Updated all ms-sql scripts to use proper script name argument prefixes with
fallback to old argument names. [Patrik]
2011-02-09 20:48:42 +00:00
patrik
b3a3501190 Changed the script documentation in order to reflect the recent change of the
ms-sql-xp-cmdshell.cmd parameter.
2011-02-09 16:28:23 +00:00
patrik
3f15b93e98 Fixed typo in ms-sql-xp-cmdshell.cmd argument. Changed from mssql-xp-cmdshell
to ms-sql-xp-cmdshell. [Patrik]
2011-02-09 16:25:42 +00:00
david
31935a45d4 o [NSE] Fixed some portrules that used shortport functions incorrectly
and always returned true in dns-zone-transfer and
  ftp-proftpd-backdoor. [Jost Krieger]
2011-02-04 08:46:14 +00:00
david
21113fdfa9 Fix the nrpe-enum portrule. It was returning a function, thus always
true.
2011-02-01 21:25:46 +00:00