mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Removed an errant call to ap(config) that ended up in the committed version of the script
This commit is contained in:
@@ -160,7 +160,6 @@ function action(host, port)
|
|||||||
-- indicate the access method - I know about SSH, HTTP, and Smart HTTP
|
-- indicate the access method - I know about SSH, HTTP, and Smart HTTP
|
||||||
local access1, access2, reponame = string.match(
|
local access1, access2, reponame = string.match(
|
||||||
config, "([@/])"..url.."([:/])([%w._-]+/?[%w._-]+)[%s$]")
|
config, "([@/])"..url.."([:/])([%w._-]+/?[%w._-]+)[%s$]")
|
||||||
ap(config)
|
|
||||||
if reponame then
|
if reponame then
|
||||||
-- Try and cut off the '.git' extension
|
-- Try and cut off the '.git' extension
|
||||||
reponame = string.match(reponame, "(.+)%.git") or reponame
|
reponame = string.match(reponame, "(.+)%.git") or reponame
|
||||||
|
|||||||
Reference in New Issue
Block a user