發表文章

目前顯示的是 4月, 2018的文章

broadcast-ping 說明

圖片
ping 這是 很常用指令... 透過ICMP方式, 去詢問LAN的電腦.. 其實與 DOS ping 類似(指令參數不同) 說明: nmap -e <interface> [--ttl <ttl>] [--data-length <payload_length>] --script broadcast-ping [--script-args [broadcast-ping.timeout=<ms>],[num-probes=<n>]] 官方:   https://nmap.org/nsedoc/scripts/broadcast-ping.html 內文: local bin = require "bin" local coroutine = require "coroutine" local ipOps = require "ipOps" local nmap = require "nmap" local packet = require "packet" local stdnse = require "stdnse" local tab = require "tab" local table = require "table" local target = require "target" local openssl = stdnse.silent_require "openssl" description = [[ Sends broadcast pings on a selected interface using raw ethernet packets and outputs the responding hosts' IP and MAC addresses or (if requested) adds them as targets.  Root privileges on UNIX are required to