@Protocol()
New in 2.0Generate network protocols
Network InformationSince 2.0.0
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| dict | String | — | — | Protocol dictionary, default: FTP|TFTP|HTTP|SMTP|DHCP|Telnet|DNS|SNMP|DNS|TCP|UDP|ARP|DHCP|SIP|RTP|RLP|RAP|L2TP|PPTP|SNMP|TFTP |
Usage
@Protocol()Generate protocol using default dictionary
Example:
@Protocol()
Output:
SMTP@Protocol(dict)Generate protocol using specified dictionary
Example:
@Protocol(FTP|TFTP|HTTP)
Output:
HTTP