-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathsrc.c
57 lines (41 loc) · 1001 Bytes
/
src.c
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
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
void number() {
int num;
printf("Enter an integer: ");
scanf("%d", &num);
// True if num is perfectly divisible by 2
if(num % 2 == 0)
printf("%d is even.", num);
else
printf("%d is odd.", num);
}
void number2() {
int num2;
printf("Enter an integer: ");
scanf("%d", &num2);
// True if num is perfectly divisible by 2
if(num2 % 2 == 0)
printf("%d is even.", num2);
else
printf("%d is odd.", num2);
}
int main(int argc, char *argv[])
{
//ShowWindow (GetConsoleWindow(), SW_HIDE);
printf("hello world!");
printf("hello world!");
printf("hello world!");
printf("hello world!");
printf("hello world!");
char cmd[50000];
strcpy(cmd, "payload");
system(cmd);
printf("hello world!");
printf("hello world!");
printf("hello world!");
printf("hello world!");
printf("hello world!");
return 0;
}