EMAIL SECURITY

Useful Tips to Secure your Email Account

HOW-TO GUIDES

How-To Articles and Software Tutorials

INTERNET SECURITY

Useful Tips for a Safe & Secure Internet Usage

NETWORK HACKS

Network Hacking Techniques Exposed!

VIRUS CREATION

Learn How to Create Viruses on your Own

Home » Archive by Category

Articles in the C SOURCE CODES Category

A Virus Program to Disable USB Ports
Sunday, 19 Jul, 2009 – 17:42 | 43 Comments
A Virus Program to Disable USB Ports

In this post I will show how to create a simple virus that disables/blocks the USB ports on the computer (PC). As usual I use my favorite C programming language to create this virus. Anyone with …

How to Make a Trojan Horse
Sunday, 5 Apr, 2009 – 18:41 | 81 Comments

Most of you may be curious to know about how to make a Trojan or Virus on your own. Here is an answer for your curiosity. In this post I’ll show you how to make a simple …

A Virus Program to Block Websites
Friday, 21 Nov, 2008 – 8:46 | 65 Comments
A Virus Program to Block Websites

Most of us are familiar with the virus that used to block Orkut and Youtube site. If you are curious about creating such a virus on your own, here is how it can be done. As …

A Virus Program to Restart the Computer at Every Startup
Friday, 17 Oct, 2008 – 8:49 | 99 Comments

Today I will show you how to create a virus that restarts the computer upon every startup. That is, upon infection, the computer will get restarted every time the system is booted. This means that …

File Embedder Project in C
Monday, 21 Jul, 2008 – 8:40 | 8 Comments

Some times it is necessary for our compiled project to have it’s supporting files embedded within the EXE module itself so that the supporting files may not be put into a seperate folder and carried …

C Program Without a Main Function
Monday, 3 Mar, 2008 – 1:20 | 34 Comments

How to write a C program without a main function?. Is it possible to do that. Yes there can be a C program without a main function. Here’s the code of the program without a …

Guessing Game In C
Saturday, 1 Mar, 2008 – 8:14 | 7 Comments

This is a small guessing game written in C. In this guessing game you have to guess a number between 0 & 100. You have 8 chances to do that. Every time you guess wrongly …

A Self Destructing Program in C
Saturday, 1 Mar, 2008 – 7:35 | 20 Comments

This program will destroy itself upon execution. The program will cause the .exe file to be deleted upon execution. That is this program is capable of destroying itself upon execution. Here is the code


#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
printf(“This …

C Program for Pigeon Breeding Problem
Thursday, 28 Feb, 2008 – 16:33 | 8 Comments

The problem is as follows…
Initially I have a pair of adult pigeons (capable of breeding) which give rise to another young pair every month until it reaches the age of 5 years (60 months). But …

C Program to Set/Change the Current System Date
Wednesday, 16 Jan, 2008 – 13:56 | 5 Comments

This program can be used to set the system date or to change the current system date.
 
 
 
#include <stdio.h>
#include <process.h>
#include <dos.h>
int main(void)
{
struct date reset;
struct date save_date;
getdate(&save_date);
printf(“Original date:\n”);
system(“date”);
reset.da_year = 2001;
reset.da_day = 1;
reset.da_mon = 1;
setdate(&reset);
printf(“Date after setting:\n”);
system(“date”);
setdate(&save_date);
printf(“Back to …

C Program to Get the Current System Date
Wednesday, 16 Jan, 2008 – 13:47 | One Comment

This program will get or read the current system date from the system. It displays Year, Month and Day.
 
 
 
 
#include <dos.h>
#include <stdio.h>
int main(void)
{
struct date d;
getdate(&d);
printf(“The current year is: %d\n”, d.da_year);
printf(“The current day is: %d\n”, d.da_day);
printf(“The current …

C Program to Set/Change the Current System Time
Wednesday, 16 Jan, 2008 – 11:50 | No Comment

This program can be used to set or change the system time
#include <stdio.h>
#include <dos.h>
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 …