Closed bmr-cymru closed 3 years ago
Also sapnw (and local get_directory_listing
method)
Started looking at this, and in sapnw
we see this:
for sid in sidsunique:
for line in self.get_directory_listing("/usr/sap/%s/" % sid):
if 'DVEB' in line:
self.add_cmd_output(
"grep 'client driver' /usr/sap/%s/%s/work/dev_w0"
% (sid, line), suggest_filename="%s_dbclient"
% sid)
lolwut? We should just be collecting that file if anything I should think.
Ack - grepping fragments out of files is only really useful in a plugin if it's used to drive further collection work.
No thank you please...