Build your own OpenC2 command


       OpenC2 Command Generator version 0.1 allows you to create an OpenC2 command by simply creating a sentence based on the action you would like to perform. The generator will generate  the OpenC2 command to preview. You can also download sample code ready to use in curl, python or nodejs.

Tool works in Firefox and Chrome.

OpenC2 Command Generation Step by Step

I want to
on a 
and I want it executed by
Specify Args
Start Time:    Format: mm/dd/yyyy hh:mm AM/PM
Stop Time:    Format: mm/dd/yyyy hh:mm AM/PM
Duration:   
Response Requested:   

{}

Code

After selecting your desired command, you can download sample code to run with these three different programs.

Custom Curl Code

Custom Nodejs Code

Custom Python Code

OpenC2 Server Connection Setup and Execution
OpenC2 Connection information
OpenC2 Server URI
OpenC2 Server API Key
Execute Command