+ Reply to Thread
Results 1 to 7 of 7

Thread: Challenge

  1. #1
    Brandon Guest

    Challenge

    Challenge two has been released.

    The local members of a Doom 3 clan just keep racking up kills. I dont like this get into their website.
    http://www.hackthis.h4xx0r.be/

  2. #2
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: Challenge

    I'm not reversing that JS ****. No offense, but I don't have the time right now.. :-)

    As Corey just said "x10 needs to pay for itself".

  3. #3
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: Challenge

    HTML Code:
    <!-- Begin
    var base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9","A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z")
    var pass=""
    var z=23;
    var y=28;
    var f= new Array();
    var K= new Array();
    for (x=0; x<10; x++){
    f[x]=x<<9
    f[x]+=23
    }
    for (x=10; x<36; x++){
    y=y<<1
    v= Math.sqrt(y)
    v = parseInt(v,16)
    v+=5
    f[x]=v
    y++
    }
    for (x=36; x<62; x++){
    z=z<<1
    v= Math.sqrt(z)
    v = parseInt(v,16)
    v+=74
    f[x]=v
    z++
    }
    var iCounter = 3 //How many retries
    function inc(){
    iCounter--
    if (iCounter > 0)
    {
    if (confirm("\nPassword is incorrect.\n\n\n\nRetry?"))
    Check()
    else
    alert('Password incorrect.');
    location.href='index.html'
    
    
    
    }
    else
    alert('Your three tries are up.  Access Denied.');
    location.href='index.html'
    
    
    
    }
    function Check(){
    pass = prompt("Enter your password.","")
    if(pass==null || pass==""){
    history.go(-1)}
    else{
    var lpass=(pass.length)+1
    for (l=1; l<lpass; l++){
    K[l]=pass.charAt(l)
    }
    var code=0;
    for (y=1; y<lpass; y++){
    for(x=0; x<62; x++){
    if (K[y]==base[x]){
    code+=f[x]
    code*=y
          }
       }
    }
    
    
    if (code==42732) 		// code==[your access code]
    
    go()
    else
    inc()
       }
    }
    function go(){
    location.href=pass+".html";
    }
    // End -->
    code==42732

  4. #4
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: Challenge

    Now, find the correct string that Check() will "convert" to 42732. THEN, and only then, you'll get the pass.

  5. #5
    Brandon Guest

    Re: Challenge

    Yahoo! NedreN gave you a major hint. This is just a fun activity

  6. #6
    dharmil's Avatar
    dharmil is offline x10 Elder dharmil is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Avenel New Jersey
    Posts
    828

    Re: Challenge

    Quote Originally Posted by NedreN
    Now, find the correct string that Check() will "convert" to 42732. THEN, and only then, you'll get the pass.
    damn cant find wtf...

  7. #7
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: Challenge

    Just reverse the Javascript.. :-P

+ Reply to Thread

Similar Threads

  1. Challenge...
    By evenhotterchilli in forum Graphics & Webdesign
    Replies: 17
    Last Post: 11-16-2007, 01:48 AM
  2. Simple Easy Stupid Challenge
    By Brandon in forum Off Topic
    Replies: 2
    Last Post: 01-25-2006, 04:59 PM
  3. Challenge
    By Brandon in forum Off Topic
    Replies: 18
    Last Post: 01-25-2006, 02:52 PM
  4. Graphics challenge
    By bigguy in forum Graphics & Webdesign
    Replies: 11
    Last Post: 04-24-2005, 02:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers