Skip to main content

Summary

The command uses the ObjectiveC bridge to spawn ruby the same as when it is launched interactively and capture standard input. The supplied script is passed to the new ruby process, evaluated, and the output is returned. It is not interactive and does not go through a shell, so be sure scripts do not prompt for inputs.
  • Needs Admin: False
  • Version: 1
  • Author: @robot

Arguments

script

  • Description: Ruby script to be run
  • Required Value: True
  • Default Value: None

Usage

MITRE ATT&CK Mapping

  • T1059

Detailed Summary