Skip to main content

Canvas

We want to update our website but we are unable to because the developer who coded this left today. Can you take a look?

given html and css files

Solution

This WriteUp Solution is password protected by the flag of the challenge.

In this problem the last res string given is the flag.So we convert bytes to string.

solve.py
bytes = [0x48, 0x54, 0x42, 0x7b, 0x57, 0x33, 0x4c, 0x63, 0x30, 0x6d, 0x33, 0x5f, 0x37, 0x30, 0x5f, 0x4a, 0x34, 0x56, 0x34, 0x35, 0x43, 0x52, 0x31, 0x70, 0x37, 0x5f, 0x64, 0x33, 0x30, 0x62, 0x46, 0x75, 0x35, 0x43, 0x34, 0x37, 0x31, 0x30, 0x4e, 0x7d, 0xa]

flag = "".join([chr(b) for b in bytes])
print(flag)

After running the script we get the flag HTB{W3Lc0m3_70_J4V45CR1p7_d30bFu5C4710N}