package
1.0.5
Repository: https://github.com/vnhacker1337/go-toolkit.git
Documentation: pkg.go.dev

# README

executil

The package contains various helpers to interact binary execution

# Functions

Run the specified command in os shell (sh or powershell.exe) and return the output.
RunPS runs the specified command through powershell.exe.
RunSafe necessarily does not prevent command injection but prevents/limits damage to an extent "the os/exec package intentionally does not invoke the system shell and does not expand any glob patterns or handle other expansions, pipelines, or redirections typically done by shells" This also mitigates windows security risk in go<1.19.
RunSh the specified command through sh.