Updated output from http-default-accounts #604

Closed
nnposter opened this Issue Dec 4, 2016 · 0 comments

Comments

Projects
None yet
1 participant

nnposter commented Dec 4, 2016

An updated version of the script provides the following:

  • Added XML structured output. Example:
<table key="Cacti">
  <elem key="path">/</elem>
  <table key="credentials">
    <table>
      <elem key="username">admin</elem>
      <elem key="password">admin</elem>
    </table>
  </table>
</table>
<table key="Nagios">
  <elem key="path">/nagios/</elem>
  <table key="credentials">
    <table>
      <elem key="username">nagiosadmin</elem>
      <elem key="password">CactiEZ</elem>
    </table>
  </table>
</table>
  • Changed the classic output to be more structured.

Before:

PORT   STATE SERVICE
80/tcp open  http
| http-default-accounts: [Cacti] credentials found -> admin:admin Path:/
|_[Nagios] credentials found -> nagiosadmin:CactiEZ Path:/nagios/

After:

PORT   STATE SERVICE
80/tcp open  http
| http-default-accounts:
|   [Cacti] at /
|     admin:admin
|   [Nagios] at /nagios/
|_    nagiosadmin:CactiEZ
  • Changed the classic output reporting of blank usernames or passwords from "" to more standardized "<blank>" for better clarity. The XML output is not effected.

Before:

PORT   STATE SERVICE
80/tcp open  http
|_http-default-accounts: [Belkin G Wireless Router] credentials found -> : Path:/

After:

PORT   STATE SERVICE
80/tcp open  http
| http-default-accounts:
|   [Belkin G Wireless Router] at /
|_    <blank>:<blank>

@cldrn FYI. Please let me know if you have concerns over any of these changes.

nmap-bot closed this in b0b9404 Dec 4, 2016

@suraj51k suraj51k added a commit to suraj51k/nmap that referenced this issue Jan 31, 2017

@suraj51k nnposter + suraj51k Implements XML structured output. Closes #604 74a89e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment