Aung
07/05/2024, 8:55 AMAung
07/05/2024, 9:00 AMFG
07/05/2024, 2:07 PMand f.type = 'regular'
? or handling nulls by using COALESCE() or LEFT JOIN to see if this is an actual bug or not?FG
07/05/2024, 2:15 PMf.path LIKE '/Users/%/Downlaods/%.zip
Dale Ribeiro
07/05/2024, 2:22 PMFG
07/05/2024, 4:25 PMSELECT DISTINCT path, sha256 FROM mdls JOIN hash USING(path) WHERE path LIKE '/Users/%/Downloads/%.zip';
Aung
07/08/2024, 5:28 AMAung
07/08/2024, 5:37 AMSELECT f.path, h.sha256 FROM file f JOIN hash h ON f.path=h.path WHERE f.path='/Users/testuser/Desktop/file' and f.type = 'regular';
This also returns the same results. Just file path with no hash values. I also suspect Dale's explanation. As per my understanding, osquery is installed on system levels. Then, why it would not able to access user's directories. There is no error output for that.
It works when I run locally the osquery from the machine.Aung
07/08/2024, 7:36 AMBilly H
08/19/2024, 3:52 PMBilly H
08/19/2024, 5:32 PMAung
08/20/2024, 1:56 AM