mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
minor
This commit is contained in:
@@ -32,10 +32,6 @@ using namespace std;
|
||||
constexpr std::string_view moduleName = "assemblyExec";
|
||||
constexpr unsigned long long moduleHash = djb2(moduleName);
|
||||
|
||||
#if defined(BUILD_TEAMSERVER) || defined(BUILD_TESTS)
|
||||
const std::string ToolsDirectoryFromTeamServer = "../Tools/";
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
@@ -148,7 +144,7 @@ int AssemblyExec::init(std::vector<std::string> &splitedCmd, C2Message &c2Messag
|
||||
|
||||
if(!myfile)
|
||||
{
|
||||
std::string newInputFile=ToolsDirectoryFromTeamServer;
|
||||
std::string newInputFile=m_toolsDirectoryPath;
|
||||
newInputFile+=inputFile;
|
||||
myfile.open(newInputFile, std::ios::binary);
|
||||
inputFile=newInputFile;
|
||||
|
||||
Reference in New Issue
Block a user