Created
September 4, 2015 09:02
-
-
Save wcc526/71f8b9827586a01833bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description = [[ Attempt to get App ]] | |
author = "wcc526 <949409306@qq.com>" | |
license = "Same as Nmap" | |
categoriese = {"default","discovery","safe"} | |
local shortport = require "shortport" | |
local http = require "http" | |
portrule = shortport.port_or_service({80,8081},{"http"}) | |
action = function(host,port) | |
local stats = http.get(host,port,'/').status | |
if stats == 200 then | |
return "Hello" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment