Cisco DCNM Module upload directory location regex filter corrected to allow for paths such as C:\Cisco System\

This commit is contained in:
debifrank
2020-03-12 17:08:33 -04:00
parent d226025cd9
commit dfe70ca3fc
@@ -206,7 +206,7 @@ class MetasploitModule < Msf::Exploit::Remote
zis.each do |entry|
if entry.name =~ /jboss[0-9]*\.log/
fdata = zis.read(entry)
if fdata[/Started FileSystemDeploymentService for directory ([\w\/\\\-\.:]*)/]
if fdata[/Started FileSystemDeploymentService for directory ([\w\/\\\-\.: ]+)/]
tmp.close
tmp.unlink
return $1.strip