Jump to content

Script Kodu Html'ye Çevirme ?


baris_koroglu

Recommended Posts

Forumum yetkinforum dahilindeki phpbb2 Script koduda bu Yetkinforum phpbb2 de anasayfa mesajı die bi bölüm var sadece orası script kodu kabul ediyor diğer forum konularında görünmüyor.bu kodu htmlye çevirip html si açık forumda görüntülemek mümkünmüdür

<script Language='Javascript'>

<!-- HTML Encryption provided by Galatlar.forum.st -->

<!--

document.write(unescape('%3C%62%6F%64%79%20%6C%65%66%74%6D%61%72%67%69%6E%3D%22%30%22%20%74%6F%70%6D%61%72%67%69%6E%3D%22%30%22%20%72%69%67%68%74%6D%61%72%67%69%6E%3D%22%30%22%20%62%6F%74%74%6F%6D%6D%61%72%67%69%6E%3D%22%30%22%20%73%63%72%6F%6C%6C%3D%22%4E%6F%22%3E%0A%3C%63%65%6E%74%65%72%3E%3C%69%66%72%61%6D%65%20%68%65%69%67%68%74%3D%22%33%34%33%22%20%66%72%61%6D%65%62%6F%72%64%65%72%3D%22%30%22%20%77%69%64%74%68%3D%22%34%36%36%22%20%73%63%72%6F%6C%6C%69%6E%67%3D%22%6E%6F%22%20%6D%61%72%67%69%6E%77%69%64%74%68%3D%22%30%22%20%6D%61%72%67%69%6E%68%65%69%67%68%74%3D%22%30%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%77%77%77%2E%66%72%65%65%64%6F%63%61%73%74%2E%63%6F%6D%2F%66%6F%72%6D%73%2F%50%6F%70%4F%75%74%2E%61%73%70%78%3F%73%63%3D%35%33%31%42%34%32%37%32%33%31%44%44%32%31%33%39%31%30%39%41%22%3E%3C%2F%69%66%72%61%6D%65%3E%3C%2F%63%65%6E%74%65%72%3E%0A%3C%69%6D%67%20%62%6F%72%64%65%72%3D%22%30%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%69%38%34%2E%73%65%72%76%69%6D%67%2E%63%6F%6D%2F%75%2F%66%38%34%2F%31%34%2F%32%34%2F%37%31%2F%39%39%2F%67%61%6C%61%74%34%31%32%2E%70%6E%67%22%20%73%74%79%6C%65%3D%22%70%6F%73%69%74%69%6F%6E%3A%61%62%73%6F%6C%75%74%65%3B%72%69%67%68%74%3A%34%37%3B%74%6F%70%3A%32%30%22%20%77%69%64%74%68%3D%22%31%30%30%22%20%68%65%69%67%68%74%3D%22%32%39%22%3E%3C%2F%74%64%3E%3C%2F%74%72%3E%3C%2F%74%62%6F%64%79%3E%3C%2F%74%61%62%6C%65%3E%20%0A%3C%62%6F%64%79%20%62%67%63%6F%6C%6F%72%3D%22%23%30%30%30%30%30%30%22%3E%3C%62%72%3E%47%61%6C%61%74%6C%61%72%2E%66%6F%72%75%6D%2E%73%74%0A'));

//-->

</Script>

Link to comment
Share on other sites

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" scroll="No">
<center><iframe height="343" frameborder="0" width="466" scrolling="no" marginwidth="0" marginheight="0" src="http://www.freedocast.com/forms/PopOut.aspx?sc=531B427231DD2139109A"></iframe></center>
<img border="0" src="http://i84.servimg.com/u/f84/14/24/71/99/galat412.png" style="position:absolute;right:47;top:20" width="100" height="29"></td></tr></tbody></table>
<body bgcolor="#000000"><br>Galatlar.forum.st[/CODE]

Ayrıca işine yararsa Code-Decode işlemi için fonksiyon:

[CODE] <script language="javascript">
var encN=1;

function decodeTxt(s){
var s1=unescape(s.substr(0,s.length-1));
var t='';
for(i=0;i<s1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));
return unescape(t);
}

function encodeTxt(s){
s=escape(s);
var ta=new Array();
for(i=0;i<s.length;i++)ta[i]=s.charCodeAt(i)+encN;
return ""+escape(eval("String.fromCharCode("+ta+")"))+encN;
}

function escapeTxt(os){
var ns='';
var t;
var chr='';
var cc='';
var tn='';
for(i=0;i<256;i++){
tn=i.toString(16);
if(tn.length<2)tn="0"+tn;
cc+=tn;
chr+=unescape('%'+tn);
}
cc=cc.toUpperCase();
os.replace(String.fromCharCode(13)+'',"%13");
for(q=0;q<os.length;q++){
t=os.substr(q,1);
for(i=0;i<chr.length;i++){
if(t==chr.substr(i,1)){
t=t.replace(chr.substr(i,1),"%"+cc.substr(i*2,2));
i=chr.length;
}}
ns+=t;
}
return ns;
}
function unescapeTxt(s){
return unescape(s);
}
function wF(s){
document.write(decodeTxt(s));
}
</script>[/CODE]

Link to comment
Share on other sites

  • 2 hafta sonra ...

ÖM'den istediğin açıklamayı yaptım:

<script language="javascript" src="http://media.fastclick.net/w/get.media?sid=24280&m=1&tp=5&d=j&t=n"></script><noscript><a href="http://media.fastclick.net/w/click.here?sid=24280&m=1&c=1" target="_blank"><img src="http://media.fastclick.net/w/get.media?sid=24280&m=1&tp=5&d=s&c=1"width=728 height=90 border=1></a></noscript>
<html>
<head>
<title>Unescape Encoder/Decoder</title>
<!--
CryptoMX Tools
Copyright (C) 2004 - 2006 Derek Buitenhuis

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->
<script language="javascript">
var encN=1;

function decodeTxt(s){
var s1=unescape(s.substr(0,s.length-1));
var t='';
for(i=0;i<s1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));
return unescape(t);
}

function encodeTxt(s){
s=escape(s);
var ta=new Array();
for(i=0;i<s.length;i++)ta[i]=s.charCodeAt(i)+encN;
return ""+escape(eval("String.fromCharCode("+ta+")"))+encN;
}

function escapeTxt(os){
var ns='';
var t;
var chr='';
var cc='';
var tn='';
for(i=0;i<256;i++){
tn=i.toString(16);
if(tn.length<2)tn="0"+tn;
cc+=tn;
chr+=unescape('%'+tn);
}
cc=cc.toUpperCase();
os.replace(String.fromCharCode(13)+'',"%13");
for(q=0;q<os.length;q++){
t=os.substr(q,1);
for(i=0;i<chr.length;i++){
if(t==chr.substr(i,1)){
t=t.replace(chr.substr(i,1),"%"+cc.substr(i*2,2));
i=chr.length;
}}
ns+=t;
}
return ns;
}
function unescapeTxt(s){
return unescape(s);
}
function wF(s){
document.write(decodeTxt(s));
}
</script>
</head>
<body bgcolor="#FFFFFF" alink="#C0C0C0" link="#C0C0C0" vlink="#C0C0C0">

<font color=#000000 size="5">
<br>
<center>
<form name="fA">
Decoded
<br>
<textarea id="f1" cols=50 rows=10 wrap="off"></textarea>
<br><br>
<input type="button" width="50%" value="Encode" onclick="document.fA.c1.value=escapeTxt(document.fA.f1.value)">    

<input type="button" value="Decode" onclick="document.fA.f1.value=unescapeTxt(document.fA.c1.value)">
<br><br>Encoded
<br>
<textarea id="c1" cols=50 rows=10></textarea>
<br><br>
<font color=#000000 size="3">
This can be used with the unescape( ); function in JavaScript.
</font>
</form>

</center>
</font>
</body>
</html>[/CODE]

Yukarıdaki kodları direk olarak bir html sayfasına yapıştırırsanız karşınıza Encoder/Decoder çıkacaktır.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...