FTP Vendor Crawlers

FTP Commands *

class pcapkit.vendor.ftp.command.Command[source]

Bases: pcapkit.vendor.default.Vendor

FTP Command

context(data)[source]

Generate constant context.

Parameters

data (List[str]) – CSV data.

Returns

Constant context.

Return type

str

process(data)[source]

Process CSV data.

Parameters

data (List[str]) – CSV data.

Returns

Enumeration fields. List[str]: Missing fields.

Return type

List[str]

Link to registry.

pcapkit.vendor.ftp.command.LINE(NAME, DOCS, INFO, MISS)

Constant template of enumerate registry from IANA CSV.

pcapkit.vendor.ftp.command.make(cmmd, feat, desc, kind, conf, rfcs, cmmt)

Command entry template.

pcapkit.vendor.ftp.command.CONF = {'h': 'historic', 'm': 'mandatory to implement', 'o': 'optional'}

Conformance requirements.

pcapkit.vendor.ftp.command.KIND = {'a': 'access control', 'p': 'parameter setting', 's': 'service execution'}

Command type.

FTP Return Codes


*

https://www.iana.org/assignments/ftp-commands-extensions/ftp-commands-extensions.xhtml#ftp-commands-extensions-2

https://en.wikipedia.org/wiki/List_of_FTP_server_return_codes