Add support for 10.5 shares.

bug/bundler_fix
joev 2013-12-01 20:13:54 -06:00
parent 347d438f90
commit 2de9a4f3c1
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class Metasploit3 < Msf::Post
# and their corresponding ptcl and srvr attributes
list = []
lines.each_with_index do |line, x|
if line =~ /"desc"<blob>="Network Password"/ && x < lines.length-2
if line =~ /"desc"<blob>=("Network Password"|<NULL>)/ && x < lines.length-2
# Remove everything up to the double-quote after the equal sign,
# and also the trailing double-quote
if lines[x+1].match "^.*\=\"(.*)\w*\"\w*$"