PicoCTF Challenge: SQLiLite

August 15, 2025 PicoCTF Medium

Challenge Overview:

  • The following was the description for the challenge: SQLiLite

Deep Dive

  • Can we login?
  • First we test, the behavior of the website: SQLiLite
  • clicking the login button: SQLiLite
  • hence, we can see that, the web uses some SQL. From here; just like any other hacker. This is what i did:
    • Common payload:
        username: admin' --
        password: gibberish
      
    • The password is ignored by the use of the sql comments “--”. So everthing after the comment will be ignored: SQLiLite
  • Hence, the output: SQLiLite

The flag

  • View the source code:
    Ctrl+u
    
    • On Windows.

SQLiLite