PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
Variables
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
Enumerations
Enumerator
c
h
i
p
s
t
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
i
o
r
s
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
Functions
Variables
Typedefs
Enumerations
Enumerator
j
o
p
r
s
Macros
c
d
e
g
h
i
l
m
o
p
r
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
utils
path_util.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <windows.h>
4
#include <sstream>
5
#include <iomanip>
6
7
namespace
pesieve
{
8
namespace
util
{
9
10
char
*
get_subpath_ptr
(
char
*modulePath,
char
* searchedPath);
11
12
// Add escape characters to path separators
13
std::string
escape_path_separators
(std::string path);
14
15
// Get system drive letter, i.e. "C:"
16
std::string
get_system_drive
();
17
18
bool
dir_exists
(
const
char
* path);
19
20
bool
create_dir_recursively
(
const
std::string& path);
21
22
// Find given prefix in the string, and remove it if found. Case insensitive.
23
std::string
strip_prefix
(std::string path, std::string prefix);
24
};
25
};
pesieve::util
Definition
artefact_scanner.cpp:12
pesieve::util::dir_exists
bool dir_exists(const char *path)
Definition
path_util.cpp:65
pesieve::util::create_dir_recursively
bool create_dir_recursively(const std::string &path)
Definition
path_util.cpp:73
pesieve::util::get_subpath_ptr
char * get_subpath_ptr(char *modulePath, char *searchedPath)
Definition
path_util.cpp:5
pesieve::util::strip_prefix
std::string strip_prefix(std::string path, std::string prefix)
Definition
path_util.cpp:94
pesieve::util::get_system_drive
std::string get_system_drive()
Definition
path_util.cpp:46
pesieve::util::escape_path_separators
std::string escape_path_separators(std::string path)
Definition
path_util.cpp:27
pesieve
Definition
pesieve.py:1
Generated by
1.13.2