「ITTS MD5.dll」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
| (未顯示同一使用者於中間所作的 9 次修訂) | |||
| 行 4: | 行 4: | ||
屬於實驗性質的DLL. 有ITTS 單一性(只有ITTS 才能使用此DLL. UTS 或其他AP 無法使用的驗證機制) <br> | 屬於實驗性質的DLL. 有ITTS 單一性(只有ITTS 才能使用此DLL. UTS 或其他AP 無法使用的驗證機制) <br> | ||
| − | + | '''腳本範例:''' | |
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! MD5 Example Tree (copy scrip contents phase to scrip editor) | ! MD5 Example Tree (copy scrip contents phase to scrip editor) | ||
| 行 289: | 行 289: | ||
|} | |} | ||
| + | '''完整的腳本 檔案範例 DLL Example: ''' | ||
| + | [[檔案:ITTS MD5.itts]]<br> | ||
| + | chm Help file download: [[檔案:ITTS MD5 chm.chm|縮圖]] | ||
| − | + | [http://intretech-tw.synology.me/ITTS/ITTS_MD5/index.html ITTS_MD5 online help] | |
| − | [ | ||
於 2020年10月28日 (三) 12:01 的最新修訂
計算 字串 or file (檔案) 的 MD5 結果
可用於 檔案的文件指紋單一性. 字串 產生亂數...
屬於實驗性質的DLL. 有ITTS 單一性(只有ITTS 才能使用此DLL. UTS 或其他AP 無法使用的驗證機制)
腳本範例:
| MD5 Example Tree (copy scrip contents phase to scrip editor) |
|---|
<Item>
<Text> MD5</Text>
<Description> Test Group</Description>
<ItemType> 1</ItemType>
<Skip> 1</Skip>
<SubItem>
<Item>
<Text> </Text>
<Description> MD5 "1"</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_1</FieldName>
<FieldNumber> 8</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5 debug</Content>
<Description>Value3</Description>
</i3>
<i4>
<Content>["1"]</Content>
<Description>Value4</Description>
</i4>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> MD5 "12345"</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_12345</FieldName>
<FieldNumber> 9</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5 debug</Content>
<Description>Value3</Description>
</i3>
<i4>
<Content>["12345"]</Content>
<Description>Value4</Description>
</i4>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> MD5 take 5 byte</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_5byte;enc_Str2</FieldName>
<FieldNumber> 10;11</FieldNumber>
<ErrorCode> Err000;Err001</ErrorCode>
<RetryTimes> 10</RetryTimes>
<RetryDelay> 1</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5</Content>
<Description>Hash Type</Description>
</i3>
<i4>
<Content>['&PC_NAME&IP_ADDRESS&Today&MACHINEID&SNO&FREEMEMORY&TICKCOUNT']</Content>
<Description>in string</Description>
</i4>
<i5>
<Content>S(_[1..-1]_)</Content>
<Description>Str proc</Description>
</i5>
<i6>
<Content>FFFF</Content>
<Description>not allow str</Description>
</i6>
<i7>
<Content>0000</Content>
<Description>not allow str</Description>
</i7>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> Test Item</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> variable</ItemSection1>
<ItemSection2> Field_show</ItemSection2>
<ItemCommand> </ItemCommand>
<FailAction> </FailAction>
<FieldName> </FieldName>
<FieldNumber> </FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>['MD5_5byte']</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> MD5 file aaa.txt</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_aaa</FieldName>
<FieldNumber> 12</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5:File</Content>
<Description>Value3</Description>
</i3>
<i4>
<Content>d:\aaa.txt</Content>
<Description>Value4</Description>
</i4>
<i5>
<Content>S(_[1..-1]_)</Content>
<Description>Value5</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> MD5 file bbb.txt</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_bbb</FieldName>
<FieldNumber> 13</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5:File</Content>
<Description>Value3</Description>
</i3>
<i4>
<Content>d:\bbb.txt</Content>
<Description>Value4</Description>
</i4>
<i5>
<Content>S(_[1..-1]_)</Content>
<Description>Value5</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> MD5 file scrip file itself</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_MD5.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> MD5_scripfile</FieldName>
<FieldNumber> 14</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>MD5:File</Content>
<Description>Value3</Description>
</i3>
<i4>
<Content>['&testplanname']</Content>
<Description>string or file</Description>
</i4>
<i5>
<Content>S(_[1..-1]_)</Content>
<Description>smartformat</Description>
</i5>
<i6>
<Content></Content>
<Description>verify</Description>
</i6>
</Parameter>
</Item>
</SubItem>
</Item>
|
完整的腳本 檔案範例 DLL Example:
檔案:ITTS MD5.itts
chm Help file download: 檔案:ITTS MD5 chm.chm