ptp
ptp copied to clipboard
[metasploit] The snmp_enumshares signature is broken
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, 448187c211a0961c04aa9ca09c9376fe0ad2a0e6 removes the broken signature (which by the way breaks one unit test case).