This commit is contained in:
maxdcb
2024-11-15 02:40:37 -05:00
parent 47e09e33d6
commit b4a6ade9b4
+1 -5
View File
@@ -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;