cmd_injection

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

get/cmdInjection/exec.Command/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 getQueryCommand removed and replaced with CmdInjectionGetQueryCommand

      api-operation-id-removed

    • api tag cmd_injection added

      api-tag-added

    • api tag cmd-injection removed

      api-tag-removed

    • api operation id CmdInjectionGetQueryCommand removed and replaced with getQueryCommand

      api-operation-id-removed

    • api tag cmd-injection added

      api-tag-added

    • api tag cmd_injection removed

      api-tag-removed