For whatever reason I'm not seeing comment on github...

Yes the 'and' is correct...

Its checking to make sure answer is not Null and does not begin with noSuch...


------Original Message------
From: sinn3r
To: rapid7/metasploit-framework
Cc: ringt
ReplyTo: rapid7/metasploit-framework
Subject: Re: [metasploit-framework] Making changes recommended in redmine 7945 (#1925)
Sent: Jun 7, 2013 2:01 PM


In modules/auxiliary/scanner/snmp/snmp_enum.rb: > @@ -653,7 +653,7 @@ def run_host(ip) > 			end > > 			hrFSRemoteMountPoint = snmp.get_value('1.3.6.1.2.1.25.3.8.1.3.1') > -			if hrFSRemoteMountPoint.to_s !~ /Null/ > +			if hrFSRemoteMountPoint.to_s !~ /Null/ and hrFSRemoteMountPoint.to_s !~ /^noSuch/ 
I don't have a SNMP setup right, but should this be "or", or actually "and"? 
—
Reply to this email directly or view it on GitHub. 
Sent via BlackBerry by AT&T