-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathhack.c++
More file actions
48 lines (48 loc) · 1 KB
/
hack.c++
File metadata and controls
48 lines (48 loc) · 1 KB
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
// !/usr/bin/c++
// This code write by Mr.nope
// Black-Tool
// Version 1.4.0
#include <iostream>
#include <string>
using namespace std;
void title() {
system("xtitle Black Tool");
}
void cls() {
system("clear");
}
void ext() {
cls();
cout<<"\n\033[92mExiting...\033[0m"<<endl;
}
void start() {
char c;
string opt = "\nBlack-Tool/> ";
cout<<"----[ Black Tool ]------"<<endl;
cout<<"\n";
cout<<"{1}.Installing Black Tool"<<endl;
cout<<"{2}.Start Black Tool"<<endl;
cout<<"{3}.Exit\n";
cout<<opt;
cin>>c;
if (c == '1') {
cout<<"Installing..."<<endl;
system("cd .. && cd .. && bash install.sh");
} else if (c == '2') {
cout<<"Starting Black Tool"<<endl;
system("hack");
} else if (c == '3') {
ext();
} else {
cout<<"\033[91mError,\033[92m Please Try again!\033[0m";
}
}
void menu() {
title();
cls();
start();
}
int main() {
menu();
return 0;
}