Skip to content

[metasploit] The snmp_enumshares signature is broken #3

@DePierre

Description

@DePierre

The snmp_enumshares signature is ' - ' in order to match the enumeration of the shares.

But when the module fails because the connection is refused, this signature also matches:

[*] Initializing modules...
^[[0m^[[0mRHOSTS => 127.0.0.1
^[[0mRPORT => 161
^[[0m^[[1m^[[34m[*]^[[0m Error: 127.0.0.1: Errno::ECONNREFUSED Connection refused - recvfrom(2)
^[[1m^[[34m[*]^[[0m Scanned 1 of 1 hosts (100% complete)
^[[1m^[[34m[*]^[[0m Auxiliary module execution completed
^[[0m

For now, 448187c removes the broken signature (which by the way breaks one unit test case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions