How to decrypt js-encrypted source code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rhesus
    Confirmed User
    • Aug 2004
    • 2009

    #1

    How to decrypt js-encrypted source code?

    Anyone have hints?
  • Theo
    HAL 9000
    • May 2001
    • 34515

    #2
    not simple,there are several ways a code can be encoded.

    Comment

    • Theo
      HAL 9000
      • May 2001
      • 34515

      #3
      ive seen some encoding of html/js that its almost impossible to decode

      Comment

      • Tempest
        Too lazy to set a custom title
        • May 2004
        • 10217

        #4
        The correct answer is..... No.

        Comment

        • Nookster
          Confirmed IT Professional
          • Nov 2005
          • 3744

          #5
          Originally posted by Tempest
          The correct answer is..... No.
          The actual correct answer is 1: for tempest: educate yourself before posting please, 2: search for the most commonly used encryption algorythms and run a few tests (you know, like a scientist). Never know, you might catch on to something.
          The Best Affiliate Software, Ever.

          Comment

          • Tempest
            Too lazy to set a custom title
            • May 2004
            • 10217

            #6
            Originally posted by Nookster
            The actual correct answer is 1: for tempest: educate yourself before posting please, 2: search for the most commonly used encryption algorythms and run a few tests (you know, like a scientist). Never know, you might catch on to something.
            You actually thought I was serious???

            But you go ahead and help someone out who may be trying to hack someone else's code so maybe he can get access to something he shouldn't be...

            Comment

            • darksoul
              Confirmed User
              • Apr 2002
              • 4997

              #7
              encrypted its not best word for this. Js can't be encrypted.
              I think you meant obfuscated.
              1337 5y54|)m1n: 157717888
              BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
              Cambooth

              Comment

              • Libertine
                sex dwarf
                • May 2002
                • 17860

                #8
                Originally posted by pornopete
                Why would you want to? I'm assuming you don't want to pay for another programers hard work?
                Many cheaters/scammers (not to mention several worms) abuse things like jscript.encode, so in quite a few cases wanting to see what's underneath is entirely legitimate.

                However, his question is too broad to answer here. It's like asking "how do you decode something that's been encoded". The answer, of course, is that it depends on how it's been encoded.

                Some possibly helpful links:
                http://scriptasylum.com/tutorials/en...de-decode.html
                http://www.virtualconspiracy.com/ind...e=scrdec/intro
                http://www.r4k.net/dec/
                /(bb|[^b]{2})/

                Comment

                • devnull
                  Registered User
                  • Dec 2005
                  • 65

                  #9
                  This will give you the answer:
                  $ cat /dev/random
                  /dev/null

                  Comment

                  • Libertine
                    sex dwarf
                    • May 2002
                    • 17860

                    #10
                    Originally posted by pornopete
                    I wouldn't answer a question like this without knowing the application. You are correct there are several cheats/scammers who use this to screw people over but there are also people who use it to geniunly keep people from stealing there hard work.

                    Its like somebody asking how they could remove a waterwork from an image.
                    No, it's not. This is something that is not quite as harmless as watermarks, and is used extremely often to hide shady stuff - actually including using stolen scripts and such.
                    /(bb|[^b]{2})/

                    Comment

                    Working...