設定指令碼設定檔

為運行旨在傳送用於研究的垃圾郵件的指令碼,需要 Microsoft Exchange Web Services Managed API 2.0 程式介面。透過按以下連結下載該介面軟體模組:http://www.microsoft.com/en-us/download/details.aspx?id=35371 並將其儲存在包含指令碼的資料夾的 bin 子資料夾中。

config.xml 指令碼設定檔允許您設定該指令碼。其內容如下:

<config>

<senderEmail>administrator@company.com</senderEmail>

<recipientEmail>Probable_KSEspam@spam.kaspersky.com</recipientEmail>

<exchangeVersion>Exchange2013</exchangeVersion>

<envelopeSubject>Example of SPAM Message</envelopeSubject>

<envelopeBody>This message contains SPAM sample in attachment</envelopeBody>

<logSize>10</logSize>

<oldMessages>3</oldMessages>

<ews>https://kseserver.company.com/EWS/Exchange.asmx</ews>

<users>

<user rightsAssigned="True">user@company.com</user>

<user>user1@company.com</user>

<user>user2@company.com</user>

</users>

<subjectMarks>

<mark>[KL SPAM]</mark>

<mark default="True">[!!SPAM]</mark>

<mark>[!!SPAM]</mark>

<mark>[!!Spam]</mark>

<mark>[!!Probable Spam]</mark>

<mark>[!!Blacklisted]</mark>

</subjectMarks>

</config>

您可以重新定義指令碼設定檔的以下參數:

頁面頂部