Andrea
11/29/2019, 5:09 PMosquery::SQL object to run the query select sha256 from hash where path = '<path>'; to get the hash. I get loads of DBManager contention: opening transient SQLite database. Is that a bad thing ? is there a more correct way of doing what I am trying to do?theopolis
theopolis
Andrea
12/03/2019, 12:47 PMAndrea
12/03/2019, 12:53 PMPluginRef from the Registry of the Hash table, downcast to TablePlugin and call the generate(QueryContext &) method on that object. It seems it is working ok. Any thoughts on this solution?theopolis
hash table for a reference.Andrea
12/03/2019, 3:23 PMhashTablePlugin is having ( calc. md5 sha1 sha256 for path/dir) querying the table hash, but I need to do it programmatically and asynchronously. I thought that was the best way to avoid repeating myself. Is there a way of populating a table without calling the corresponding Plugin? As you can see I am not full aware of the code in osquery..Andrea
12/03/2019, 3:57 PM