Skip to content

Scripts vs PUT Files #1088

Answered by crowdstrikedcs
jkozlowicz asked this question in Q&A
Dec 6, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi @jkozlowicz Thanks for the question!

I implemented something similar for a recent project I was working on with RTR.

For my use case I have a binary that runs collects some data, and needed to write the response to disk and grab this.

  1. Put binary on host RTR_CreatePut_Files + BatchAdminCmd put
  2. Script checks binary matches expected hash value and executes the binary on disk with a parsed command. It then writes the response to disk and prints a status as well as the location of the saved response. BatchAdminCmd runscript
  3. Used RTR to upload the stored file on disk
  4. Grab the stored file and unzip it.

As to your question, runscript allows you to specify a script at runtime through the -Raw

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jkozlowicz
Comment options

@crowdstrikedcs
Comment options

@jkozlowicz
Comment options

@crowdstrikedcs
Comment options

Answer selected by jshcodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
RTR Real Time Response issues and questions API usage General API usage issues and questions
2 participants