Ideas for script to remove virus/code injection from scripts

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

Ideas for script to remove virus/code injection from scripts

Postby ranatanveer » Wed Aug 04, 2010 2:32 am

AOA Everyone

I need to remove virus/injections from hundereds of files from my web server, infected due to virus/injection.

i am working on simple idea.

1. script ask pattern as input from user OR pattern as input file.
2. script ask the specific path as input OR or list of infected file to be provided to remove pattern from path/list files.
3. find awk sed to remove pattern.

is there any better way ?

I can write bash script, can community help me in to give ideas about the outline of my script ?

i need just ideas not the code.
Regards

Rana Tanveer
+923224194457
Linux Student

For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com
ranatanveer
Subedar
 
Posts: 355
Joined: Sat May 07, 2005 11:54 am
ICQ: 133032001
Website: http://www.affordableprogrammers.com
WLM: ranatanveer@gmail.com
Yahoo Messenger: ranahard@yahoo.com
Location: Lahore

Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron