102 lines
4.3 KiB
XML
102 lines
4.3 KiB
XML
|
<?xml version="1.0"?>
|
||
|
<t:config id="561b5106574f54a157beb31c05c94a520f47ffca"
|
||
|
name="Printjoblist"
|
||
|
version="1.0.0"
|
||
|
configversion="1.0.0.0"
|
||
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||
|
xmlns:t='tc0'>
|
||
|
<t:inputparameters>
|
||
|
<t:parameter name="TargetIp"
|
||
|
description="Target IP Address"
|
||
|
type="IPv4"
|
||
|
binding="//identifier"/>
|
||
|
<t:parameter name="NetworkTimeout"
|
||
|
description="Timeout for blocking network calls (in seconds). Use -1 for no timeout."
|
||
|
type="S16"
|
||
|
default="60"/>
|
||
|
<t:paramchoice name="Protocol"
|
||
|
description="Protocol to connect to target with"
|
||
|
default="SMB">
|
||
|
<t:paramgroup name="SMB"
|
||
|
description="SMB over TCP">
|
||
|
<t:parameter name="TargetPort"
|
||
|
description="Port used by SMB"
|
||
|
type="TcpPort"
|
||
|
default="445"/>
|
||
|
</t:paramgroup>
|
||
|
<t:paramgroup name="NBT"
|
||
|
description="Netbios over TCP">
|
||
|
<t:parameter name="TargetPort"
|
||
|
description="Port used by Netbios"
|
||
|
type="TcpPort"
|
||
|
default="139"/>
|
||
|
</t:paramgroup>
|
||
|
</t:paramchoice>
|
||
|
<t:paramchoice name="Credentials"
|
||
|
description="Type of credentials to use">
|
||
|
<t:paramgroup name="Anonymous"
|
||
|
description="Anonymous (NULL session)" />
|
||
|
<t:paramgroup name="Guest"
|
||
|
description="Guest account"/>
|
||
|
<t:paramgroup name="No password"
|
||
|
description="User account with no password set">
|
||
|
<t:parameter name="Username"
|
||
|
description=""
|
||
|
type="UString"/>
|
||
|
</t:paramgroup>
|
||
|
<t:paramgroup name="Password"
|
||
|
description="Username and password">
|
||
|
<t:parameter name="Username"
|
||
|
description=""
|
||
|
type="UString"/>
|
||
|
<t:parameter name="Password"
|
||
|
description=""
|
||
|
type="UString"/>
|
||
|
</t:paramgroup>
|
||
|
<t:paramgroup name="NTLM hash"
|
||
|
description="Username and NTLM hash">
|
||
|
<t:parameter name="Username"
|
||
|
description=""
|
||
|
type="UString"/>
|
||
|
<t:parameter name="NTLMHash"
|
||
|
description="NTLM password hash (in hex)"
|
||
|
type="UString"/>
|
||
|
</t:paramgroup>
|
||
|
<t:paramgroup name="Both hashes"
|
||
|
description="Username, NTLM hash, and LANMAN hash">
|
||
|
<t:parameter name="Username"
|
||
|
description=""
|
||
|
type="UString"/>
|
||
|
<t:parameter name="NTLMHash"
|
||
|
description="NTLM password hash (in hex)"
|
||
|
type="UString"/>
|
||
|
<t:parameter name="LANMANHash"
|
||
|
description="LANMAN password hash (in hex)"
|
||
|
type="UString"/>
|
||
|
</t:paramgroup>
|
||
|
</t:paramchoice>
|
||
|
<t:parameter name="PrinterName"
|
||
|
description="The name of the printer on target"
|
||
|
type="UString"/>
|
||
|
</t:inputparameters>
|
||
|
|
||
|
<t:outputparameters>
|
||
|
<t:parameter name="JobId"
|
||
|
description="List of job IDs from printer"
|
||
|
type="U32"
|
||
|
format="List"/>
|
||
|
<t:parameter name="PrinterName"
|
||
|
description="The name of the printer on target"
|
||
|
type="UString"/>
|
||
|
</t:outputparameters>
|
||
|
|
||
|
<t:redirection>
|
||
|
<t:local protocol="TCP"
|
||
|
listenaddr="TargetIp"
|
||
|
listenport="TargetPort"
|
||
|
destaddr="//identifier"
|
||
|
destport="//service[name='smb']/port"
|
||
|
closeoncompletion="true"/>
|
||
|
</t:redirection>
|
||
|
</t:config>
|