[Finally] Accomplished XOR Obfuscation. 09-21-2014, 08:23 AM
#1
Hey,
You'll all have seen @Reiko's tutorial here. [link]
Well, after going over it half a dozen times, I finally understood it enough to have a go:
What I encoded was:
Yeah, pretty simple but I just wanted to see if I could do it.
Now, as Reiko said, XOR is associative. So, if 'p^.=^', then '.^^=p'.
And that's how we get p.
Continuing the process, r=)^[ etc..
The whole thing, altogether is:
I'm pretty amazed I was able to do it, apparently it was difficult. It's time consuming, but not difficult. Try it yourself.
Eclipse
You'll all have seen @Reiko's tutorial here. [link]
Well, after going over it half a dozen times, I finally understood it enough to have a go:
What I encoded was:
PHP Code:
print $_;
Yeah, pretty simple but I just wanted to see if I could do it.
Now, as Reiko said, XOR is associative. So, if 'p^.=^', then '.^^=p'.
And that's how we get p.
Continuing the process, r=)^[ etc..
The whole thing, altogether is:
PHP Code:
$test=("."^"^").(")"^"[").("@"^")").("@"^".").("]"^")").("~"^"^").("_"^"{").("{"^"$").("@"^"{");
#........p.........r.........i.........n.........t........... .........$.........._.........;
I'm pretty amazed I was able to do it, apparently it was difficult. It's time consuming, but not difficult. Try it yourself.
Eclipse














![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)



![[Image: CDUAq9d.png]](http://i.imgur.com/CDUAq9d.png)








![[Image: aecf094ad9.png]](http://puu.sh/bI0eH/aecf094ad9.png)


It's really not that complicated though.