Skip to content

Instantly share code, notes, and snippets.

@wcc526
Created September 4, 2015 09:02
Show Gist options
  • Save wcc526/71f8b9827586a01833bc to your computer and use it in GitHub Desktop.
Save wcc526/71f8b9827586a01833bc to your computer and use it in GitHub Desktop.
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