![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
#include "utils.h"#include <algorithm>#include <Shlwapi.h>#include <stdexcept>#include <vector>#include <sstream>Go to the source code of this file.
Functions | |
| bool | IsRunningAsAdmin () |
| bool | FileExists (const char *filename) |
| std::string | ToString (const std::wstring &wstr) |
| std::string | ToLower (std::string str) |
| std::string | GetCurrentPath () |
| std::string | GetBaseName (const std::string &path) |
| std::string | FormatTime (const std::time_t &time) |
| bool FileExists | ( | const char * | filename | ) |
Definition at line 33 of file utils.cpp.
| std::string FormatTime | ( | const std::time_t & | time | ) |
Definition at line 87 of file utils.cpp.
Referenced by CleanUpProtobufMessage().
| std::string GetBaseName | ( | const std::string & | path | ) |
| std::string GetCurrentPath | ( | ) |
Definition at line 68 of file utils.cpp.
References MAX_PATH.
Referenced by BuildContainerCommandLine(), and WinMain().
| bool IsRunningAsAdmin | ( | ) |
Definition at line 9 of file utils.cpp.
Referenced by WinMain().
| std::string ToLower | ( | std::string | str | ) |
| std::string ToString | ( | const std::wstring & | wstr | ) |
Definition at line 50 of file utils.cpp.
Referenced by DisplayEventInfo().