Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript for encoding/encrypting HTML

    I have passed across some javascript I found very confusing. I've been trying to understand what the author is trying to do with no luck! I know for one thing that part of the script is encoded. So, I decoded it but the rest still seems encrypted? I found this very strange but I am still quite new to javascripting so can anyone help in untangling this code?
    the code is:
    <script language="JavaScript" type="text/javascript"><!--
    var e="709Mol8=>xbJrjL31<:w4.c%)zPWIdtHS\"(2nm_6pe+E ;g-hai?/uCyTfsv",i=60,z="",g="";eval(unescape("%66%75%6E%63%74%69%6F%6E%20%77%77%77%28%29%7B%64%6F%63%75%6D% 65%6E%74%2E%77%72%69%74%65%28%67%29%3B%7A%3D%22%22%7D%3B%66%75%6E%63%74%69%6F%6E%20%79%28%78%29%7B%7 6%61%72%20%61%3D%27%27%2C%6B%2C%66%2C%64%2C%63%3B%66%6F%72%28%6B%3D%30%3B%6B%3C%78%2E%6C%65%6E%67%74 %68%3B%6B%2B%2B%29%7B%66%3D%78%2E%63%68%61%72%41%74%28%6B%29%3B%64%3D%65%2E%69%6E%64%65%78%4F%66%28% 66%29%3B%69%66%28%64%3E%2D%31%29%7B%63%3D%28%28%64%2B%31%29%25%69%2D%31%29%3B%69%66%28%63%3C%3D%30%2 9%7B%63%2B%3D%69%7D%61%2B%3D%65%2E%63%68%61%72%41%74%28%63%2D%31%29%7D%65%6C%73%65%7B%61%2B%3D%66%7D %7D%67%2B%3D%61%7D"));</script>
    Last edited by Angela101; 06-02-2005 at 05:50 PM.

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Posts
    400
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Who are you, where did it come from, and why should we decode it for you? What do you plan to do with their goofy pop-up code?
    Last edited by Harry Armadillo; 06-02-2005 at 04:49 PM.

  • #3
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am a student given this as an assignment to do analysis. I've been trying to work it out for a couple of hours with no luck. I thought someone can help. I've already decoded the encoded part... I didn't see something amazing nor did i see any popup
    have you discovered anything from it?

  • #4
    Regular Coder
    Join Date
    Feb 2005
    Posts
    400
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Homework? This doesn't look like homework....and this is more a professional forum than a 'do my homework for me' place.

    Yes, I can read the whole thing. Pop-up is the only clue you get without more/better convincing of your legitimacy.

  • #5
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jdk
    Do not post your homework assignments and expect us to do them for you. We do not encourage cheating on these forums, and how are you supposed to learn if you're not doing it for yourself?

    While direct cheating is discouraged, collaboration is no problem. Instead of asking for something directly, you could say "I have to do this, and I'm thinking about doing it this way, but are there any better methods?" You have clearly demonstrated you know at least what you're talking about, and at the same time, attempted to improve your scripting skills (by looking at superior - if any - methods), which is really what homework is all about.
    Nuff said!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •