forked from maxadorable/ComplexForce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCubething.cpp
More file actions
47 lines (41 loc) · 715 Bytes
/
Cubething.cpp
File metadata and controls
47 lines (41 loc) · 715 Bytes
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
#include <iostream>
enum Methods
{
NUMBERS,
ALPHA,
ALPHANUMERIC
};
int main()
{
int tron;
int node;
int genNum;
int brute;
std::cout << "What method do you want to use to brute force?" << std::endl;
std::cin >> brute;
Methods method;
switch (brute)
{
case 1:
method = NUMBERS;
break;
case 2:
method = ALPHA;
break;
case 3:
method = ALPHANUMERIC;
break;
}
switch (method)
{
case NUMBERS:
std::cout << "123456789 password cracked" << std::endl;
break;
case ALPHA:
std::cout << "meepo is hot passsword cracked" << std::endl;
break;
case ALPHANUMERIC:
std::cout << "meepo is hot4 password cracked" << std::endl;
break;
}
}