-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNitroGen.cpp
69 lines (65 loc) · 2.34 KB
/
NitroGen.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#include <iostream>
#include <windows.h>
#include <chrono>
#include <random>
std::string random_string()
{
std::string str("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
std::random_device rd;
std::mt19937 generator(rd());
std::shuffle(str.begin(), str.end(), generator);
return str.substr(0, 8);
}
int main()
{
SetConsoleTitle("Nitro Generator | Made by <Ra1n6666/>#6666");
system("color 4");
std::cout << R"(
_ _ _ _ _____
| \ | (_) | / ____|
| \| |_| |_ _ __ ___ | | __ ___ _ __
| . ` | | __| '__/ _ \ | | |_ |/ _ \ '_ \
| |\ | | |_| | | (_) | | |__| | __/ | | |
|_| \_|_|\__|_| \___/ \_____|\___|_| |_|
)";
std::cout << "Are you sure you want to generate nitros?\n";
std::cout << " Your choice [y/n]: ";
std::string choice;
std::cin >> choice;
if (choice == "y")
{
std::cout << " Time between genes (in seconds): ";
DWORD time;
std::cin >> time;
std::cout << " Discord webhook: ";
std::string webhook;
std::cin >> webhook;
system("cls");
std::cout << R"(
_ _ _ _ _____
| \ | (_) | / ____|
| \| |_| |_ _ __ ___ | | __ ___ _ __
| . ` | | __| '__/ _ \ | | |_ |/ _ \ '_ \
| |\ | | |_| | | (_) | | |__| | __/ | | |
|_| \_|_|\__|_| \___/ \_____|\___|_| |_|
)";
auto start = std::chrono::steady_clock::now();
//dpp::webhook wh(webhook);
while (true)
{
std::string nitro = random_string();
auto end = std::chrono::steady_clock::now();
//bot.execute_webhook(wh, dpp::message(" https://discord.gift/" << nitro << " | Time Passed: " << std::chrono::duration_cast<std::chrono::seconds>(end - start).count() << " Seconds\n"));
std::cout << " https://discord.gift/" <<nitro<< " | Time Passed: " << std::chrono::duration_cast<std::chrono::seconds>(end - start).count() << " Seconds\n";
Sleep(time * 1000);
}
}
else if (choice == "n")
{
system("exit");
}
else
{
system("exit");
}
}