local http = require "http" local stdnse = require "stdnse" local shortport = require "shortport" local table = require "table" portrule = shortport.port_or_service({80, 443}, {"http", "https"}, "tcp", "open" ) action = function(host, port) local response, uri, status uri = "/Community/CommunityService.svc/JSON/AuthenticateMemberCP?authorization=TGFuZGluZ1BhZ2VfVXNlcjpecUFQeS1iNWc1Zm96QDNh&communityNameOrID=105" response = http.post(host, port, uri, { header = {["Content-Type"] = "application/json"}, no_cache = true, no_cache_body = true }, nil, { memberUsername = "username", memberPassword = "password", sponsorID = "S999-1907849208",visitorID = "1907849208", cpSessionID = "p6b7e1ac2-7436-4c0f-b3b1-e7777dd33876", callbackmethod = "jQuery191014485234646236567_1375786963488",_ = "1375786963490" }) stdnse.debug("Response: %s", response) return response.status end