katnip.templates.ftp module¶
FTP Protocol command templates. Based on RFC 959 (https://www.ietf.org/rfc/rfc959.txt)
Nice presentation about FTP can be found here: http://www.csun.edu/~jeffw/Semesters/2006Fall/COMP429/Presentations/Ch25-FTP.pdf
-
class
katnip.templates.ftp.
TelnetString
(command, optional=False, parameter=None, name=None)¶ Bases:
kitty.model.low_level.container.Template
represents: [Command]<SP>[Parameter]<CRLF>
-
__init__
(command, optional=False, parameter=None, name=None)¶ Parameters: - command – command string
- optional – has optional parameter (default: False)
- parameter – optional parameter string(default: None)
- name – name of the field (default: None)
-