var \x01 = -712 + \x04\x05();
for (\x01 = eval("\x01") + 242; eval("\x01") == 765; \x01 = eval("\x01") - 27)
{
}
Is this valid ActionScript? If so what does it doo?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, if it came fron an ActionScript file then yes, it probably does work.
It’s certainly consistent in its use of strange identifiers for variables and functions. That means it’s almost certainly been passed through an obfuscator of some sort to make it harder to do exactly what you’re trying to do (decompile it is my guess but I may be wrong).
I’m not entirely sure that it does anything useful in its current form since there’s no body in the
forloop. But the code itself seems to:\x01to whatever the function\x04\x05()returns less 712.\x01until it’s not 765 (these seems unusual – terminating conditions are usually inequalities rather than equalties – in this case it seems that the loop will only execute once since you change\x01each time through the loop).Basically, with obfucated code, you should just replace the weird identifiers with more sensible ones to see if makes sense. That’s a good first step to understanding the code (but probably not the only step required).