Added default account fingerprint for APC UPS network management inte… #629

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

xelphene commented Jan 3, 2017

Added default account fingerprint for APC UPS network management interfaces.

Looks good! Thank you for contributing.

I have tweaked the fingerprint just a bit. Please let me know if you have concerns.

table.insert(fingerprints, {
  -- Version 416.7.I on Smart-UPS RT 2000 XL, 530.1800.D on APC Symmetra 80K,
  --         652.19.D on Smart-UPS 1000, 3.4.4 on AP7900 PDU
  name = "APC Management Card",
  category = "industrial",
  paths = {
    {path = "/"}
  },
  target_check = function (host, port, path, response)
    return http_auth_realm(response) == "APC Management Card"
  end,
  login_combos = {
    {username = "apc", password = "apc"}
  },
  login_check = function (host, port, path, user, pass)
    return try_http_basic_login(host, port, path, user, pass)
  end
})

I will close the PR once the fingerprint gets committed together with others that are currently in the pipeline.

nmap-bot closed this in 4bd51e9 Mar 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment