mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Make some broadcast scripts 'safe' category
This commit is contained in:
@@ -39,7 +39,7 @@ interfaces.
|
|||||||
-- nmap --script broadcast-igmp-discovery
|
-- nmap --script broadcast-igmp-discovery
|
||||||
-- nmap --script broadcast-igmp-discovery -e wlan0
|
-- nmap --script broadcast-igmp-discovery -e wlan0
|
||||||
-- nmap --script broadcast-igmp-discovery
|
-- nmap --script broadcast-igmp-discovery
|
||||||
-- --script-args 'broadcast-igmp-discovery.version=all, broadcast-igmp-discovery.timeout=3'
|
-- --script-args 'broadcast-igmp-discovery.version=all, broadcast-igmp-discovery.timeout=3s'
|
||||||
--
|
--
|
||||||
--@output
|
--@output
|
||||||
--Pre-scan script results:
|
--Pre-scan script results:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ Reference:
|
|||||||
|
|
||||||
author = "Stefan Eiwanger, DINA-community"
|
author = "Stefan Eiwanger, DINA-community"
|
||||||
license = "BSD-2-Clause Plus Patent License. For further details, please refer https://spdx.org/licenses/BSD-2-Clause-Patent.html"
|
license = "BSD-2-Clause Plus Patent License. For further details, please refer https://spdx.org/licenses/BSD-2-Clause-Patent.html"
|
||||||
categories = {"discovery","info", "safe"}
|
categories = {"discovery","info", "safe", "broadcast"}
|
||||||
|
|
||||||
prerule = function()
|
prerule = function()
|
||||||
if not nmap.is_privileged() then
|
if not nmap.is_privileged() then
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ author = {"David Fifield", "Xu Weilin"}
|
|||||||
|
|
||||||
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||||
|
|
||||||
categories = {"discovery","broadcast"}
|
categories = {"discovery", "broadcast", "safe"}
|
||||||
|
|
||||||
|
|
||||||
prerule = function()
|
prerule = function()
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ author = {"David Fifield", "Xu Weilin"}
|
|||||||
|
|
||||||
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||||
|
|
||||||
categories = {"discovery","broadcast"}
|
categories = {"discovery", "broadcast", "safe"}
|
||||||
|
|
||||||
|
|
||||||
prerule = function()
|
prerule = function()
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ responses from their multicast group.
|
|||||||
|
|
||||||
author = {"niteesh", "alegen"}
|
author = {"niteesh", "alegen"}
|
||||||
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||||
categories = {"discovery","broadcast"}
|
categories = {"discovery", "broadcast", "safe"}
|
||||||
|
|
||||||
|
|
||||||
local arg_timeout = stdnse.parse_timespec(stdnse.get_script_args(SCRIPT_NAME .. '.timeout'))
|
local arg_timeout = stdnse.parse_timespec(stdnse.get_script_args(SCRIPT_NAME .. '.timeout'))
|
||||||
|
|||||||
Reference in New Issue
Block a user