class Common

Defined in:

common/common.cr

Constant Summary

DANGEROUS_SHELL_PATTERNS = [/;/, /\|/, /&&/, /\|\|/, /\$\(/, /`/, />/, /</, /\n/, /\r/]

Shell metacharacters that should never appear in variable values. These could allow injection when values are substituted into shell commands.

Constructors

Instance Method Summary

Constructor Detail

def self.new(filePath) #

[View source]

Instance Method Detail

def getSystem #

[View source]
def idatLog(logItem) #

[View source]
def processRun(cmd) #

[View source]
def projectInfo #

[View source]
def projectLogFile #

[View source]
def projectSettings #

[View source]
def projectSteps #

[View source]
def projectVariables #

[View source]
def substituteVariables(cmd) #

[View source]