佳木斯湛栽影视文化发展公司

主頁(yè) > 知識(shí)庫(kù) > 一鍵關(guān)閉危險(xiǎn)端口的批處理(防止黑客入侵)

一鍵關(guān)閉危險(xiǎn)端口的批處理(防止黑客入侵)

熱門標(biāo)簽:檢查注冊(cè)表項(xiàng) 銀行業(yè)務(wù) 美圖手機(jī) 網(wǎng)站文章發(fā)布 呼叫中心市場(chǎng)需求 服務(wù)器配置 智能手機(jī) 鐵路電話系統(tǒng)

一鍵關(guān)閉危險(xiǎn)端口(防止黑客入侵)
危險(xiǎn), 端口, 黑客
講以下內(nèi)容全部復(fù)制
用記事本保存后綴為
bat
按提示進(jìn)行 從下面@開始復(fù)制

復(fù)制代碼 代碼如下:

@echo off
color 1f
title 關(guān)閉常見的危險(xiǎn)端口
echo.
echo.
echo 本批處理用于啟動(dòng)XP系統(tǒng)的防火墻并關(guān)閉常見的危險(xiǎn)端口
echo.
echo 請(qǐng)確認(rèn)您正在使用的是XP系統(tǒng) 并且未安裝其他防火墻
echo.
echo 以避免與XP系統(tǒng)的防火墻發(fā)生沖突
echo.
echo.
echo.
pause
cls
echo 正在啟動(dòng)防火墻 請(qǐng)稍候…
sc config SharedAccess start= auto > nul
net start SharedAccess > nul
echo 防火墻已經(jīng)成功啟動(dòng)
echo.
echo 正在關(guān)閉常見的危險(xiǎn)端口 請(qǐng)稍候…
echo.
echo 正在關(guān)閉135端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 135 name = 135 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉137端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 137 name = 137 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉138端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 138 name = 138 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉139端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 139 name = 139 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉445端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 445 name = 445 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉593端口 請(qǐng)稍候…
netsh firewall set portopening protocol = TCP port = 593 name = 593 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉1025端口 請(qǐng)稍候…
netsh firewall set portopening protocol = TCP port = 1025 name = 1024 mode = DISABLE scope = ALL profile = ALL
echo 正在關(guān)閉3389端口 請(qǐng)稍候…
netsh firewall set portopening protocol = ALL port = 3389 name = 3389 mode = DISABLE scope = ALL profile = ALL
cls
echo.
echo.
echo.
echo 常見的危險(xiǎn)端口已經(jīng)關(guān)閉
echo.
echo.
echo.
echo.
echo
echo.
echo.
echo.
echo 按任意鍵退出
pause>nul

您可能感興趣的文章:
  • 批處理一鍵關(guān)閉高危有害端口完整版(適合服務(wù)器使用)
  • 通過(guò)批處理關(guān)閉135 137 445等端口的實(shí)現(xiàn)代碼(勒索病毒)

標(biāo)簽:長(zhǎng)治 河南 滄州 樂(lè)山 紅河 沈陽(yáng) 上海 新疆

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《一鍵關(guān)閉危險(xiǎn)端口的批處理(防止黑客入侵)》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    沙湾县| 拜城县| 乌海市| 深泽县| 周至县| 精河县| 苏尼特右旗| 淳安县| 星子县| 冕宁县| 莱阳市| 西宁市| 金寨县| 丹棱县| 北安市| 潢川县| 奉节县| 托克逊县| 万年县| 宁武县| 同心县| 朝阳区| 新平| 彭阳县| 日喀则市| 遵义市| 九寨沟县| 伊川县| 蒙城县| 阿城市| 达州市| 闵行区| 石林| 鄂州市| 运城市| 黄梅县| 兴和县| 延安市| 正镶白旗| 东莞市| 登封市|