Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:rapid7/metasploit-framework into …

…HEAD

git-svn-id: https://www.metasploit.com/svn/framework3/trunk@15099 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information...
commit 1024adca379e084b14d29f2ea96be5f9cb2b977c 1 parent 37a885c
rapid7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/auxiliary/scanner/snmp/snmp_enumshares.rb
View
2  modules/auxiliary/scanner/snmp/snmp_enumshares.rb
@@ -36,9 +36,9 @@ def run_host(ip)
"1.3.6.1.4.1.77.1.2.27.1.2",
"1.3.6.1.4.1.77.1.2.27.1.3"]
+ @shares = []
if snmp.get_value('sysDescr.0') =~ /Windows/
- @shares = []
snmp.walk(share_tbl) do |entry|
@shares << entry.collect{|x|x.value}
end
Please sign in to comment.
Something went wrong with that request. Please try again.