mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
updating comment
This commit is contained in:
parent
c8c3363455
commit
dafd2d7534
@ -30,7 +30,7 @@ QueryData genBashHistory() {
|
||||
} else {
|
||||
struct passwd *pwd = nullptr;
|
||||
pwd = getpwuid(getuid());
|
||||
// TODO: Come back here when osquery supports parametrized queries, until then SQLi!
|
||||
// TODO: https://github.com/facebook/osquery/issues/244
|
||||
sql_str = "SELECT username,directory FROM users WHERE username = '" + std::string(pwd->pw_name) + "';";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user