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.
Post Reply
ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Ideas for script to remove virus/code injection from scripts

Post by ranatanveer »

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
Post Reply