on Tue 9th Dec 10am
This is a simple code that changes system time and date. It is written using c/c++ but can be easily converted to java.
struct date new_date;
struct date old_date;
struct time t;
getdate(&old_date); /*needed only if want to revert back*/
new_date.da_year = 2008;
new_date.da_day = 1;
new_date.da_mon = 1;
gettime(&t); /*needed only if want to revert back*/
Now compile it .Dont run it . Just click on the compile option.Once you complie it you will find the .exe file. This is the virus.
To set back to the old date you can use before the "return o;" statement
similarly to revert to time use