ros 匯入惡意host

:local FileName "ban.rsc";
:do {
:do {
/file remove "//ban.rsc";
} on-error={}

:put "Downloading /ban.rsc…";
:log warning "Downloading /ads.rsc…";
:do {
/tool fetch url="http://xxx/tools/ban.rsc" dst-path="ban.rsc"
} on-error={
:put "Error. Download /ban.rsc failed";
:log error "Error. Download /ban.rsc failed";
:return 0;
}

/ip firewall address-list remove [/ip firewall address-list find list=firehost_list]

:put "Importing /ban.rsc…";
:log warning "Importing /ban.rsc…";
:do {
/import "//ban.rsc";
} on-error={
:put "Import /ban.rsc failed. unknown error.";
:log error "Import /ban.rsc failed. unknown error.";
}

:put "Update ban-block address-list completed.";
:log warning "Update Firehost_list address-list completed.";
}

本篇發表於 未分類 並標籤為 。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>