cmd_injection

demonstrates Command Injection via query, with vulnerable function exec.CommandContext

get/cmdInjection/exec.CommandContext/query/{safety}

Path parameters

safety'safe' | 'unsafe' | 'noop' required

safety qualifier

Query parameters

inputstring required

the user provided input for the query vulnerability

Response

returns the rendered response as a string

Changes

Changed in 2 of the 5 revisions of this API.6

    • api operation id getQueryCommandContext removed and replaced with CmdInjectionGetQueryCommandContext

      api-operation-id-removed

    • api tag cmd_injection added

      api-tag-added

    • api tag cmd-injection removed

      api-tag-removed

    • api operation id CmdInjectionGetQueryCommandContext removed and replaced with getQueryCommandContext

      api-operation-id-removed

    • api tag cmd-injection added

      api-tag-added

    • api tag cmd_injection removed

      api-tag-removed