Need Java password protection help

Discussion in 'Software' started by YiffyWereWolf, Sep 14, 2004.

  1. YiffyWereWolf

    YiffyWereWolf Private E-2

    Hello everyone. I was bored, so I decided to go looking on the web for things to do. I did find something, www.try2hack.nl. Level one and two were easy, but im stuck on level three. I finish level two, and i click the button to go on, and it brings up a java prompt asknig for the password. I think "DAMN, how the hell do I do this?"
    A few minutes later I think "OK, you gota disable java and go there and look at the source so you can get the password!". So I do just that. I take a look at the scripting in there, and of course I dont understand any of it, but I try the two obvious things that just might be the password.

    pwd = prompt("Please enter the password for level 3:","");
    if (pwd==PASSWORD){
    alert("Allright!\nEntering Level 4 ...");
    location.href = CORRECTSITE;
    }
    else {
    alert("WRONG!\nBack to disneyland !!!");
    location.href = WRONGSITE;
    }
    PASSWORD="AbCdE";
    CORRECTSITE="level4-sfvfxc.xhtml";
    WRONGSITE="http://www.disney.com";

    First I try "PASSWORD" and it didnt work. Next i try "AbCdE", and it didn't work either. Thinking theres something Im just not understanding here, I go to www.w3schools.com and begin reading in on Java Script. A few pages into it, i become pretty confident that I know the basics of whats going on here, and so far im still out of luck. "AbCdE" SHOULD be the password, thats what im thinking, but still it dosent work. There is nothing in the code that sugjests the code is coming from an external file such as a .js. So I am really really stumped here, any help would be appreciated.
     
  2. Wookie

    Wookie Sergeant Major

    should be "AbCdE" Make sure you don't use the quotes. just use AbCdE
     
  3. Wookie

    Wookie Sergeant Major

    I love thes kinda sites lotta funk, try hackthissite.org to, some good stuff there.
     
  4. YiffyWereWolf

    YiffyWereWolf Private E-2

    I figured it out! And it didnt have anything to do with that script i posted =P
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds