-
Notifications
You must be signed in to change notification settings - Fork 383
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
Cortex Responder - Invalid Output #331
Comments
Has the python script the executable flag set? |
Think you have to add a shebang, e.g.:
#!/usr/bin/env python3
… Am 15.08.2018 um 17:57 schrieb crackytsi ***@***.***>:
Has the python script the executable flag set?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes, the script has a executable flag set. Updated the initial post with full code (just added the first two lines)
Also, I've tested with python3 and python (2) and I got the same error. |
Is there any responder related output in the cortex log? |
There is only few lines related and all of them are INFO...
|
@jordisk is owner set to cortex:cortex? |
Hi @crackytsi yes it was owned by root. I have to say I'm using the training VM. I've changed the owner of the responder to cortex:cortex and still getting same error.
After removing and installing again cortexutil It finally works. Many thanks for your help! |
Hi All, |
@crackytsi this is one of those that just makes you want to punch yourself in the nose. I don't know how much time I spent trying to figure out why the output was invalid...it wasnt...just wasnt there because the program never had the permission to run! lol thanks for the tip. |
Cortex Responder - Invalid Output
I'm trying to write a simple responder using the latest version of cortex (2.1.0-RC1
Based on Mailer responder, I wrote the following code:
And Json file has the following code:
New responder is detected by cortex and I've setup the url and api key, but when running the responder in case on The Hive, it fails.
Here the info From the cortex Job:
Input
Report
Any idea regarding where might be the problem?
I've tried with cortexutils 1.2.4 and 1.3.0 without any success
The text was updated successfully, but these errors were encountered: