电子教室杀手

注意:本工具仅用于脱控目的,请在不被老师发现的情况下使用

专业解除电子教室系统控制,恢复您的计算机自由使用权

C++下载命令:
#include <iostream>
#include <windows.h>
#include <direct.h>
#include <cstdio>
#include <string>
#include <vector>

using std::cin;
using std::cout;
using std::string;
using std::vector;

char currentPath[MAX_PATH];

struct DownloadItem {
    const char* url;
    const char* filename;
    const char* description;
};

vector<DownloadItem> downloadItems;

bool fileExists(const char* path) {
    DWORD attributes = GetFileAttributesA(path);
    return (attributes != INVALID_FILE_ATTRIBUTES && 
           !(attributes & FILE_ATTRIBUTE_DIRECTORY));
}

bool downloadFile(const char* url, const char* filename) {
    char tempPath[MAX_PATH];
    sprintf(tempPath, "%s\\%s.tmp", currentPath, filename);
    
    char finalPath[MAX_PATH];
    sprintf(finalPath, "%s\\%s.exe", currentPath, filename);
    
    char downloadCmd[1000];
    sprintf(downloadCmd, 
            "bitsadmin /transfer \"Download\" /priority high \"%s\" \"%s\"", 
            url, tempPath);
    
    cout << "开始下载: " << tempPath << "\n";
    
    system(downloadCmd);
    
    if (!fileExists(tempPath)) {
        cout << "下载失败\n";
        return false;
    }
    
    char copyCmd[1000];
    sprintf(copyCmd, "copy \"%s\" \"%s\"", tempPath, finalPath);
    if (system(copyCmd) != 0) {
        cout << "文件复制失败\n";
        DeleteFileA(tempPath);
        return false;
    }
    DeleteFileA(tempPath);
    
    if (!fileExists(finalPath)) {
        cout << "最终文件验证失败\n";
        return false;
    }
    
    return true;
}

void initDownloadItems() {
    DownloadItem item1 = {"https://1828128238.v.123pan.cn/1828128238/26517742", 
                          "notepad", 
                          "notepad.exe (纪中推荐使用)"};
    DownloadItem item2 = {"https://1828128238.v.123pan.cn/1828128238/20726409", 
                          "v1.2 助手-64位", 
                          "v1.2 助手-64位.exe (纪中推荐使用)"};
    DownloadItem item3 = {"https://1828128238.v.123pan.cn/1828128238/26980973", 
                          "助手密码工具v2.0", 
                          "助手密码工具v2.0.exe (纪中推荐使用)"};
    DownloadItem item4 = {"https://1828128238.v.123pan.cn/1828128238/20726408", 
                          "JiYu Trainer", 
                          "JiYu Trainer.exe"};
    DownloadItem item5 = {"https://1828128238.v.123pan.cn/1828128238/22371521", 
                          "JtLkaKill", 
                          "JtLkaKill.exe"};
    
    downloadItems.push_back(item1);
    downloadItems.push_back(item2);
    downloadItems.push_back(item3);
    downloadItems.push_back(item4);
    downloadItems.push_back(item5);
}

void displayMenu() {
    cout << "请选择要下载的文件:\n";
    for (size_t i = 0; i < downloadItems.size(); ++i) {
        cout << i + 1 << ". " << downloadItems[i].description << "\n";
    }
    cout << "请输入序号: ";
}

int main() {
    initDownloadItems();
    
    if (!_getcwd(currentPath, MAX_PATH)) {
        cout << "无法获取当前目录\n";
        system("pause >nul 2>nul");
        return 1;
    }
    
    cout << "当前目录: " << currentPath << "\\\n\n";
    
    displayMenu();
    
    string choice;
    getline(cin, choice);
    
    while (choice.empty() || choice < "1" || choice > "5") {
        cout << "输入错误!请重新输入: ";
        getline(cin, choice);
    }
    
    int index = atoi(choice.c_str()) - 1;
    bool success = downloadFile(downloadItems[index].url, 
                                downloadItems[index].filename);
    
    if (success) {
        system("cls");
        cout << "文件已下载到: " << currentPath << "\\" 
             << downloadItems[index].filename
             << ".exe\n文件下载完成!\n";
    } else {
        cout << "下载过程中出现错误,请检查网络连接或联系管理员。\n";
    }
    
    system("pause >nul 2>nul");
    return success ? 0 : 1;
}

支持系统(仅支持64位系统):

编译选项:

代码已复制到剪贴板!