⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anonftp.nse

📁 Overview是Linux,FreeBSD,UNIX,Windows下的网络扫描和嗅探工 具包,其基本功能有三个,一是探测一组主机是否在线 其次是扫描 主机端口,嗅探所提供的网络服务 还可以推断主机
💻 NSE
字号:
id="Anonymous FTP"description="Checks to see if a FTP server allows anonymous logins"author = "Eddie Bell <ejlbell@gmail.com>"license = "See nmaps COPYING for licence"categories = {"intrusive"}require "shortport"portrule = shortport.port_or_service(21, "ftp")action = function(host, port)	local socket = nmap.new_socket()	local result	local status = true	local isAnon = false	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("USER anonymous\r\n"))	try(socket:send("PASS IEUser@\r\n"))        while status do		status, result = socket:receive_lines(1);		if string.match(result, "^230") then			isAnon = true			break		end	end	socket:close()	if(isAnon) then		return "FTP: Anonymous login allowed"	endend

⌨️ 快捷键说明

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