Rindle.Security.Argv (Rindle v0.1.5)

Copy Markdown View Source

Argv sanitization and format validation.

Summary

Functions

Sanitizes a command string by stripping out shell characters.

Validates a command argument string against shell injection and unsupported formats.

Functions

sanitize(command)

Sanitizes a command string by stripping out shell characters.

validate(command)

Validates a command argument string against shell injection and unsupported formats.