Показать сообщение отдельно

  #2  
Старый 20.04.2009, 12:00
0rs
Познающий
Регистрация: 30.12.2008
Сообщений: 64
Провел на форуме:
647156

Репутация: 76
Отправить сообщение для 0rs с помощью ICQ
По умолчанию

Сама функция расшифровки
PHP код:
var codelock_bas 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 +/ '
function 
codelock_dec(str

  
str str.split('@').join('CAg'); 
  
str str.split(' ! ').join('W5'); 
  
str str.split(' * ').join('CAgI'); 
  var 
btdt ''
  for(
0
  
i<str.length
  
+= 4
  { 
    
bt =(codelock_bas.indexOf(str.charAt(i)) & 0xff)<<18 |(codelock_bas.indexOf(str.charAt(1)) & 0xff)<<12 |(codelock_bas.indexOf(str.charAt(2)) & 0xff)<< codelock_bas.indexOf(str.charAt(3)) & 0xff
    
dt += String.fromCharCode((bt 0xff0000)>>16, (bt 0xff00)>>8bt 0xff); 
     
  } 
  if(
str.charCodeAt(2) == 61
  { 
    return(
dt.substring(0dt.length 2)); 
     
  } 
  else if(
str.charCodeAt(1) == 61
  { 
    return(
dt.substring(0dt.length 1)); 
     
  } 
  else 
  { 
    return(
dt
  }; 

После расшифровки
PHP код:
<object id="SopPlayer" name="SopPlayer" classid="clsid:8FEFF364-6A5F-4966-A917-A3AC28411659" height="390" width="520">
    <
param name="AutoStart" value="1" /> 
    <
param name="SopAddress" value="sop://211.152.36.37:3912/60349" />
    <
param name="ChannelName" value="Discovery World" />
</
object>
<
script language JavaScript>
var 
message "This code is protected!"
function 
clickIE4() 

  if(
event.button == 2
  { 
    
alert(message); 
    return 
false
     
  } 
   

function 
clickNS4(e

  if(
document.layers || document.getElementById &&! document.all
  { 
    if(
e.which == || e.which == 3
    { 
      
alert(message); 
      return 
false
       
    } 
     
  } 
   

if(
document.layers

  
document.captureEvents(Event.MOUSEDOWN); 
  
document.onmousedown clickNS4
   

else if(
document.all &&! document.getElementById

  
document.onmousedown clickIE4
   

document.oncontextmenu = new Function("alert(message);return false")
< /
script

Последний раз редактировалось 0rs; 20.04.2009 в 12:06..
 
Ответить с цитированием