Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0a8af6d
Showing
4 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Obvious Kate is a trivial data obfuscator. | ||
|
||
It takes a file path as input, reads it, and outputs | ||
an array literal of UInt32, in hexadecimal. | ||
|
||
It's used in rock to maintain the ooc folklore. | ||
Your job to find it. Good luke, Luck! Huh. Good luck, Luke! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[0x20202020, 0x20202020, 0x2b202020, 0x684e4e28, 0x73684242, 0x20272b73, | ||
0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x272b7e20, 0x424e7328, | ||
0x7e3d444e, 0x2020202e, 0x20202020, 0x200a2020, 0x20202020, 0x20202020, | ||
0x282d2020, 0x68444e3d, 0x3d2b4e4e, 0x20273d2b, 0x2020202e, 0x2e20202e, | ||
0x20202020, 0x2b2e202e, 0x7e2b273d, 0x444e4e44, 0x202e3d2b, 0x20202020, | ||
0x20202020, 0x20200a20, 0x20202020, 0x20202020, 0x2d2b2e20, 0x44444244, | ||
0x44282b68, 0x20273c2d, 0x20202020, 0x2e2e2e20, 0x20202e2e, 0x202b3c2d, | ||
0x447e3d28, 0x3c2b684e, 0x20202028, 0x20202020, 0x20202020, 0x2020200a, | ||
0x20202020, 0x20202020, 0x3c2b2720, 0x424e4e4e, 0x7a3d7e3d, 0x2d3c282d, | ||
0x2b283c3c, 0x272d2728, 0x3d3c3c7e, 0x2b2e202d, 0x4e427327, 0x202b7e68, | ||
0x20202020, 0x20202020, 0xa202020, 0x20202020, 0x20202020, 0x20202020, | ||
0x3d7e2820, 0x444e4e4e, 0x42443d2b, 0x2e2d287e, 0x20202020, 0x202e202e, | ||
0x2e202020, 0x3d282e2e, 0x2b424e42, 0x202d2d73, 0x20202020, 0x4c4c4120, | ||
0x554f5920, 0x200a2052, 0x20202020, 0x20202020, 0x20202020, 0x3d2d3d2e, | ||
0x7a444244, 0x2e7e272d, 0x20202e20, 0x272e2e20, 0x2e2e202e, 0x27202e2e, | ||
0x7e272020, 0x733c3c73, 0x2e3c687a, 0x20202020, 0x20202020, 0x20200a20, | ||
0x20202020, 0x20202020, 0x20202020, 0x7e283c20, 0x2e202e27, 0x202e2020, | ||
0x732e2e20, 0x2d273d44, 0x272d277e, 0x7344442d, 0x2e202e2e, 0x737e2e20, | ||
0x20202844, 0x43202020, 0x4245444f, 0x20455341, 0x20200a20, 0x20202020, | ||
0x20202020, 0x202e2020, 0x20272b7e, 0x20202720, 0x2d282d2e, 0x42732e2e, | ||
0x287e424e, 0x3d2b7e7e, 0x4e4e4e68, 0x3c3c277a, 0x2d273d7a, 0x2020287a, | ||
0x20202020, 0x20202020, 0x20202020, 0x20200a20, 0x20202020, 0x20202020, | ||
0x2e202e20, 0x2d202e3d, 0x3c7a4444, 0x207e737e, 0x4e422720, 0x7e3d4e4e, | ||
0x68733c2b, 0x4e4e4e4e, 0x4e732844, 0x7e684e4e, 0x20202b28, 0x52412020, | ||
0x45422045, 0x474e4f4c, 0x2020200a, 0x20202020, 0x20202020, 0x3c3d2e20, | ||
0x4e4e282e, 0x44444e4e, 0x28202e73, 0x2b736868, 0x683d733d, 0x4e4e444e, | ||
0x42424e42, 0x4e423c73, 0x3c3c444e, 0x20202e3d, 0x20202020, 0x20202020, | ||
0xa202020, 0x20202020, 0x20202020, 0x20202020, 0x272d272e, 0x4e4e737e, | ||
0x2d282873, 0x27272e20, 0x2027202e, 0x4e4e7e2d, 0x282b7a44, 0x2d2d7e28, | ||
0x42737e2d, 0x2727273c, 0x2020202e, 0x4f542020, 0x21535520, 0x2020200a, | ||
0x20202020, 0x20202020, 0x20202020, 0x283d2720, 0x2d282b2b, 0x20202e2e, | ||
0x2e2e202e, 0x2b7e2d2e, 0x2e277e42, 0x272e2e2e, 0x2d27272e, 0x2020282b, | ||
0x2e202020, 0x20202020, 0x20202020, 0x20202020, 0x20200a20, 0x20202020, | ||
0x20202020, 0x20202020, 0x3d2d2020, 0x273c3c7a, 0x2e202e2e, 0x2e2e2d27, | ||
0x7e2d272e, 0x2d7e7a68, 0x27272e27, 0x7e2d2727, 0x203d3c2d, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x2020200a, 0x20202020, | ||
0x20202020, 0x20202020, 0x7e2e2020, 0x7e737e2b, 0x7a7e2020, 0x2d277e3c, | ||
0x682d2d27, 0x287e3d4e, 0x2d277e28, 0x7e282d2d, 0x207e7a7e, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0xa202020, 0x20202020, 0x20202020, | ||
0x20202020, 0x20202020, 0x28202020, 0x2e2d3c2b, 0x273d2b27, 0x7e272727, | ||
0x423d2b28, 0x7e2d2d7a, 0x3d282828, 0x7e2b732b, 0x20207328, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0xa202020, 0x54492020, 0x4f205327, | ||
0x20524556, 0x20202020, 0x27202e20, 0x2e2e2d2b, 0x2d2d3c7e, 0x2d7e2d2d, | ||
0x4273282b, 0x7a2b684e, 0x424e4e42, 0x3c2b684e, 0x2020277a, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0xa202020, 0x20202020, 0x20202020, | ||
0x20202020, 0x20202020, 0x2e202020, 0x2d272d3c, 0x2827272d, 0x423d7e3c, | ||
0x4444683d, 0x3c3c3d44, 0x3d2b2b3c, 0x3d3c2b2b, 0x2020202e, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0x3920200a, 0x20303030, 0x53475542, | ||
0x20202021, 0x2e2e2020, 0x2e7e7320, 0x3d68272e, 0x73732b2b, 0x3c3c443d, | ||
0x28422b7e, 0x3c2b283c, 0x3d7a4e3d, 0x2020202b, 0x20202020, 0x20202020, | ||
0x20202020, 0x20202020, 0x200a2020, 0x20202020, 0x20202020, 0x20202020, | ||
0x20202020, 0x2b202020, 0x27272e27, 0x444e4e2b, 0x7a2b284e, 0x73282828, | ||
0x28283c42, 0x4e682b73, 0x202b3c68, 0x20202020, 0x20202020, 0x20202020, | ||
0x2020200a, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x2d203d2e, | ||
0x287e287e, 0x7a4e447a, 0x7a2b7a2b, 0x7a444e68, 0x687a733d, 0x2b7a4268, | ||
0x20202e2b, 0x20202020, 0x44414d20, 0x5353454e, 0x2020203f, 0x20202020, | ||
0x20200a20, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x2e2b2720, | ||
0x3c737320, 0x4e3d7e27, 0x42424e42, 0x7a427a44, 0x44687368, 0x3c2b3d44, | ||
0x20202d3c, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x20200a20, | ||
0x20202020, 0x20202020, 0x20202020, 0x20202020, 0x203d2d20, 0x732b202e, | ||
0x2b282d7e, 0x68683d3d, 0x424e4244, 0x3d734444, 0x2b7a683d, 0x2020203c, | ||
0x48542020, 0x20215349, 0x20215349, 0x4d414c4c, 0x200a2141, 0x20202020, | ||
0x20202020, 0x20202020, 0x20202020, 0x2d3c2827, 0x202e2020, 0x287e7e27, | ||
0x3d3c2b3c, 0x7a733c2b, 0x73732b3d, 0x28737a68, 0x20202e2e, 0x20202020, | ||
0x20202020, 0x20202020, 0x20200a20, 0x20202020, 0x20202020, 0x20202020, | ||
0x2b2e2020, 0x20202e3c, 0x28272020, 0x287e2d27, 0x28282828, 0x282b2b3c, | ||
0x28283c3c, 0x202e203d, 0x20202020, 0x20202020, 0x20202020, 0x20202020, | ||
0x2020200a, 0x20202020, 0x20202020, 0x20202020, 0x2d2e2020, 0x202e2e2d, | ||
0x2e2e2e2e, 0x2e272e27, 0x2e272e27, 0x2e27272e, 0x2e2d272e, 0x2020202e, | ||
0x20202020, 0x20202020, 0x20202020, 0xa202020, 0xa202020] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import io/[FileReader] | ||
import structs/Array | ||
|
||
main: func(args: Array<String>) { | ||
|
||
if(args size() <= 1) { | ||
("Usage: " + args get(0) + " FILE") println() | ||
exit(0) | ||
} | ||
|
||
args each(mingle) | ||
|
||
} | ||
|
||
mingle: func <T> (path: String@) { | ||
|
||
isFirst := static true | ||
if(isFirst) { isFirst = false; return } | ||
|
||
fr := FileReader new(path) | ||
|
||
v : UInt32 | ||
max := 5 | ||
index := 0 | ||
printf("[") | ||
while(fr hasNext()) { | ||
fr read(v& as String, 0, UInt32 size) | ||
printf("0x%s", v as LLong toHexString()) | ||
if(fr hasNext()) printf(",\t") | ||
index += 1 | ||
if(index > max) { | ||
index = 0 | ||
println() | ||
} | ||
} | ||
printf("]") | ||
println() | ||
|
||
} |