finger.nse

来自「Ubuntu packages of security software。 相」· NSE 代码 · 共 37 行

NSE
37
字号
id="Finger Results"description="attempts to get a list of usernames via the finger service"author = "Eddie Bell <ejlbell@gmail.com>"license = "See nmaps COPYING for licence"categories = {"discovery"}require "shortport"portrule = shortport.port_or_service(79, "finger")action = function(host, port)	local socket = nmap.new_socket()	local results = ""	local status = true	local err_catch = function()		socket:close()	end	local try = nmap.new_try(err_catch())	socket:set_timeout(5000)	try(socket:connect(host.ip, port.number, port.protocol))	try(socket:send("\r\n"))	status, results = socket:receive_lines(100)	socket:close()	if not(status) then		return results	endend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?