1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-28 09:09:02 +00:00

Add @xmloutput to snmp-hh3c-logins.

This commit is contained in:
david
2012-11-10 07:33:59 +00:00
parent 4dc425e00d
commit 36e378155e

View File

@@ -29,15 +29,28 @@ http://grutztopia.jingojango.net/2012/10/hph3c-and-huawei-snmp-weak-access-to.ht
-- | users:
-- | admin - admin - level: 3
-- |_ h3c - h3capadmin - level 0
--
-- @xmloutput
-- <table>
-- <elem key="password">admin<elem>
-- <elem key="username">admin</elem>
-- <elem key="level">3</elem>
-- </table>
-- <table>
-- <elem key="password">h3capadmin<elem>
-- <elem key="username">h3c</elem>
-- <elem key="level">0</elem>
-- </table>
author = "Kurt Grutzmacher"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"default", "discovery", "safe"}
dependencies = {"snmp-brute"}
-- Version 0.2
-- Version 0.3
-- Created 10/01/2012 - v0.1 - created via modifying other walk scripts
-- Updated 10/25/2012 - v0.2 - bugfixes and better output per NSE standards
-- Updated 11/08/2012 - v0.3 - added xmloutput
portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})