87 lines
4.8 KiB
XML
87 lines
4.8 KiB
XML
|
<?xml version='1.0' encoding='utf-8'?>
|
||
|
<config xmlns='urn:trch' name='Smbtouch' version='1.1.1' schemaversion='2.1.0' configversion='1.1.1.0' id='985f383e6edd6d9397aa5da9601c8bc867f6b713'>
|
||
|
<inputparameters>
|
||
|
<parameter type='S16' name='NetworkTimeout' description='Timeout for blocking network calls (in seconds). Use -1 for no timeout.'>
|
||
|
<default>60</default>
|
||
|
</parameter>
|
||
|
<parameter type='IPv4' name='TargetIp' description='Target IP Address'/>
|
||
|
<parameter type='TcpPort' name='TargetPort' description='Port used by the SMB service'>
|
||
|
<default>445</default>
|
||
|
</parameter>
|
||
|
<parameter hidden='true' required='false' type='IPv4' name='RedirectedTargetIp' description='Physical (redirected) target IP'/>
|
||
|
<parameter hidden='true' required='false' type='TcpPort' name='RedirectedTargetPort' description='Physical (redirected) target port'/>
|
||
|
<paramchoice name='Protocol' description='SMB (default port 445) or NBT (default port 139)'>
|
||
|
<default>SMB</default>
|
||
|
<paramgroup name='SMB' description=''>
|
||
|
<parameter hidden='true' type='Boolean' name='UsingNbt' description='Boolean stating to use Nbt or not'>
|
||
|
<default>0</default>
|
||
|
</parameter>
|
||
|
</paramgroup>
|
||
|
<paramgroup name='NBT' description=''>
|
||
|
<parameter hidden='true' type='Boolean' name='UsingNbt' description='Boolean stating to use Nbt or not'>
|
||
|
<default>1</default>
|
||
|
</parameter>
|
||
|
</paramgroup>
|
||
|
</paramchoice>
|
||
|
<parameter type='String' name='Pipe' description='Test an additional pipe to see if it is accessible (optional)'>
|
||
|
<default/>
|
||
|
</parameter>
|
||
|
<parameter type='Buffer' name='Share' description='Test a file share to see if it is accessible (optional), entered as hex bytes (in unicode)'>
|
||
|
<default/>
|
||
|
</parameter>
|
||
|
<paramchoice name='Credentials' description='Type of credentials to use'>
|
||
|
<default>Anonymous</default>
|
||
|
<paramgroup name='Anonymous' description='Anonymous (NULL session)'/>
|
||
|
<paramgroup name='Guest' description='Guest account'/>
|
||
|
<paramgroup name='Blank' description='User account with no password set'>
|
||
|
<parameter type='Buffer' name='Username' description='Username entered as hex bytes (in unicode)'/>
|
||
|
</paramgroup>
|
||
|
<paramgroup name='Password' description='User name and password'>
|
||
|
<parameter type='Buffer' name='Username' description='Username entered as hex bytes (in unicode)'/>
|
||
|
<parameter type='Buffer' name='Password' description='Password entered as hex bytes (in unicode)'/>
|
||
|
</paramgroup>
|
||
|
<paramgroup name='NTLM' description='User name and NTLM hash'>
|
||
|
<parameter type='Buffer' name='Username' description='Username entered as hex bytes (in unicode)'/>
|
||
|
<parameter type='Buffer' name='NtlmHash' description='NTLM password hash (in hex)'/>
|
||
|
</paramgroup>
|
||
|
</paramchoice>
|
||
|
</inputparameters>
|
||
|
<constants>
|
||
|
<parameter type='U8' name='Anonymous' description=''>
|
||
|
<value>0</value>
|
||
|
</parameter>
|
||
|
<parameter type='U8' name='Guest' description=''>
|
||
|
<value>1</value>
|
||
|
</parameter>
|
||
|
<parameter type='U8' name='Blank' description=''>
|
||
|
<value>2</value>
|
||
|
</parameter>
|
||
|
<parameter type='U8' name='Password' description=''>
|
||
|
<value>3</value>
|
||
|
</parameter>
|
||
|
<parameter type='U8' name='NTLM' description=''>
|
||
|
<value>4</value>
|
||
|
</parameter>
|
||
|
</constants>
|
||
|
<outputparameters>
|
||
|
<parameter type='String' name='Target' description='Operating System, Service Pack, of Target OS'/>
|
||
|
<parameter type='String' name='TargetOsArchitecture' description='Target architecture'/>
|
||
|
<parameter type='String' name='PipeName' description='Pipe available to use'/>
|
||
|
<parameter type='Buffer' name='ShareName' description='Share available to use'/>
|
||
|
<parameter type='String' name='Protocol' description='SMB or NBT'/>
|
||
|
<parameter type='String' name='Credentials' description='The architecture of the target operating system'/>
|
||
|
<parameter type='Buffer' name='Username' description='Username entered as hex bytes (in unicode)'/>
|
||
|
<parameter type='Buffer' name='Password' description='Password entered as hex bytes (in unicode)'/>
|
||
|
<parameter type='Buffer' name='NtlmHash' description='NTLM password hash (in hex)'/>
|
||
|
</outputparameters>
|
||
|
<errors>
|
||
|
<errorcode name='SMBT_SUCCESS' value='EDF_SUCCESS' description='Smbtouch executed successfully.'/>
|
||
|
<errorcode name='SMBT_RESULT_NETWORK_ERROR' value='65' description='A network error occured'/>
|
||
|
<errorcode name='SMBT_RESULT_UNSUPPORTED_OS' value='66' description='The target OS is not recognized or supported'/>
|
||
|
<errorcode name='SMBT_RESULT_INVALID_PARAM' value='67' description='A parameter is invalid'/>
|
||
|
</errors>
|
||
|
<redirection>
|
||
|
<local protocol='TCP' listenaddr='RedirectedTargetIp' listenport='RedirectedTargetPort' closeoncompletion='true' destaddr='TargetIp' destport='TargetPort'/>
|
||
|
</redirection>
|
||
|
</config>
|