国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > BAT > 正文

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

2020-03-29 20:04:11
字體:
來源:轉載
供稿:網友

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

復制代碼 代碼如下:

@echo off
color 1f
title 關閉常見的危險端口
echo.
echo.
echo 本批處理用于啟動XP系統的防火墻并關閉常見的危險端口
echo.
echo 請確認您正在使用的是XP系統 并且未安裝其他防火墻
echo.
echo 以避免與XP系統的防火墻發生沖突
echo.
echo.
echo.
pause
cls
echo 正在啟動防火墻 請稍候…
sc config SharedAccess start= auto > nul
net start SharedAccess > nul
echo 防火墻已經成功啟動
echo.
echo 正在關閉常見的危險端口 請稍候…
echo.
echo 正在關閉135端口 請稍候…
netsh firewall set portopening protocol = ALL port = 135 name = 135 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉137端口 請稍候…
netsh firewall set portopening protocol = ALL port = 137 name = 137 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉138端口 請稍候…
netsh firewall set portopening protocol = ALL port = 138 name = 138 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉139端口 請稍候…
netsh firewall set portopening protocol = ALL port = 139 name = 139 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉445端口 請稍候…
netsh firewall set portopening protocol = ALL port = 445 name = 445 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉593端口 請稍候…
netsh firewall set portopening protocol = TCP port = 593 name = 593 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉1025端口 請稍候…
netsh firewall set portopening protocol = TCP port = 1025 name = 1024 mode = DISABLE scope = ALL profile = ALL
echo 正在關閉3389端口 請稍候…
netsh firewall set portopening protocol = ALL port = 3389 name = 3389 mode = DISABLE scope = ALL profile = ALL
cls
echo.
echo.
echo.
echo 常見的危險端口已經關閉
echo.
echo.
echo.
echo.
echo
echo.
echo.
echo.
echo 按任意鍵退出
pause>nul
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 图木舒克市| 诸城市| 依兰县| 禹州市| 樟树市| 治县。| 布尔津县| 忻城县| 壤塘县| 江口县| 左贡县| 喜德县| 绩溪县| 无锡市| 施甸县| 松滋市| 济源市| 大余县| 视频| 上饶市| 镇坪县| 龙江县| 辽阳县| 竹溪县| 淮阳县| 彭阳县| 疏附县| 米泉市| 虎林市| 五家渠市| 西吉县| 武冈市| 沈阳市| 北川| 南丰县| 保靖县| 安康市| 镇安县| 囊谦县| 张家川| 乌拉特前旗|