NucuLabs.dev

Share this post

HackTheBox: Reversing: The Art Of Reversing

nuculabs.dev

Discover more from NucuLabs.dev

Programming, Cloud and Engineering! 👨‍🔬
Continue reading
Sign in

HackTheBox: Reversing: The Art Of Reversing

Denis Nuțiu
Sep 8, 2018
Share this post

HackTheBox: Reversing: The Art Of Reversing

nuculabs.dev
Share

The Art of Reversing challenge was a fun and quick challenge! I did get the flag but I did not write a keygen for it, I didn't even need to look under the hood in order to get the flag. The scheme is very simple actually.

The days are represented by roman numbers. The letters are not the original and the number is read from right to left.

Fuzzing with the input you can deduce the following values:

d = 100 m = 50 y = 10 wj = 4 w = 5 j = 1

The value of 365 in this weird format would be: wymddd =100*3+50+10+5

If we try random inputs in order to solve for the username, we can see that the output is just permuted in some way

c  a t h h t  k e e p a l  n Input:    1 2 3 4 5 6 7 8 9 A B C D Output: 3 2 5 6 1 D 4 C 7 8 A 9 B

And the flag: hacktheplanet365

Share this post

HackTheBox: Reversing: The Art Of Reversing

nuculabs.dev
Share
Previous
Next
Comments
Top
New

No posts

Ready for more?

© 2023 NucuLabs.dev
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing