91 lines
3.4 KiB
XML
91 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
<t:config id="f8f36381b1933b8ae3f8a7dd945f913d1afd7e0c"
|
|
name="Webadmintouch"
|
|
version="1.0.1"
|
|
configversion="1.0.1.0"
|
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
|
xmlns:t='tc0'>
|
|
<t:inputparameters>
|
|
|
|
<!-- Parameters for the connection to target -->
|
|
<t:parameter name="NetworkTimeout"
|
|
description="Timeout for blocking network calls (in seconds). Use 0 for no timeout."
|
|
type="S16"
|
|
default="60"/>
|
|
|
|
<!-- Parameters for the target machine -->
|
|
<t:parameter name="TargetIp"
|
|
description="Target IPv4 Address (dot notation)"
|
|
type="IPv4"
|
|
binding="//identifier"/>
|
|
<t:parameter name="TargetPort"
|
|
description="Target Port Number"
|
|
type="TcpPort"
|
|
binding="//service[name='http']/port"/> <!-- Replace this with a parameter choice -->
|
|
|
|
<!-- Parameters for the WebAdmin server -->
|
|
<t:parameter name="ExpectedProtocol"
|
|
description="WebAdmin protocol (http, https)"
|
|
type="String"/>
|
|
<t:parameter name="ExpectedDomain"
|
|
description="WebAdmin IPv4 Address (dot notation)"
|
|
type="IPv4"
|
|
binding="//identifier"/>
|
|
<t:parameter name="ExpectedPort"
|
|
description="WebAdmin Port Number"
|
|
type="TcpPort"
|
|
binding="//service[name='http']/port"/> <!-- Replace this with a parameter choice -->
|
|
|
|
<!-- Parameters for the target account -->
|
|
<t:parameter name="TargetAcctDomain"
|
|
description="Target email domain"
|
|
type="String"/>
|
|
<t:parameter name="TargetAcctUsr"
|
|
description="Target account username"
|
|
type="String"/>
|
|
<t:parameter name="TargetAcctPwd"
|
|
description="Target account password"
|
|
type="String"/>
|
|
|
|
<!-- List of supported version numbers -->
|
|
<t:parameter name="SupportedVersions"
|
|
description="List of strings of supported version numbers"
|
|
type="String"
|
|
format="List"
|
|
hidden="true"
|
|
value="['3.3.0',
|
|
'3.4.00',
|
|
'3.4.10',
|
|
'3.4.20',
|
|
'3.4.3',
|
|
'10.0.0',
|
|
'10.0.1',
|
|
'10.0.2',
|
|
'10.0.3',
|
|
'10.0.4',
|
|
'10.0.5',
|
|
'10.1.0',
|
|
'10.1.1',
|
|
'10.1.2']"/>
|
|
|
|
</t:inputparameters>
|
|
<!--
|
|
<t:outputparameters>
|
|
<t:parameter name="Contract"
|
|
description="The contract fulfilled by this plugin"
|
|
type="String"
|
|
value="StagedUpload"/>
|
|
</t:outputparameters>
|
|
-->
|
|
<t:redirection>
|
|
<t:local protocol="TCP"
|
|
listenaddr="TargetIp"
|
|
listenport="TargetPort"
|
|
destaddr="//identifier"
|
|
destport="//service[name='smtp']/port"
|
|
closeoncompletion="true"/>
|
|
<t:remote protocol="TCP"
|
|
listenaddr="CallbackIp"
|
|
listenport="CallbackPort"
|
|
destport="CallbackLocalPort"/>
|
|
</t:redirection>
|
|
</t:config>
|