Banyak pemilik situs tidak ingin
isi situsnya dibajak orang lain. Bermacam-macam cara untuk menghindari
pembajakan. Ada yang menggunakan javascript untuk men-disable klik
kanan. Cara ini sangat mudah diatasi, cukup dengan mematikan javascript
saja. Dalam artikel ini saya akan menunjukkan cara membongkar proteksi
html guardian, yaitu software untuk mengenkrip html source agar tidak
dicuri orang lain.
Javascript-based Encryption
Cara yang lebih baik adalah dengan
menggunakan enkripsi. HTML Guardian (HG) adalah salah satu software yang
populer untuk melindungi html dengan enkripsi. Html yang dilindungi
dengan HG tidak bisa lagi dibaca dengan mata telanjang (view source).
Halaman html yang tadinya rapi, mendadak menjadi kacau balau tak
terbaca, penuh dengan kode javascript dan karakter string aneh.
Sebenarnya bagaimana cara kerja HG? Cara
kerjanya sederhana. Ketika halaman yang telah dienkrip dengan HG di
buka, maka kode javascript yang ada di dalamnya akan melakukan dekripsi
menjadi kode html kembali. Kode html ini kemudian ditulis lagi ke
browser. Kode html yang telah di-dekrip ini hanya tersimpan di memori
browser, tidak di file, sehingga ketika orang mencari di kumpulan file
cache tidak ditemukan. Dilihat dengan view source pun tidak akan
terbaca.
Generated Source
Dari cara kerjanya, bisa kita ambil
kesimpulan bahwa plain-text html nya sebenarnya tersedia, namun hanya
beredar di memori browser. Jadi ketika javascript dijalankan, dia akan
menghasilkan source, source ini lah yang disebut dengan Generated Source
yang disimpan di memori browser.
Khusus pengguna Firefox, telah tersedia addon yang sangat ampuh, yaitu Web Developer. Dengan addon ini, dengan sekali klik saja kita bisa mendapatkan generated source yang tersimpan di memori browser.
Mari kita coba membongkar proteksi HG di halaman demonstrasi. Halaman ini memang khusus dibuat untuk menunjukkan fitur-fitur HG.
Bila kita view source halaman demo
tersebut, maka yang kita dapatkan hanyalah kode html dan javascript.
Semua konten htmlnya dimasukkan ke dalam kode javascript. Kode
javascript untuk contoh demo tersebut adalah sebagai berikut:
1 2 3 4 5 | <script type="text/javascript"> //<![CDATA[ l1l=document.all;var naa=true;ll1=document.layers;lll=window.sidebar;naa=(!(l1l&&ll1)&&!(!l1l&&!ll1&&!lll));l11=navigator.userAgent.toLowerCase();function lI1(l1I){return l11.indexOf(l1I)>0?true:false};lII=lI1('kht')|lI1('per');naa|=lII;O0O0=new Array();O0O0[0]='<!DOCTYPE HTML PUBLIC "-//W3C~DTD~ ~~\r4.01 Transitional~EN"><html~9head~9script>ev~3(une~Eape(\'f~Pct%69~1%20\\161~d71%36~a8~a9%7B~]9f~n~d67indo~r7~aE~r3i~d44~]5~]2}1r~p~r~t76}}~b~y~g1~i~k}3D~a}2}}1y~k~o}St~G~]Eg}~]6r~6} 43h}~y2%}8~]F~]} 6}2})~j33~aC~k}H0}3B}}157}8i~k} 3}O}Q}Z~ ~k}=}I~k}3}fB}Z2~t}k}~s}}\'3}"~t}~r}}3~o7}\\B~~c~y}}6}\n}.~y} 2Ew}<}Z7}C}E}z~j7~q}r}n} }{~k}R~e}w}H~m}F}PB\'))</~E~G~I~D~F~H~J~,p=\'This page requi|:|3a b}4wser v|G~-~1 3~% o|H~Qw|G !\';dl=}~ument.lay|K;oe=w~|~~w.o~U~*?1:0|Za|]oc|_|a|c~3l&&!|j;|7|{|}|`|b.|7tEle{tById;|E|l|no|p~-debar?},ue:f~3|F;izN=~2vigat|R.u|FrA|7{{7L{|GCa|F().|nexOf~W~Qt~S~U| >=0{%r{\'{){+e{-{N|E{!{.N){|<og|\\\'iuy\'};~M|Hmsg|.|Y~Yn~[~0n ~Qm{G{|:tur{}{&e{p|m~}{|q~Qr}4|H={~{{^(da{e|^{zd~*gst{#t={y{{|Mzzz{}{*l|F{pz&~/|McIEz({tg);z*z z-z/;z1{| cczz |zc~1t{K~<|au=z4E;|FtTi|`out("zF{G",~b0){pzazgzB~Zz2{}cNS(e{ei{N|[|||Ezt{Ne.w|1ch==2zxz}ziyy3{ez8{uz;z=z,{\\}yz|[z|||~{c~Tz|:E|J|bs(y zJMOUSE~W{d|Zyz~1mz\\|F|onzSzp}ez.e{zI{y2y4eu|-zoS{py?|c~1z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%34%3Dl%34%2E%72%65%70\154%61c\145%28l%35%2C\154%36%29%3Bv\141r%20%6C%37%3D%6E\145\167%20%41%72ray%28%29%2C%6C%38%3D%5F%31%3D%6C%34%2E\154%65ng%74%68%2C\154%39%2C%6CI%2C\151l%3D%31%36%32%35%36%2C%5F%31%3D%30%2C\111%3D%30%2C\154\151%3D%27%27%3B\144o%7Bl%39%3Dl%34%2Echa\162\103od%65A%74%28%5F%31%29%3Bl\111%3Dl%34%2E\143\150\141%72\103o\144\145%41t%28%2B%2B%5F%31%29%3B\154%37%5B%49%2B%2B%5D%3Dl%49%2B\151l%2D%28%6C%39%3C%3C%37%29%7Dw%68%69l%65%28%5F%31%2B%2B%3C%6C%38%29%3B\166%61r%20\154%31%3Dne\167';O0O0[0]+='rzhng~||8{ yhz p%|8q}r\\qKrAt?zL{ sgu?~3~/p#ps_|ad|3q tFpqy~G{6|8fex{"q3t7mq>~}peopSpXt?pU~IzD|apM~QrNpy~(u pKsxi|31v%qLrtopLparzhz|R-f|:pTreqJt6vP{sq^.qbo |A~2|`v[|rzmt q)<sTr8tAsVqsF{xit$pKr%p||Mo&{|ssJ/sv<x&qcqqqss>rdo6tpsKpotqr)oKp rzhuW|Gp?upotdo ~R(t|3|Q|H.vqT)tq<rWurYoG_phr*r^~8okpprupoWtcoYstqox"~Ryu|@puL|8ppn{Q o[uZs)oOu\novtcYz\\zEsE{+pwp{tqo|Rq>tzNt6{s<vJqnoAo,s3qrsXPqWtjyz\\|HzZ|6~Rs[~.hu{q+r3quoq p9~8Iq>|7n\rrqsDrH/rPs|pKh~+tt6oepog"n-|7ojn(u\r~<r`trb"n;n.~nR{|s9nO|8n>tdq$wVp/rLrN<zZgtt"|T|OjpguGt&t("25uG~@q:v[~bto>o+qsz~8oFq~t~1q{r~-|:t6rynououoxnho=qoo*qdn#sPn%~8Ts\\wczupm|:sx|`uopdp$nstmqpmv[hg12p~8s}oxo5mqK|mupx{ {*x&tm$hm&ou>oWs=s~rja~Mt-|av{t6|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kPt\no>jXfs3f uznYn=q s0qGjT|8ie~@h0mir>|McpLefoso|Aq>jsdyLtv/sdptlo{!q>z!|Kg^rVnLuJn_k,rpwon>e n3k2tUk4gOk6gKcU|8gnBgYf7rLgzg@ha|Hh#jqv|hhn/|anGjUnJofuJh_cDgJf`|MofbpfcDp|MkdciItlbsE~|~MlsBo4qrcevodqP|4y sH {5sir[qSdeunpmi~~nes[~+d#kcDqoe!e8smRe:e{osjecst6o8j>bDkmcupJbhTp,mZz.pwq>erb.qh1~-b5pwg&sjm kaqkdbQb$g*i;|Vb+kngVf:c<~9fRo$"wcffXrRhqshx"w~yx\'qErZf|8{3rspvcffl<cQsPcSp';O00O+='eva';OOOO='KdksOiiBFIxOkcRv';O00O+='l(unes' +'cape(_O0))}';eval (O00O);OO00='EfdPDZPFUOMMwwOfsZoX';O00O='';O0OO+='%20A%72ra%79%28%29%2C%6C%30%3D%6E%65w%20A\162ray%28%29%2C%49\154%3D%31%32%38%3Bdo%7B\154%30%5BIl%5D%3DStr%69n%67%2E%66%72o%6DC\150a\162Code%28Il%29%7Dw\150i%6Ce%28%2D%2D%49l%29%3B\111%6C%3D%31%32%38%3Bl%31%5B%30%5D%3D%6C\151%3Dl%30%5B%6C%37%5B%30%5D%5D%3Bl\154%3Dl%37%5B%30%5D%3B%5F\154%3D%31%3B\166ar%20\154%5F%3Dl%37%2E\154\145%6E\147\164h%2D%31%3B\167hil\145%28%5F%6C%3Cl%5F%29%7B\163\167\151%74c%68%28l%37%5B%5F\154%5D%3CIl%3F%31%3A%30%29%7B%63\141\163\145%20%30%20%3A%6C%30%5B\111%6C%5D%3D\154%30%5B\154%6C%5D%2BStr%69n%67%28l%30%5Bll%5D%29%2Es%75b%73\164\162%28%30%2C%31%29%3Bl%31%5B%5F\154%5D%3Dl%30%5B%49%6C%5D%3B%69f%28%6C%32%29%7B\154%69%2B%3D\154%30%5B%49l%5D%7D%3Bbre\141';OOO0='l';O0O0[0]+='Js}eef?hph@yLzNsxo rUe*t4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d?(|e|"tut t#u:|#V\r~Dp8n|.^ziQr:^j{ bK>wrfwuww`)fu|pt\nS*szhm&yt\nppJ';O0OO+='k%3Bde%66aul%74%3A%6C%31%5B%5F%6C%5D%3Dl%30%5Bl%37%5B%5F\154%5D%5D%3B%69f%28l%32%29%7B%6Ci%2B%3Dl%30%5Bl%37%5B%5F%6C%5D%5D%7D%3Bl%30%5B\111l%5D%3Dl%30%5Bl\154%5D%2B\123t%72i%6Eg%28%6C%30%5B\154%37%5B%5F%6C%5D%5D%29%2E%73u%62st%72%28%30%2C%31%29%3Bb\162e%61%6B%7D%3B\111%6C%2B%2B%3B%6C%6C%3Dl%37%5B%5F\154%5D%3B%5F%6C%2B%2B%7D%3Bif%28%21%6C%32%29%7B%72e%74\165rn%28\154%31%2E%6Aoin%28%27%27%29%29%7De%6C\163e%7Br\145\164u\162n%20%6C%69%7D%7D%3Bv%61\162%20\154%4F%3D%27%27%3B\146o\162%28%69\151%3D%30%3B\151%69%3C\117%30O%30%2El%65ng%74h%3Bi%69%2B%2B%29%7Bl%4F%2B%3D\154%33%28O%30%4F%30%5B%69\151%5D%29%7D%3B%69f%28%6Ea%61%29%7B%64%6F\143%75m\145%6E%74%2E\167\162\151%74e%28\154%4F%29%7D%3B';OO00 ='j8 3,O;SaXs#%VYo.yFj=Lxr';____ (O0OO);OOO0+='x1r%mOO*G=En2n-:.;2Mt04Is@D&ReLq ?)>'; //]]> </script> |
Sangat kacau bukan source javascriptnya? Tidak perlu pusing-pusing, kita biarkan saja browser yang meng-eksekusi code tersebut. Nanti setelah eksekusi selesai, dengan menggunakan addon web developer, kita bisa melihat source hasil eksekusi javascript tersebut. Sebagian hasil dekripsinya (karena sangat panjang) terlihat sebagai berikut:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | <table border="0" width="85%"> <tbody> <tr> <td colspan="3"> <p class="tips" align="center"><b><u><font color="#FF0000">"Best product of its kind, bar none."</font></u></b><br /> <font color="#000000">WebReview</font></p><br /> </td> </tr> <tr> <td colspan="3" height="79"> <p class="tborder6" align="left"><b>Main HTML Guardian features:</b><br /></p> <ul class="sli"> <li class="bli">A world standard for web intellectual property protection</li> <li style="list-style: none"> <font class="sli">- all experts in web design, web security and intellectual property protection <a href="encrypt_asp.htm#p0"><font class="bo" color="navy">recommend HTML Guardian</font></a>.</font><br /> <br /> <center> <a href="encrypt.html" title="Encrypt html, password protect website .. compare tools" id="6" name="6"><font class="bo" color="#0000FF">Compare HTML Guardian to other tools for website protection</font></a><br /> <font style="color: black; font-weight: normal;">[see why it is adopted worldwide as a website protection standard]</font> </center><br /> </li> <li class="bli">Rock solid</li> <li style="list-style: none"><font class="sli">- it will properly encrypt all html, shtml, <a href="scripts.htm" class="s1i"><b>script</b></a> and asp files, not just some of them. HTML Guardian's revolutionary <span class= "bo">CodeAnalyzerâ„¢</span> engine debugs the encrypted code in realtime and sends the appropriate feedback commands to the encryption engine. This ensures 100% working and error-free encrypted files</font>.<br /> <br /> <a name="options" id="options"></a></li> <li class="bli">Flexible encryption options:</li> <li style="list-style: none; display: inline"> <ul> <li class="sli"><b>Encrypt html</b> files, asp files, external script files(.js or .vbs), <a href="encrypt_php.htm">php</a> and shtml files, framesets and style sheets (.css) files. You can also encrypt HTML-formatted email.</li> <li class="sli">Protect your images with <font class="bo" color="#0000FF">Image Guardian</font> - enhanced <a href="image_protection.htm" title= "Image Protection"><b>image protection</b></a>. <img src="new3.jpg" width="25" height= "20" /></li> <li class="sli">Encrypt only desired parts of html files.</li> <li class="sli">Two different methods of encryption</li> <li style="list-style: none"><font class="hg12p">- files encrypted with the default method work in all javascript-enabled browsers. You can also use the alternative, more fast and secure method for Internet Explorer 5.0 or higher only.</font></li> <li class="sli">Disable right mouse button (right click).</li> <li class="sli">Disable showing link targets in status bar.</li> <li class="sli">Disable text selection.</li> <li class="sli">Prohibit offline use</li> <li style="list-style: none"><font class="hg12p">- your files will work fine when someone is browsing your site, but they will not work if they are saved and run from a local hard drive.</font></li> <li class="sli">Password protect your pages using either a basic or <a href= "html_password_protect.htm"><b><font color="#0000FF">Ultra-Strong password protection</font></b></a>.<img src="new3.jpg" width="25" height="20" /></li> <li class="sli">Prohibit linking your pages from other sites.</li> <li class="sli">Prohibit printing of protected files.</li> <li class="sli">Disable Clipboard & Print Screen ( for IE 5+ only ).</li> <li class="sli">Option only to compress HTML code(without encryption).</li> </ul><br /> </li> <li class="bli">Encrypt either a single file, an entire web site or a file list at once.</li> <li style="list-style: none"><br /> <br /></li> <li class="bli">Full command line support.</li> <li style="list-style: none"><br /> <br /></li> <li class="bli">Language independent</li> <li style="list-style: none"><font class="hg12p">- HTML Guardian will properly encrypt your files no matter what character set you use. You may have text in English, Chinese, Russian, Japanese or any other language.</font><br /> <br /></li> <li class="bli">Powerful partial encryption capabilities</li> |
Kesimpulan
Client based protection doesn’t works. Walaupun source dibuat kacau
balau seperti apapun, selama browser hanya mengerti html, harus
dikembalikan ke bentuk yang dimengerti browser. Kita tidak perlu tahu
mengerti javascript hasil scramble, cukup biarkan browser menjalankan
tugasnya, dan kita hanya mau hasil akhirnya yang sudah rapi berbentuk
htm
0 komentar:
Post a Comment