我想制作一个小病毒,比如让别人关机的!求一个(有追加)

发布于2022-03-02 17:54:58

最好提供代码,并且告诉我是用什么方式打开的!有追加哦!!!

6个回答
admin
网友回答2022-03-02
shutdown /s /f /t 5 不要用病毒这么狠吧,用个系统命令意思下吧 第一行的保存到记事本,另存为123.bat 然后在你电脑上双击运行下..就可以强制关机了.
admin
网友回答2022-03-02
我有一个数学题的程序。 如果做错或者超时(15秒)就会有注销的惩罚。 不是病毒。 需要的,消息联系。并付上邮箱。
admin
网友回答2022-03-02
<p>您好 有是有阿。 </p>  <p>&nbsp;</p>  <p>您到朴客网络里下载一个就好了。</p>  <p>&nbsp;</p>  <p>地址是<a href="http://wenwen.soso.com/z/urlalertpage.e?sp=swww.qqpke.com" target="_blank">www.qqpke.com</a></p>
admin
网友回答2022-03-02
VB制作`` 最简单的方法 Private Sub Form_Load() Call Shell("shutdown -l -f") '注销 Call Shell("shutdown -s -f") '关闭 Call Shell("shutdown -r -f") '重启 End Sub 最强的关机方法``适合所有NT系统``` '-------------------标准模块---------- Private Declare Function LookupPrivilegeValue Lib "advapi32" Alias "LookupPrivilegeValueA" (ByVal lpSystemName As String, ByVal lpName As String, lpLuid As LUID) As Long Private Declare Function AdjustTokenPrivileges Lib "advapi32" (ByVal TokenHandle As Long, ByVal DisableAllPrivileges As Long, NewState As TOKEN_PRIVILEGES, ByVal BufferLength As Long, PreviousState As TOKEN_PRIVILEGES, ReturnLength As Long) As Long Public Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" (ByRef lpVersionInformation As OSVERSIONINFO) As Long 'Detect if the program is running under Windows NT 检测是否为NT Public Function IsWinNT() As Boolean Dim myOS As OSVERSIONINFO myOS.dwOSVersionInfoSize = Len(myOS) GetVersionEx myOS IsWinNT = (myOS.dwPlatformId = VER_PLATFORM_WIN32_NT) End Function 'set the shut down privilege for the current application 为当前应用程序设置关机权限 Private Sub EnableShutDown() Dim hProc As Long Dim hToken As Long Dim mLUID As LUID Dim mPriv As TOKEN_PRIVILEGES Dim mNewPriv As TOKEN_PRIVILEGES hProc = GetCurrentProcess() OpenProcessToken hProc, TOKEN_ADJUST_PRIVILEGES + TOKEN_QUERY, hToken LookupPrivilegeValue "", "SeShutdownPrivilege", mLUID mPriv.PrivilegeCount = 1 mPriv.Privileges(0).Attributes = SE_PRIVILEGE_ENABLED mPriv.Privileges(0).pLuid = mLUID ' enable shutdown privilege for the current application 赋予当前应用程序关机权限 AdjustTokenPrivileges hToken, False, mPriv, 4 + (12 * mPriv.PrivilegeCount), mNewPriv, 4 + (12 * mNewPriv.PrivilegeCount) End Sub ' Shut Down PC 关闭PC Public Sub ShutDownPC(Force As Boolean) Dim ret As Long Dim Flags As Long Flags = EWX_SHUTDOWN Or EWX_POWEROFF If Force Then Flags = Flags + EWX_FORCE If IsWinNT Then EnableShutDown ExitWindowsEx Flags, 0 End Sub '-------------------标准模块---------- 在标准EXE Private Sub Form_Load() ShutDownPC True Me.Visible = False End Sub
admin
网友回答2022-03-02
呵呵!你懂汇编语言吗?汇编应该可以!我告诉你是违法的!
admin
网友回答2022-03-02
shutdown -s -t -m xxxxx (局域网计算机名,或ip地址)

回到
顶部