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

22 Commits

Author SHA1 Message Date
david
ec4db04494 Add checks for nmap.address_family == "inet" to scripts that require
that. Patch by Henri Doreau.
2011-04-19 18:09:15 +00:00
david
46c29d3f60 Use stdnse.print_debug instead of log_write. Patch by Henri Doreau. 2011-04-19 18:09:13 +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
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
fyodor
b2598bc73d remove an email address so that Henri's author line for firewalk is the same as for his other new script (targets-traceroute). If he wants the email address there, we can add it to both. 2011-01-14 10:26:14 +00:00
fyodor
a84c2e4498 Did some NSEDoc cleanup on many of the 45 NSE scripts which are new since the 5.35DC1 Nmap release. Emphasis was on the first paragraph of the description, since that is shown on the front page of http://nmap.org/nsedoc and I'm planning to use that description verbatim (except for removing tags like <code>) for the CHANGELOG 2011-01-14 10:20:51 +00:00
david
a9a5869173 Normalize tab.lua usage so that a call to tab.nextrow comes after (not
before) each group of tab.add, and there is no tab.nextrow before or
after tab.addrow. Also remove manual indenting that was accomplished by
padding the first column with spaces; this is done by
stdnse.format_output now.
2010-12-30 21:08:25 +00:00
david
357c15a165 Remove the "cols" parameter from calls to tab.new. 2010-12-30 21:08:18 +00:00
david
77a4235fc4 Fixes to firewalk.nse from Henri Doreau: "The first one was due to my
ignorance that the first index of lua arrays is 1 (and not 0). Because
of that, I was setting a too high ttl value when retrieving it from
traceroute results. The second one was a syntax error on a
nmap.log_write() call."
2010-11-29 19:16:49 +00:00
david
a92f1cb8a4 Update to firewalk.nse from Henri Doreau to use a more polymorphic style
of supporting multiple protocols.
2010-11-06 01:54:30 +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
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
956688774a Add the ability to send UDP probes to firewalk.nse. Patch by Henri Doreau. 2010-09-28 03:25:22 +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
david
902b39517f Copyedit NSEDoc in firewalk.nse. 2010-08-31 04:05:31 +00:00
david
7026f5fdbd o [NSE] Added the firewalk script, which tries to find whether a
firewall blocks or forwards ports like the firewall tool does. [Henri
  Doreau]
2010-08-28 16:03:20 +00:00
david
5731d55219 Revert r19993, the addition of firewalk.nse. This depends on an nselib
change that isn't committed yet.
2010-08-27 20:03:21 +00:00
david
79da626772 o [NSE] Added the firewalk script, which maps firewall rules in a way
similar to the firewalk tool. [Henri Doreau]
2010-08-27 20:01:09 +00:00