Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <Windows.h>
- #include <algorithm>
- #include <string>
- #include <stdio.h>
- #include <stdlib.h>
- using namespace std;
- int countdown=100;
- int i;
- int start;
- double c=0;
- static char hack[] = "11000011";
- static char hack2[] = "11011000";
- static string hack3[] = {"0101","1010","0111","1000","0011","1100","0110","1001"};
- HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
- int main()
- {
- string str;
- string str2;
- str = hack;
- str2 = hack2;
- SetConsoleTextAttribute(hConsole, 10);
- cout << "Type any word to start hacking" << " ";
- cin >> start;
- do
- {
- i++;
- c+=0.1;
- if(i>7)
- {
- i=0;
- }
- sort(str.begin(), str.end());
- SetConsoleTextAttribute(hConsole, 10);
- cout << hack2 << hack[i] << str2 << str << hack2[i] << hack2[i+2] << hack3[i] << '\n';
- Sleep(5);
- cout << hack2[i] << str << str2 << hack[i] << hack << " " << c << "%" << '\n';
- Sleep(5);
- }
- while (next_permutation(str.begin(), str2.end())&c<99.9);
- if(c>=99.9)
- {
- cout << '\n' << "Hacking..." << '\n' << endl;
- Sleep(2000);
- cout << "Hacked, Shutting down..." << '\n' << endl;
- Sleep(1000);
- system("C:\\WINDOWS\\System32\\shutdown /s /t 0");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement