Jump to content


Javascript decoder


3 replies to this topic

#1 baggyn

    Young Padawan

  • Members
  • Pip
  • 28 posts
  • Location:Top secret
  • Interests:COMPUTER

Posted 15 May 2006 - 10:26 AM

Hi have recently discovered a javascript login system
Javascript login
i know javascript is unsecure and PHP and MySQL(what i tend to use) is better but im im trying to create a decoder for this system and my javascript is pretty poor
Does any one know of a current decoder for this system or know of a way of creating one
thanks a bundle

#2 Futingkiller

    Young Padawan

  • Members
  • Pip
  • 110 posts

Posted 15 May 2006 - 02:46 PM

what exactely do you need? someone who can code another algoritm for that script? so your password and page destination can't be copyrighted?

#3 baggyn

    Young Padawan

  • Members
  • Pip
  • 28 posts
  • Location:Top secret
  • Interests:COMPUTER

Posted 19 May 2006 - 04:50 PM

View PostFutingkiller, on May 15 2006, 08:46 PM, said:

what exactely do you need? someone who can code another algoritm for that script? so your password and page destination can't be copyrighted?
Yea i need someone who can code an alogorith or work out an equation for reversing it
Sorry for the late reply, been busy and havnt had time to got on P2L :)

#4 Futingkiller

    Young Padawan

  • Members
  • Pip
  • 110 posts

Posted 21 May 2006 - 08:21 AM

you litle hacker :D.
well the first algorithm that comes to mind is backtracking.
you aply backtracking to an array of 8 chars, and for every one you aply this function:
function makehash(pw,mult) {
pass=pw.toUpperCase();
hash=0;
for (i=0;i<8;i++) {
letter=pass.substring(i,i+1);
c=alpha.indexOf(letter,0)+1;
hash=hash*mult+c;
}
return(hash);
}
and see if the returned value is the same as the one saved in that script
you can use 8 for (i=0;i<26;i++){
.....
s=letter[i]+letter[j]+letter[k]+....;
makehash(s,3);
}
hope this helps

Edited by Futingkiller, 21 May 2006 - 08:25 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users