Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

QuickAction Overview

SirBitesalot edited this page Jan 24, 2021 · 3 revisions

Predefined variables

CyberCAT sets up some predefined variables that can be used in your script. Note that these are case sensitive:

Accessible types

The accessible types of the scripts are limited so that QuickActions have a limited scope of what they can do. The following types are accesible:

  • All types of CyberCAT.Core
    • Note that some properties need to be cast to their correct type see casting
  • Enumerable
    • Gives Access to some Enumerable Extensions
    • is limited as only some extensions can be called without error from JS
      • "FirstOrDefault" can be called
      • "Sum" on the other hand will result in errors
  • EnumerableExtensions
    • Gives access to Enumerable.where to use like in c# linq expressions
    • More extensions could be added on request

Clone this wiki locally