|
Тема |
Java script crack |
|
Автор | cyphre (Нерегистриран) | |
Публикувано | 31.08.05 01:37 |
|
|
За съжаление нищо не разбирам от Java, но долния скрипт изглежда елементарен. Някой може ли да ми помогне с дешифрирането на паролата? Благодаря предварително.
<SCRIPT LANGUAGE="JavaScript"><!--
var AC_SP4_00_trys = 3;var AC_SP4_00_alpha="ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789-:/._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";var AC_SP4_00_a1=new Array(); var AC_SP4_00_a2=new Array();
AC_SP4_00_a1[0]=9; AC_SP4_00_a2[0]="_h.quvmgenbufAbhiCnu";AC_SP4_00_a1[1]=22; AC_SP4_00_a2[1]="ab_kvpnafhcogudbjwoo";
function AC_SP4_00() {var pass="";var revisit=false;if (! revisit) {pass = prompt("Въведете парола, за да получите достъп до ценовите листи:","");}if(pass==null || pass=="") {location.href='../html/list.html';}else {if (revisit) {h1=pass.substring(0,pass.indexOf("|"));h2=pass.substring(pass.indexOf("|")+1);} else {h1=AC_SP4_00_makehash(pass,3); h2=AC_SP4_00_makehash(pass,10)+" ";}for (var pos=0;pos<AC_SP4_00_a1.length;pos++) if (AC_SP4_00_a1[pos]==h1) break;if (pos==AC_SP4_00_a1.length) {AC_SP4_00_trys--;if (AC_SP4_00_trys > 0) {if (confirm("\nНевалидна парола! Проверете и въведете коректно вашата парола!")) AC_SP4_00();else location.href='../html/list.html';} else location.href='../html/list.html';return;}var page=""; var hp=0;for (var i=0;i<AC_SP4_00_a2[pos].length;i++) {letter=AC_SP4_00_a2[pos].substring(i,i+1);a=AC_SP4_00_alpha.indexOf(letter,0);if (a>=0) {a-=(h2.substring(hp,hp+1)*1);hp++; if (hp==h2.length-1) hp=0;if (a<0) a+=68;page+=AC_SP4_00_alpha.substring(a,a+1);} else { page+=letter; }}location.href=page;}}
function AC_SP4_00_makehash(pw,mult) {hash=0;for (i=0;i<pw.length;i++) {letter=pw.substring(i,i+1);c=AC_SP4_00_alpha.indexOf(letter,0)+1;hash=(hash*mult+c)%27;}return(hash);}
AC_SP4_00();
//SiteProtector 5.x by Ingo Fischer (http://www.apollon.de) --></SCRIPT>
|
| |
|
|
|