Skip to content

Commit a8ca32a

Browse files
committed
Oh yeah, need to do this too
1 parent 154b1e8 commit a8ca32a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/sap/sap_mgmt_con_listlogfiles.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ def listfiles(rhost)
138138
"Timestamp"
139139
])
140140

141-
store_loot(
141+
f = store_loot(
142142
"sap.#{datastore['FILETYPE'].downcase}file",
143143
"text/xml",
144144
rhost,
145145
saptbl.to_s,
146146
"sap_listlogfiles.xml",
147147
"SAP #{datastore['FILETYPE'].downcase}"
148148
)
149-
# Report to the user where this is stored
149+
vprint_status("sap_listlogfiles.xml stored in: #{f}")
150150

151151
env.each do |output|
152152
saptbl << [ output[0], output[1], output[2] ]

0 commit comments

Comments
 (0)