New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup and improvements to influxdb_enum #9915

Merged
merged 3 commits into from Nov 26, 2018

Conversation

Projects
None yet
4 participants
@nixawk
Contributor

nixawk commented Apr 23, 2018

Old module

msf > use auxiliary/scanner/http/influxdb_enum 
msf auxiliary(scanner/http/influxdb_enum) > set RHOST 172.25.65.20
RHOST => 172.25.65.20
msf auxiliary(scanner/http/influxdb_enum) > set VERBOSE true
VERBOSE => true
msf auxiliary(scanner/http/influxdb_enum) > run 

[-] Unable to enum, received "404"
[*] Auxiliary module execution completed

New module

msf5 > use auxiliary/scanner/http/influxdb_enum
msf5 auxiliary(scanner/http/influxdb_enum) > set RHOST 172.25.65.20
RHOST => 172.25.65.20
msf5 auxiliary(scanner/http/influxdb_enum) > set VERBOSE true
VERBOSE => true
msf5 auxiliary(scanner/http/influxdb_enum) > run

[+] 172.25.65.20:8086 - Influx Version: 1.5.1
[+] 172.25.65.20:8086 - Influx DB Found:

{
  "results": [
    {
      "statement_id": 0,
      "series": [
        {
          "name": "databases",
          "columns": [
            "name"
          ],
          "values": [
            [
              "_internal"
            ]
          ]
        }
      ]
    }
  ]
}

[+] File saved in: /Users/unix/.msf4/loot/20180423050119_default_172.25.65.20_influxdb.enum_623871.txt
[*] Auxiliary module execution completed
msf5 auxiliary(scanner/http/influxdb_enum) > set QUERY "SHOW USERS"
QUERY => SHOW USERS
msf5 auxiliary(scanner/http/influxdb_enum) > run

[+] 172.25.65.20:8086 - Influx Version: 1.5.1
[+] 172.25.65.20:8086 - Influx DB Found:

{
  "results": [
    {
      "statement_id": 0,
      "series": [
        {
          "columns": [
            "user",
            "admin"
          ]
        }
      ]
    }
  ]
}

[+] File saved in: /Users/unix/.msf4/loot/20180423205010_default_172.25.65.20_influxdb.enum_589044.txt
[*] Auxiliary module execution completed
msf5 auxiliary(scanner/http/influxdb_enum) > set RHOST www.rapid7.com
RHOST => www.rapid7.com
msf5 auxiliary(scanner/http/influxdb_enum) > run

[-] Auxiliary aborted due to failure: unreachable: www.rapid7.com:8086 - Failed to connect to the influx db server.
[*] Auxiliary module execution completed

nixawk added some commits Apr 23, 2018

@nixawk

This comment has been minimized.

Contributor

nixawk commented Nov 25, 2018

@bcoles merge it ?

@bcoles

This comment has been minimized.

Contributor

bcoles commented Nov 25, 2018

@busterb This PR has been open for 7 months.

@busterb busterb self-assigned this Nov 26, 2018

@busterb

This comment has been minimized.

Contributor

busterb commented Nov 26, 2018

Sure, I'll grab it.

@busterb busterb merged commit 273e252 into rapid7:master Nov 26, 2018

3 checks passed

Metasploit Automation - Sanity Test Execution Successfully ran sanity checks.
Details
Metasploit Automation - Test Execution Successfully ran `autoPayloadTest.py`.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

busterb added a commit that referenced this pull request Nov 26, 2018

msjenkins-r7 added a commit that referenced this pull request Nov 26, 2018

@busterb

This comment has been minimized.

Contributor

busterb commented Nov 26, 2018

Release Notes

This improves reliability and compatibility of the influxdb_enum scanner module.

@gdavidson-r7 gdavidson-r7 added the rn-fix label Dec 3, 2018

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