-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Server variable #{server} is incorrect #2200
Comments
Hi @ramus82 , can you share a screenshot of the agent information table that has that server value? And can you also share the command line you used to start the agent? |
Hi uruwhy, The ability is defined as: cleanup: The command executed (click on star in Operation window of the executed command): The cleanup command executed (click on star in Operation window of the executed command): The content of the file "/tmp/facts_output.txt" is:
|
Hi @ramus82 , I found where the issue was. In the Agent constructor in If you want to maintain your current version of caldera for compatibility reasons, feel free to simply update your c_agent.py file accordingly. Otherwise, you can pull from the master branch of caldera once the pull request is merged in. |
Hi @uruwhy , I updated the c_agent.py file as you did (based on the commits related of the pull request) and it works fine on release 3.1.0. I just briefly test it and I don't see any issues so far. Thanks a lot for the fix. |
Glad it's working out for you! Let us know if you have any other questions or run into any other issues. |
@uruwhy am I wrong, or your pull request wasn't merged at all? https://github.com/mitre/caldera/blob/master/app/objects/c_agent.py#L110-#L111 PR: #2203 |
Hello,
I wanted to use #{server} variable in my ability and it's propagated as following: "10.0.0.1://None:None" (no quotes).
How shall I modify the variable for whole Caldera instance?
Thanks a lot
M.
The text was updated successfully, but these errors were encountered: