Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31069

Re: decode hex string

From Andreas Bergmaier <andber93@web.de>
Newsgroups comp.lang.javascript
Subject Re: decode hex string
Date 2016-08-05 06:44 +0200
Organization albasani.net
Message-ID <no15jq$30e$1@news.albasani.net> (permalink)
References <xNidnc-IINPnRj7KnZ2dnUU7-fPNnZ2d@westnet.com.au>

Show all headers | View raw


Andrew Poulos wrote:
> I have some code I need to edit and the previous programmer has used
> variable names like _0x29aexe, _0x29aexf, _0x29aex10, _0x29aex11,
> _0x29aex12, _0x29aex13, _0x29aex14, _0x29aex15...
>
> My guess was that it's hex with a leading underscore but when I convert
> I get "?)®?" and the like.
>
> Did I convert it wrongly or did the person obfuscate the variable names
> even further?

No, a person did not obfuscate these variable names at all.
this is the work of a dedicated obfusciation program that chose these 
names at random to make them look as gibberish as possible.
Admittedly, it might not be completely random, there's definitely a 
pattern there, however it's not an encoding of the original but rather a 
mapping. There's nothing to convert here unless you got a hold onto that 
mapping.

  Andreas

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

decode hex string Andrew Poulos <ap_prog@hotmail.com> - 2016-08-05 10:19 +1000
  Re: decode hex string $Bill <news@todbe.com> - 2016-08-04 21:28 -0700
  Re: decode hex string Andreas Bergmaier <andber93@web.de> - 2016-08-05 06:44 +0200
  Re: decode hex string Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-05 07:53 +0200
    Re: decode hex string Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-05 08:06 +0200

csiph-web