Decoding HTML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raster
    Confirmed User
    • Aug 2003
    • 784

    #1

    Decoding HTML

    I've always wanted to find a script to decode html, but the other day, my browser was hijacked to a webpage with an autodownload virus. With updated AV, I didn't get it, but when I looked at the source code, it was all encrypted.

    Anyone know of a utility that would decrypt something like this:

    < s c r i p t l a n g u a g e = J a v a S c r i p t > m = '%3C%21--%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%20%2 0%20%20%20%20%20%20%20%20%20%20%23hahaDhahaA%23%20 %20%20%20Copyright%20%A9%201999-2002%20CGISCRIPT.NET%20-%20All%20Rights%20Reserved%20%20%20%20%20%23hahaDh ahaA%23%20%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20%20%20%20%20%20%23hahaDhaha A%23%20%20%20%20%20%20%20%20%20%20THIS%20COPYRIGHT %20INFORMATION%20MUST%20REMAIN%20INTACT%20%20%20%2 0%20%20%20%20%20%20%20%20%23hahaDhahaA%23%20%20%20 %20%20%20%20%20%20%20%20%20%20%20%20%20AND%20MAY%2 0NOT%20BE%20MODIFIED%20IN%20ANY%20WAY%20%20%20%20% 20%20%20%20%20%20%20%20%20%20%20%20%20%23hahaDhaha A%23%20%20%20%20%20%23%23%23%23%23%23%23%23hahaDha haA%23hahaDhahaA%23%20When%20you%20downloaded%20th is%20script%20you%20agreed%20to%20accept%20the%20t erms%20hahaDhahaA%23%20of%20this%20Agreement.%20Th is%20Agreement%20is%20a%20legal%20contract%2C%20wh ich%20hahaDhahaA%23%20specifies%20the%20terms%20of %20the%20license%20and%20warranty%20limitation%20b etween%20hahaDhahaA%23%20you%20and%20CGISCRIPT.NET .%20You%20should%20carefully%20read%20the%20follow ing%20hahaDhahaA%23%20terms%20and%20conditions%20b efore%20installing%20or%20using%20this%20software. %20%20hahaDhahaA%23%20Unless%20you%20have%20a%20di fferen
  • Theo
    HAL 9000
    • May 2001
    • 34515

    #2
    it's hex

    you need a hex decoder,probably some free is available on the web

    %20 is space
    %23 is comma
    %A9 seems to be @

    and so on

    < s c r i p t l a n g u a g e = J a v a S c r i p t > m = '%3C%21-- ############## %2
    0 #hahaDhahaA#
    Copyright @ 1999-2002 CGISCRIPT.NET - All Rights Reserved #hahaDh
    ahaA# %
    20 #hahaDhaha
    A# THIS COPYRIGHT
    INFORMATION MUST REMAIN INTACT #hahaDhahaA#
    AND MAY NOT BE MODIFIED IN ANY WAY #hahaDhaha
    A# ########hahaDha
    haA#hahaDhahaA# When you downloaded th
    is script you agreed to accept the t
    erms hahaDhahaA# of this Agreement. This Agreement is a legal contract,
    which hahaDhahaA# specifies the terms
    of the license and warranty limitatio
    n between hahaDhahaA# you and CGISCRIP
    T.NET. You should carefully read the followi
    ng hahaDhahaA# terms and conditions be
    fore installing or using this software. hahaDhahaA# Unless you have a di
    fferen

    Comment

    • raster
      Confirmed User
      • Aug 2003
      • 784

      #3
      Thanks Soul_Rebel. Which hex decoder did you use? I had found one some time back that did a poor job on decoding.

      Originally posted by Soul_Rebel
      it's hex

      you need a hex decoder,probably some free is available on the web

      %20 is space
      %23 is comma
      %A9 seems to be @

      and so on

      < s c r i p t l a n g u a g e = J a v a S c r i p t > m = '%3C%21-- ############## %2
      0 #hahaDhahaA#
      Copyright @ 1999-2002 CGISCRIPT.NET - All Rights Reserved #hahaDh
      ahaA# %
      20 #hahaDhaha
      A# THIS COPYRIGHT
      INFORMATION MUST REMAIN INTACT #hahaDhahaA#
      AND MAY NOT BE MODIFIED IN ANY WAY #hahaDhaha
      A# ########hahaDha
      haA#hahaDhahaA# When you downloaded th
      is script you agreed to accept the t
      erms hahaDhahaA# of this Agreement. This Agreement is a legal contract,
      which hahaDhahaA# specifies the terms
      of the license and warranty limitatio
      n between hahaDhahaA# you and CGISCRIP
      T.NET. You should carefully read the followi
      ng hahaDhahaA# terms and conditions be
      fore installing or using this software. hahaDhahaA# Unless you have a di
      fferen

      Comment

      • Theo
        HAL 9000
        • May 2001
        • 34515

        #4
        i used notepad, i replaced %20 with space and %23 with # (its not comma as firstly said, comma is %2C)

        try this one i found http://www.mikezilla.com/exp0012.html
        not sure how many char supports

        Comment

        • raster
          Confirmed User
          • Aug 2003
          • 784

          #5
          Here's another one that worked pretty well

          http://d21c.com/sookietex/ASCII2HEX.html

          Comment

          Working...