⚡
Blog
  • 💲cat ~/README.md
  • CTF
    • GCTF 2023
      • Cryptography
        • Layers of Bases
      • Miscellaneous
        • Master Hidden Within The Slides
      • Pwn
        • Level 1
        • Level 2
        • Level 3
        • Level 4
      • Web
        • Include
    • KnightCTF 2023
      • Networking
      • Miscellaneous
      • Cryptography
        • Factorie
        • Xorathrust
    • Siber Siaga 2023 CTF
  • CAMP
    • Global Cybersecurity Camp 2023
    • Malaysia Cybersecurity Camp 2022
  • CONFERENCE
    • Brewing...
  • WRITE-UP
    • TryHackMe - Attacktive Directory Write-up
Powered by GitBook
On this page

Was this helpful?

  1. CTF
  2. KnightCTF 2023

Miscellaneous

PreviousNetworkingNextCryptography

Last updated 7 months ago

Was this helpful?

Logger

First, we were given a log file.

Checking the file type showed that it was a text file.

Upon opening the file, there was a total of 10,000 logs. I wasn’t really sure what was the meaning of each line, hence, I copied one of them and pasted it in ChatGPT.

The respond was as follow.

I further questioned on the response code as this was not the usual HTML response codes that I have seen, such as 2xx, 3xx, 4xx and 5xx. The ChatGPT’s response told me that it could be a custom response code.

Therefore, I asked the bot to try and find out from which software it was.

Since the previous response mentioned that it was not a typical HTTP log entry, I asked whether it could find out the type of log entry. However, the AI bot seemed to face some difficulties.

I decided to googled for possible solutions, and here’s what I have got. After some explorations, the last link showed in the figure below did helped.

This was the command in the website that worked for me.

The output returned the flag.

Final flag: KCTF{wr1nkl3_1n_71m3}