请提供一些 ProFTPD 服务器的 FTP 连接日志

请提供一些 ProFTPD 服务器的 FTP 连接日志

我是FTP 库我需要检测ProFTPD 服务器从您首次连接到它时它发送的 FTP 消息中。我需要有人在他们连接到 ProFTPD 服务器时提供他们最喜欢的 FTP 程序的日志,因为我无法访问该服务器。

例如,当我连接到 Pure-FTPd 服务器时,我收到以下日志:

[12:58:44] 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
[12:58:44] 220-You are user number 2 of 150 allowed.
[12:58:44] 220-Local time is now 01:32. Server port: 21.
[12:58:44] 220-IPv6 connections are also welcome on this server.
[12:58:44] 220 You will be disconnected after 15 minutes of inactivity.
[12:58:44] USER ***
[12:58:44] 331 User *** OK. Password required
[12:58:44] PASS ****

因此,我将能够使用“欢迎使用 Pure-FTPd”这一行来检测服务器。没有其他方法可以检测这一点,即使发送 SYST 命令也只能提供“Unix”。

答案1

该消息是一个配置选项...

http://www.proftpd.org/docs/directives/linked/config_ref_ServerIdent.html

ServerIdent[ ServerIdent off|on [识别字符串]]

默认
ServerIdent “ProFTPD [版本] 服务器(服务器名称)[主机名]”

相关内容