-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExecutePe no return output. #150
Comments
How are you compiling that code? Apollo's
|
Thx, for that tip. My error i doesn't checked documentation of that command. |
Run exe from that code with the same compile parameters doesn't give output result.
But for that code all is OK.
|
Hmm I'll have to look into what's going on more, but I can at least confirm what you're seeing. The first code block does not return output to Mythic; however, the second code block does return output. |
Ok, I got it to work. I think the issue is that using some of those other libraries in the top C++ code (like the std::cout) are handled a little differently when it comes to compilation. In addition to needing that
Also, make sure you're using the latest Apollo code for the agent and the server.
|
In Visual Studio 2022 i don't have Configuration Properties --> General, change the "Use of MFC" field to "Use MFC in a Static Library". I tried change vcxproj file and add UseOfMFC.
That not give positive result. |
When i run task with command ExecutePE result is only:
When program console is:
TestExec.exe code is simple:
The text was updated successfully, but these errors were encountered: