發表文章

broadcast-pc-duo 說明

可以找尋 LAN 裡頭 的 PC-Duo client 指令:  nmap --script broadcast-pc-duo PC-Duo 這是一套 遠端控管軟體, 類似  teamviewer... 但他 提供 中央控管與VMware 特性 http://www.vector-networks.com/it-asset-and-service-management/ITIL-ITSM-products/PC-Duo-remote-control.html 官方網址:  https://nmap.org/nsedoc/scripts/broadcast-pc-duo.html 內文: local bin = require "bin" local coroutine = require "coroutine" local nmap = require "nmap" local os = require "os" local stdnse = require "stdnse" local table = require "table" description = [[ Discovers PC-DUO remote control hosts and gateways running on a LAN by sending a special broadcast UDP probe. ]] --- -- @usage -- nmap --script broadcast-pc-duo -- -- @output -- Pre-scan script results: -- | broadcast-pc-duo: -- |   PC-Duo Gateway Server -- |     10.0.200.113 - WIN2K3SRV-1 -- |   PC-Duo Hosts -- |_    10.0.200.113 - WIN2K3SRV-1 -- -- @args broadcast-pc-duo.timeout specifies the amount of secon...

broadcast-pc-anywhere 說明

這是 用來找LAN 裡頭  可有pcanywhere 軟體client 指令:  nmap --script broadcast-pc-anywhere 官方網址:  h ttps://nmap.org/nsedoc/scripts/broadcast-pc-anywhere.html 內文: local nmap = require "nmap" local os = require "os" local stdnse = require "stdnse" local table = require "table" description = [[ Sends a special broadcast probe to discover PC-Anywhere hosts running on a LAN. ]] --- -- @usage -- nmap --script broadcast-pc-anywhere -- -- @output -- Pre-scan script results: -- | broadcast-pc-anywhere: -- |_  10.0.200.113 - WIN2K3SRV-1 -- -- @args broadcast-pc-anywhere.timeout specifies the amount of seconds to sniff --       the network interface. (default varies according to timing. -T3 = 5s) author = "Patrik Karlsson" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = { "broadcast", "safe" } local TIMEOUT = stdnse.parse_timespec(stdnse.get_script_args("broadcast...

broadcast-networker-discover說明

針對LAN裡頭是否存在 EMC Networker備份軟體ˋ主機 搜尋 官方:   https://nmap.org/nsedoc/scripts/broadcast-networker-discover.html EMC Networker備份軟體: pdf  , 說明 內文: local nmap = require "nmap" local rpc = require "rpc" local stdnse = require "stdnse" local table = require "table" description = [[ Discovers EMC Networker backup software servers on a LAN by sending a network broadcast query. ]] --- -- @usage nmap --script broadcast-networker-discover -- -- @output -- Pre-scan script results: -- | broadcast-networker-discover: -- |_  10.20.30.40 -- -- author = "Patrik Karlsson" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = {"broadcast", "safe"} prerule = function() return true end local function Callit( host, port, program, protocol )   local results = {}   local portmap, comm = rpc.Portmap:new(), rpc.Comm:new('rpcbind', 2)   local status, result = comm:Co...

broadcast-novell-locate 說明

一般而言. 網路裡頭有一台Novell 主機, 超穩, 可是Novell NetWare Core Protocol (NCP) 這是在 IPX/SPX  協定,...比較少見難找 官方: https://nmap.org/nsedoc/scripts/broadcast-novell-locate.html 內文: local bin = require "bin" local ipOps = require "ipOps" local srvloc = require "srvloc" local stdnse = require "stdnse" local table = require "table" description = [[ Attempts to use the Service Location Protocol to discover Novell NetWare Core Protocol (NCP) servers. ]] --- -- --@output -- Pre-scan script results: -- | broadcast-novell-locate: -- |   Tree name: CQURE-LABTREE -- |   Server name: linux-l84t -- |   Addresses -- |_    192.168.56.33 -- -- -- Version 0.1 -- Created 04/26/2011 - v0.1 - created by Patrik Karlsson author = "Patrik Karlsson" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = {"broadcast", "safe"} prerule = function() return true end function action()...

broadcast-netbios-master-browser說明

圖片
尋找LAN 有使用 netbios 通訊協定 的電腦..... nmap --script=broadcast-netbios-master-browser 官方說明:  https://nmap.org/nsedoc/scripts/broadcast-netbios-master-browser.html 內文: local bit = require "bit" local netbios = require "netbios" local nmap = require "nmap" local stdnse = require "stdnse" local tab = require "tab" description = [[ Attempts to discover master browsers and the domains they manage. ]] --- -- @usage -- nmap --script=broadcast-netbios-master-browser -- -- @output -- | broadcast-netbios-master-browser: -- | ip            server        domain -- |_10.0.200.156  WIN2K3-EPI-1  WORKGROUP -- -- Version 0.1 -- Created 06/14/2011 - v0.1 - created by Patrik Karlsson <patrik@cqure.net> author = "Patrik Karlsson" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" categories = {"broadcast", "safe"} prerule = function() return true end local functio...

broadcast-ms-sql-discover 說明

圖片
MS SQL 內定使用  TCP port :1433, UDP port: 1434 透過此方式, 取得該主機SQL 相關資訊... 官方網站:  https://nmap.org/nsedoc/scripts/broadcast-ms-sql-discover.html 內容: local mssql = require "mssql" local stdnse = require "stdnse" local string = require "string" local table = require "table" local target = require "target" -- -*- mode: lua -*- -- vim: set filetype=lua : description = [[ Discovers Microsoft SQL servers in the same broadcast domain. SQL Server credentials required: No (will not benefit from <code>mssql.username</code> & <code>mssql.password</code>). The script attempts to discover SQL Server instances in the same broadcast domain. Any instances found are stored in the Nmap registry for use by any other ms-sql-* scripts that are run in the same scan. In contrast to the <code>ms-sql-discover</code> script, the broadcast version will use a broadcast method rather than targeting indi...

使用 NSE 腳本~window 轉成bat檔 輸出

一般而言, 安裝 nmap 的 window版 ... 你可能需要寫到bat 檔, 當成可執行方式 可以到 http://www.nmap.org/   , 去下載 window版的 nmap     叁考: http://networkhwsw.blogspot.tw/2015/10/nmap-zenmap.html 指令:   nmap --script  ****.nse    偵測IP 因為在window是放在 C:\Program Files (x86)\Nmap\scripts (Linux/Kali  是在 /usr/share/nmap/scripts ) 建議寫一個bat 檔,  把要做的腳本寫入, 而產到 某一個 txt檔 例如: @echo OFF SET /P VAR1=請輸入IP: @echo ===================================== >>nmap.txt @echo --------------------------------------------------------------- >>nmap.txt @echo ******** smb-check-vulns.nse ******** >>nmap.txt nmap --script smb-check-vulns.nse  %VAR1%   >>nmap.txt