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

📄 xamppdefaultpass.nse

📁 Overview是Linux,FreeBSD,UNIX,Windows下的网络扫描和嗅探工 具包,其基本功能有三个,一是探测一组主机是否在线 其次是扫描 主机端口,嗅探所提供的网络服务 还可以推断主机
💻 NSE
字号:
id = "XAMPP default pwd"description = "If the remote host is running XAMP (an Apache distribution\designed for easy installation and administration) and XAMPP's FTP server is\allows access with nobody/xampp then we report it."author = "Diman Todorov <diman.todorov@gmail.com>"license = "See nmaps COPYING for licence"categories = {"vulnerability"}require "shortport"portrule = shortport.port_or_service(21, "ftp")login = function(socket, user, pass)	local status, err	local res = ""	status, err = socket:send("USER " .. user .. "\n")	status, err = socket:send("PASS " .. pass .. "\n")	-- consume the banner and stuff	while true do		status, res = socket:receive_lines(1)		if 			not string.match(res, "^220") 			and not string.match(res, "^331 ") 		then			break		end	end	-- are we logged in?	if string.match(res, "^230") then		return "Login success with u/p: " .. user .. "/" .. pass	endendaction = function(host, port)	local res	local socket = nmap.new_socket()	socket:connect(host.ip, port.number)	res = login(socket, "nobody", "e0e0e0e0")	socket:close()	socket:connect(host.ip, port.number)	res = login(socket, "nobody", "xampp")	socket:close()		return  resend

⌨️ 快捷键说明

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