Sha256: 7be34407f41db434a97d6b323a7a8533977d0020319f9295922856e3c40dd34f
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
# Executor implmentation # # Provide a safe execute command, that wll ensure paths and args are escaped properly # and check for expansions of the command # module Owasp module Esapi # Executor class class Executor # Wrapper for Process#spawn # it sanitizes the parames and validates paths before execution def execute_command(cmd,params,working_dir,codec,redirect_error) cmd_path = File.expand_path(cmd) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
owasp-esapi-ruby-0.30.0 | lib/executor.rb |