26288 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: May 31
May Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Wikileaks leaks
documentary script
about Wikileaks
Investor Icahn
needs a loan of
$7bn to tick off
Mike Dell
World"s richest
hobo (Apple) has
worked "tax-free"
in Ireland since
"80s
Security
Twitteratti:
Twitter"s 2FA does
sweet FA for biz
Judge: Evidence
will likely show
Apple DID fix ebook
prices
ServiceKey, Oracle
end "grey market"
code spat without
bloodshed
BBC suspends CTO
after it spaffs
£100m on doomed IT
system
Open wide, Google:
Here comes an
advertising
antitrust probe
El Reg drills into
Office 365: Email
migration
Daft tweet by
Speaker Bercow"s
loquacious wife DID
libel lord
Slashdot
Ask Slashdot: When
Is the User
Experience Too
Good?
UC Berkeley Group
Working On Creating
Inexpensive 3-D
Printer Materials
FiOS User Finds
Limit of
"Unlimited" Data
Plan: 77 TB/Month
Xbox One Used Game
Policy Leaks:
Publishers Get a
Cut of Sale
Possible Collision
Between
Cube-satellite and
Old Space Junk
AT&T Quietly
Adds Charges To All
Contract Cell Plans
Drupalcon Attendees
Come Together To
Build Help4ok.org
In 24 Hours
Twitter"s New
Money-Making Plan:
Lead Generation
Bandages That Can
Turn Off Genes
Encourages Wound
Healing
BT Runs an 800Gbps
Channel On Old
Fiber
View Blog
C
by amisauv 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.


#include "stdio.h"
#include "process.h"
#include "dos.h"

int main(void)
{
struct date new_date;
struct date old_date;
struct time t;
/*change date*/
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;
setdate(&reset);
/*change time*/
gettime(&t); /*needed only if want to revert back*/
t.ti_hour=10;
t.ti_min=20;
t.ti_sec=30;
settime(&t);
return 0;
}

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
setdate(&old_date);

similarly to revert to time use
settime(&t);
C blogs amisauv's blog
Comments:
Anonymous
2011-07-23 02:37:48
Do you want to buy your personalized jerseys? There are three kinds of cheap authentic nba jerseys are arrival for you to choose. One is cheap MLB jerseys,the other two are wholesale nfl jerseys and wholesale nba jerseys. NFL throwback jerseys and authentic mlb jerseys are playing an important part in our classmates' everyday lives. They say that cheap nfl throwback jerseys could make them perfect. Either when they are playing balls or just in their everyday lives, NFL jerseys wholesale could make them more comfortable. Jose, who is my best friend, says that cheap nfl jerseys and nfl jerseys for cheap could save their family more, all their family love to share discount authentic jerseys online. Wholesale jerseys and cheap jerseys for sale online could save us more than buying from retail store.
Anonymous
2011-10-14 05:52:59
Considerably, this post is really the sweetest on this notable topic.
I harmonise with your conclusions and will thirstily look forward to your incoming updates.
Saying thanks will not just be sufficient,
for the phenomenal clarity in your writing.
I will directly grab your rss feed to stay informed of any updates.<a href="http://asbestosisweb.blogspot.com">asbestosis</a> <a href="http://www.gadgetsdotcom.com">gadgets</a>
<a href="http://asbestosisweb.blogspot.com">asbestos</a> <a href="http://www.gadgetsdotcom.com">gadget</a>
xadmin
2011-10-14 05:55:09
<a href="http://asbestosisweb.blogspot.com">asbestosis</a>
good article ... I always read artike-article on this website is very good
<a href="http://www.gadgetsdotcom.com">gadgets</a> <a href="http://asbestosisweb.blogspot.com">asbestos</a> <a href="http://www.gadgetsdotcom.com">gadget</a>
Anonymously add a comment: (or register here)
(registration is really fast and we send you no spam)

Related Blogs


Blog entry for Thu 3rd Apr 11am by venkatvasa on Thu 3rd Apr 11am

can anyone explain me the statement "pid=wait(&status)" in
the example(father, son) for fork(), given in the articles of C.
venkatvasa's blog

Blog entry for Wed 2nd Apr 12pm by arhant on Wed 2nd Apr 12pm

Hi all,

Pl. tell me the good resources for learning C++ from scratch to advance.

Regards
arhant's blog

About Me
n:amisauv
View my Profile

Recent Blogs
Creating a
Lexical
Analyzer in C
Tue 9th Dec 11am
Controling
digital circuit
through
computer
Tue 9th Dec 10am
/* Computerised
Electrical
Equipment
Control */ /*
PC BASED DEVICE
CONTROLLER *
Tue 9th Dec 10am
Calendar
Program
Tue 9th Dec 10am
Calculator:
Tue 9th Dec 10am

Link To Me
My Rss Feed
My Blog
My Articles
My Profile


 

     
Your Ad Here
 
Copyright Open Source Institute, 2006