aboutsummaryrefslogtreecommitdiff
path: root/server/src/image
diff options
context:
space:
mode:
authorauth12 <[email protected]>2020-07-24 10:56:14 -0700
committerauth12 <[email protected]>2020-07-24 10:56:14 -0700
commite487ffe1671ba807528d4039ef66f8f8f7eeb853 (patch)
treec65cc4dd529f8e37f9cca81d38c749dece13a574 /server/src/image
parentInjection and server changes. (diff)
downloadloader-e487ffe1671ba807528d4039ef66f8f8f7eeb853.tar.xz
loader-e487ffe1671ba807528d4039ef66f8f8f7eeb853.zip
Injection process changes and server improvements.
Diffstat (limited to 'server/src/image')
-rw-r--r--server/src/image/pe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/image/pe.h b/server/src/image/pe.h
index fdd8a97..d1a78cc 100644
--- a/server/src/image/pe.h
+++ b/server/src/image/pe.h
@@ -114,6 +114,8 @@ class image {
data.name = reinterpret_cast<const char *>(named_import->name);
data.rva = table->rva_first_thunk + index;
+ std::transform(mod_name.begin(), mod_name.end(), mod_name.begin(), ::tolower);
+
m_imports[mod_name].emplace_back(std::move(data));
}
}