A Challenge? [message #54702] |
Tue, 10 July 2007 09:23  |
Conor
Messages: 138 Registered: February 2007
|
Senior Member |
|
|
pro hello
idl = $
'----- |\ | ' + $
' | | \ | ' + $
' | | )| ' + $
' | | / | ' + $
'----- |/ |___'
pt = transpose(rebin(reform(byte(idl),5,14),1,14))
dni = [$
[ 8, 5, -1, 7, -9, 3],$
[ 10, -7, 3, 3, 9, -8],$
[ 6, 5, 6, -1, 7, -9],$
[ 7, 11, 14, 12, -4, -8],$
[ 0, 10, 10, -9, 1, -7],$
[-11, 0, 7, -5, 7,-11],$
[ 6, 0, -6, -5, 1,-11],$
[ 10, -3, 4, -3, 3, -3] ]
tp = float(pt[abs(dni)])
tp[where(dni ne 0)] *= (dni[where(dni ne 0)]/abs(dni[where(dni ne
0)]))
tr47 = transpose(rebin(tp,1,8)*6)
a=[1852404336,1953705076,1735289202,1954112040,1920215141,69 0566964]
res=execute(string(byte(a,0,24)))
end
first one to figure out how it works wins. I expect it won't take
very long though :( This is my first attempt at obfuscated anything,
and I don't think idl is very good for obfuscated programming. I'm
hoping though that one of the experts out there might prove me wrong
about that last point :)
|
|
|
Re: A Challenge? [message #54831 is a reply to message #54702] |
Wed, 11 July 2007 07:13  |
Paolo Grigis
Messages: 171 Registered: December 2003
|
Senior Member |
|
|
Conor wrote:
> On Jul 11, 5:22 am, Craig Markwardt
> <craigm...@REMOVEcow.physics.wisc.edu> wrote:
>> Conor <cmanc...@gmail.com> writes:
>>> res=execute(string(byte(a,0,24)))
>> Of course the EXECUTE() call is the giveaway right there. Thankfully
>> you didn't bury a command like "FILE_DELETE, '.', /RECURSIVE" in the
>> obfuscated string. Now *that* would have been quite a challenge.
>>
>> Craig
>>
>> --
>> ------------------------------------------------------------ --------------
>> Craig B. Markwardt, Ph.D. EMAIL: craigm...@REMOVEcow.physics.wisc.edu
>> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
>> ------------------------------------------------------------ --------------
>
> Now that would have been quite mean. I really hope there's no one
> that spiteful around here. The execute definitely is the give away,
> and sadly I couldn't figure out a way around it. Maybe one of these
> days I'll figure out how to hide the function name...
I was going to suggest something like
a='execute'
string='print,1'
dummy=call_function(a,string)
but this segfaults consistently on LINUX & SUN ...
Ciao,
Paolo
>
|
|
|
Re: A Challenge? [message #54832 is a reply to message #54702] |
Wed, 11 July 2007 05:28  |
Conor
Messages: 138 Registered: February 2007
|
Senior Member |
|
|
On Jul 11, 5:22 am, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> Conor <cmanc...@gmail.com> writes:
>> res=execute(string(byte(a,0,24)))
>
> Of course the EXECUTE() call is the giveaway right there. Thankfully
> you didn't bury a command like "FILE_DELETE, '.', /RECURSIVE" in the
> obfuscated string. Now *that* would have been quite a challenge.
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL: craigm...@REMOVEcow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------
Now that would have been quite mean. I really hope there's no one
that spiteful around here. The execute definitely is the give away,
and sadly I couldn't figure out a way around it. Maybe one of these
days I'll figure out how to hide the function name...
|
|
|
Re: A Challenge? [message #54834 is a reply to message #54702] |
Wed, 11 July 2007 02:22  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
Conor <cmancone@gmail.com> writes:
> res=execute(string(byte(a,0,24)))
Of course the EXECUTE() call is the giveaway right there. Thankfully
you didn't bury a command like "FILE_DELETE, '.', /RECURSIVE" in the
obfuscated string. Now *that* would have been quite a challenge.
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|