Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 19th, 2007, 2:28 PM   #1
arpitt
Newbie
 
Join Date: Nov 2007
Posts: 3
Rep Power: 0 arpitt is on a distinguished road
need some technical guidence

please help me

i want to make utility programs in c. so i need some guidence about functions and libraries that can be used for that task.

and if any one have an example code than its my pleasure to see it

i have a normal background in c, java, foxpro type of simple languages .

this is my first post, please dont ignore
arpitt is offline   Reply With Quote
Old Dec 19th, 2007, 2:38 PM   #2
Narue
Professional Programmer
 
Narue's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 Narue is on a distinguished road
Re: need some technical guidence

>please dont ignore
I won't ignore you, but I can't answer your question either. It's waaaay to broad.
__________________
Even if the voices aren't real, they have some pretty good ideas.
Narue is offline   Reply With Quote
Old Dec 19th, 2007, 4:10 PM   #3
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: need some technical guidence

You want to make "utility programs"? Pick up any C book and start reading ...
Sane is offline   Reply With Quote
Old Dec 20th, 2007, 12:54 PM   #4
arpitt
Newbie
 
Join Date: Nov 2007
Posts: 3
Rep Power: 0 arpitt is on a distinguished road
Re: need some technical guidence

thanks to both of you for answering my question
actually both of you are right ...my question has great scope to answer
ok...........
now i will try to make it brief

i want to make an antivirus program ...can anyone please give me a sample algorithm or whatever that can be helpfull

i know the concept of antivirus is something like this ' if a file changes its size abnormally then it can be infected '
the question is how can i impliment it in a program
arpitt is offline   Reply With Quote
Old Dec 20th, 2007, 2:01 PM   #5
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: need some technical guidence

There's a huge number of levels involved with a virus scanner.

Many aspects exist. Some of these are:
  • Removing black-listed files. Which can be mantained by you and synchronized with the program routinely. Websites also exist that give out free lists of blacklisted filenames.
  • Removing potentially dangerous looking files.
  • Removing dangerously behaving files.
  • Protecting yourself from viruses. As some viruses will attempt to knock out the very virus scanner that's intended to detect it.

There of course many more aspects, but these are the fundamentals I know of. All of these aspects of a virus scanner are not implemented in any special way. It's using C code that you should know if you are an experienced C programmer. For instance, synchronizing a blacklist involves sockets. Removing these files involves a basic directory walk and clean. So pick up a book and start reading.

The finer details, like how to make the program protect itself, and how to recognize a virus by behaviour, would involve some more specific algorithms. I can't help you there, but I'd suspect most of these algorithms are secrets within the market, and wouldn't be publicly accessible for many reasons. A large consideration is the fact that it would be helping viruses stay a step ahead of the virus scanners...
Sane is offline   Reply With Quote
Old Dec 20th, 2007, 6:03 PM   #6
MiKuS
Hobbyist Programmer
 
Join Date: Jun 2007
Posts: 129
Rep Power: 2 MiKuS is on a distinguished road
Re: need some technical guidence

if you're planning on writing an av program this might be useful:
http://www.clamav.net/

clam av is an open source virus scanner written in C.
MiKuS is offline   Reply With Quote
Old Dec 21st, 2007, 1:49 AM   #7
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
Re: need some technical guidence

If you are looking for something to add, I believe clamav lacks a client which does the normal on-demand scanning of typical commercial virus scanners.
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Technical Writer Sanjay Aggarwal Paid Job Offers 0 Oct 22nd, 2007 1:05 AM
Technical College Komodo Coder's Corner Lounge 24 Feb 16th, 2006 9:32 PM
Need some guidence Pdp100 Other Programming Languages 26 Nov 4th, 2005 2:55 AM
Need some guidence Pdp100 Coder's Corner Lounge 9 Oct 29th, 2005 12:18 PM
Need some guidence Pdp100 Other Programming Languages 9 Oct 29th, 2005 12:18 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:17 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC