-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpro_editor.c
More file actions
50 lines (38 loc) · 1.36 KB
/
Copy pathpro_editor.c
File metadata and controls
50 lines (38 loc) · 1.36 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
49
50
#include <stdio.h>
void banner() {
puts(" _____ ______ _ _ _");
puts("| __ \\ | ____| | (_) |");
puts("| |__) | __ ___ | |__ __| |_| |_ ___ _ __");
puts("| ___/ '__/ _ \\| __| / _` | | __/ _ \\| '__|");
puts("| | | | | (_) | |___| (_| | | || (_) | |");
puts("|_| |_| \\___/|______\\__,_|_|\\__\\___/|_|");
puts(" Welcome to ProEditor v12.3");
puts("\n\n\n");
}
void license_accepted() {
puts("[+] Your license key has been accepted.");
puts("===================================");
puts("===================================");
puts("==== CONGRATULATIONS ====");
puts("===================================");
puts("==== YOU MANAGED ====");
puts("==== TO EXPLOIT THE BINARY ====");
puts("===================================");
puts("===================================");
puts("== STACK BASED BUFFER OVERFLOW ==");
puts("===================================");
puts("===================================");
}
void get_license() {
char license_buffer[256];
puts("[+] Thanks for downloading ProEditor.");
puts("[+] To proceed with the installation, please submit your license key:");
gets(license_buffer);
printf("[+] Submitted license key: %s\n", license_buffer);
return;
}
int main() {
banner();
get_license();
puts("[!] Invalid license, no ProEditor for you :v");
}