otupy.types.targets.idn_domain_name.IDNDomainName

class IDNDomainName(hostname)

Bases: IDNHostname

OpenC2 IDNDomainName

Implements the idn_domain_name target (Section 3.4.1.7). Internationalized Domain Name, [RFC5890], Section 2.3.2.3. The current requirements are equivalend to IDNHostname.

Methods

get

Returns the hostname as string

set

Check hostname fullfils RFC 1123 requirements

__init__(hostname)
get()

Returns the hostname as string

set(hostname)

Check hostname fullfils RFC 1123 requirements