1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 11:59:03 +00:00
Commit Graph

9948 Commits

Author SHA1 Message Date
dmiller
0effedaf9e Add filename checks to deprecated output file options 2015-09-09 02:50:47 +00:00
dmiller
829fbef715 Fix human-readable sizes in ls.lua
First, enforce significant digits when converting, e.g. 1.1K to bytes.
Next, use the server-returned human-readable format instead of
converting to bytes by default. The conversion to bytes is still done to
get total byte count.

Also changed how boolean options work to better match existing
convention: --script-args ls.human or --script-args ls.human=1 now work.
You must explicitly say "false", "no", or "0" to make a boolean flag
false (or just leave it out).
2015-09-04 14:23:14 +00:00
dmiller
ff0f32bb67 Tighten pattern match to avoid \r in output 2015-09-04 14:23:14 +00:00
dmiller
b5cc57fbcc Add http-ls.nse. See #106 2015-09-04 12:52:10 +00:00
dmiller
998da3d070 Fix an assertion error in ls.lua: size is a number, not a string 2015-09-04 12:52:09 +00:00
dmiller
893f0c32f9 Update afp-ls, nfs-ls, smb-ls to use ls.lua. See #106 2015-09-04 12:52:08 +00:00
dmiller
087fadf2a9 Add ls.lua library. Closes #106 2015-09-04 12:52:08 +00:00
dmiller
c527e097a3 Add a make-install step to Travis CI. Closes #205 2015-09-02 15:01:03 +00:00
dmiller
867d927ca6 Fix some links Google was grabbing from the Changelog ending in 'html.' 2015-09-01 19:01:52 +00:00
dmiller
f92265c91b Fix a double-free and cache problem in nmap_dns 2015-08-29 11:32:52 +00:00
dmiller
7852fa3c18 Remove many ERROR outputs from non-debug NSE output 2015-08-27 20:43:55 +00:00
dmiller
fb5c947453 Fix Nmap DTD to account for PCDATA in script element 2015-08-21 16:35:19 +00:00
andrew
90f534d8c1 Removed an unnecessary check that a string is non-NULL before free()ing memory in proxy_*_node_delete. 2015-08-21 14:39:31 +00:00
dmiller
101562e0e5 Add a couple more missing dependencies. 2015-08-21 01:57:43 +00:00
dmiller
e0fd29efb0 Add a missing dependency in Makefile.in 2015-08-20 21:22:56 +00:00
gio
569e954a96 nselb/creds: Fix #159, Add support for credential multitag 2015-08-20 20:05:28 +00:00
gio
419cf17951 Update changelog with changes relative to #75 2015-08-20 19:50:42 +00:00
gio
1873c53d7c Normalize target all in Makefile.in 2015-08-20 19:50:41 +00:00
gio
c3b069b0ea normalized *_check target to check-* target 2015-08-20 19:50:39 +00:00
gio
263872f60b Normalize some forgotten target 2015-08-20 19:50:37 +00:00
gio
90edf7ba5c normalized *_[dist]clean target to [dist]clean-* target 2015-08-20 19:50:34 +00:00
gio
1529955698 Squash my_*clean inside *clean, config.cache cleared only by distclean 2015-08-20 19:50:31 +00:00
gio
3b42a41f44 normalized *_build target to build-* target 2015-08-20 19:50:29 +00:00
gio
0044e8bad1 http-form-fuzzer: Use functions from nselib instead of reinventing 2015-08-18 16:25:17 +00:00
gio
3ca8599de3 Made maxlen and minlen form specific 2015-08-18 16:25:15 +00:00
gio
27563803f7 http-form-fuzzer assign {max,min}len_global in action function so they are host specific 2015-08-18 16:25:14 +00:00
gio
dd0c38778a http-form-fuzzer decrease max length if server report error 413 or 414 2015-08-18 16:25:12 +00:00
gio
730c9936bb Keep nbase compatible with old C compilers 2015-08-18 16:21:25 +00:00
gyani
ac5094aa5d Added script xmlrpc-methods. This script perfoms introspection of
xmlrpc instances by using the system.listmethods and
system.methodhelp method.
2015-08-17 19:03:34 +00:00
gyani
6c10bd10e9 The script now outputs a table of elements(methods) when used
with -oX and shows the output in oneline on the commandline.
2015-08-17 14:31:03 +00:00
gyani
7819471a54 Removed http-email-harest and made changes to CHANGELOG and script.db
to show the same.

The new http-grep comitted earlier does what http-email-harvest does
by default(no patterns given).
2015-08-14 12:38:03 +00:00
gyani
f9196dbb2a Modified scripts/script.db to show the http-fetch changes.
Added information about http-fetch to the CHANGELOG.
2015-08-14 12:34:18 +00:00
gyani
88381c2e68 The http-fetch script is used to fetch files from a server.
You can fetch all files, fetch particular fiels or fetch
files that match a specific pattern.
2015-08-14 12:34:09 +00:00
gyani
8766678793 Fixed NSEDoc and a comment. Earlier version had some comments from
the version that checked for LOGO.png instead of LICENSE.txt.

Some Drupal instances returns 200 for all  GET Requests, hence
the check for the identification string was necessary.
2015-08-14 11:31:36 +00:00
gyani
695edff47e I made the unescape function public. This function can be used
to convert html entities to their normal forms. For exmaple
lt; to <.
2015-08-14 11:24:30 +00:00
gyani
afac209b6f Change script.db and CHANGELOG to reflect the http-drupal-enum
changes.
2015-08-13 12:05:44 +00:00
gyani
7116f9eaac Fixed the documentation. @usage has the default usage now. 2015-08-13 11:59:56 +00:00
gyani
ba873c28c0 http-drupal-enum replaces http-drupal-modules.
The script now supports drupal theme listing as well.
Updated drupal-modules.lst and added drupal-themes.lst.
2015-08-13 11:58:44 +00:00
dmiller
69345854ee Fix script matching patterns that start with category names
The keyword patterns like "categories" or K "true" were consuming the
first part of patterns like --script 'broadcast-*' resulting in the
error "'broadcast-*' did not match a category, filename, or directory"

Changed to add a lookahead match for space, parentheses, or end-of-line
before considering a keyword to have matched.
2015-08-12 14:29:20 +00:00
dmiller
2fa36ec97f Fix arg parsing with nested tables, e.g. {{path=/}} 2015-08-11 20:45:33 +00:00
gyani
1de1b10c89 Ganglia info now uses dispatch tables and SLAXML to parse the XML response. 2015-08-08 11:25:27 +00:00
dmiller
9ab82ecedf Fix raw packet sending on FreeBSD 10.0 and later.
See https://svnweb.freebsd.org/base?view=revision&revision=241913 for
the change. Closes #196. Fixes #50.
2015-08-06 21:10:36 +00:00
dmiller
9fbad88213 Avoid blank output in tls-nextprotoneg when server doesn't offer any protocols 2015-08-06 21:10:35 +00:00
gyani
725ace524f The script would earlier return wrong output because the parsing of xml
depended on the order of the elements(date occuring before author).
I changed that and now the xml is parsed without regard to order.
2015-08-05 19:57:06 +00:00
dmiller
7c08cf9c4f Clean up nested list in nsedoc 2015-08-04 14:21:48 +00:00
gyani
97e4e55f31 Would crash when an http service returned no response status. Fixed
that.
2015-08-01 21:08:22 +00:00
dmiller
aa359738c1 Use POSIX-specified s6_addr element of struct in6_addr. http://seclists.org/nmap-dev/2015/q3/174 2015-08-01 19:42:34 +00:00
gio
96d5b949b3 Fixes #185 make nmap works fine, added missing dependencies 2015-07-30 06:30:30 +00:00
gio
86c89a3ecc Add DNS improvements to changelog. Closes #51 2015-07-30 06:27:56 +00:00
gio
6fdae80e41 Update request id on resend, bug discovered by bonsaiviking 2015-07-30 06:27:53 +00:00