Decoding, Brute-Forcing and Crafting Flask Session Cookies - "web-intro" [DefCamp CTF 2022]

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 16

  • @hishameyad5675
    @hishameyad5675 2 ปีที่แล้ว +2

    love your videos so much, keep going

    • @_CryptoCat
      @_CryptoCat  2 ปีที่แล้ว

      thanks mate 🥰

  • @hva8055
    @hva8055 2 ปีที่แล้ว +2

    Great teaching sir, i learnt new techniques today sir, but I struggle to find the version softwar names and there vulnerability in every ctf's so any suggestions sir

    • @_CryptoCat
      @_CryptoCat  2 ปีที่แล้ว +2

      Just keep going bro, you'll learn something new each time 😊 Look for any keywords you see in a challenge e.g. in this case "Flask" and "Session" popped in the error message, then search around (hacktricks is usually a good start). Don't worry though there are many, many challenges I struggle with 😅 If you never struggle, you never learn 😉

    • @hva8055
      @hva8055 2 ปีที่แล้ว +1

      @@_CryptoCat thanks a lot sir

  • @abdullahshafique3079
    @abdullahshafique3079 2 ปีที่แล้ว +2

    Beginner here, i was doing the exact same way but whenever i refreshed the page, it always shows me Access denied

    • @abdullahshafique3079
      @abdullahshafique3079 2 ปีที่แล้ว +1

      Ok so apparently it didnt work on microsoft edge but worked on opera browser

    • @_CryptoCat
      @_CryptoCat  2 ปีที่แล้ว +1

      Awww wtf 😆

    • @abdullahshafique3079
      @abdullahshafique3079 2 ปีที่แล้ว +1

      Btw thank you so much for the writeup

    • @_CryptoCat
      @_CryptoCat  2 ปีที่แล้ว +1

      @@abdullahshafique3079 np mate, thanks for watching! 🥰

  • @darshansoni4550
    @darshansoni4550 ปีที่แล้ว +1

    Is there any other way to find that secret key?

    • @_CryptoCat
      @_CryptoCat  ปีที่แล้ว

      Apart from brute force, maybe you can leak it through some errors or find hardcoded somewhere.. If you have another vuln, e.g. LFI, that would help!

    • @darshansoni4550
      @darshansoni4550 ปีที่แล้ว +1

      @@_CryptoCat I tried that template injection that {{}} thing but still didn't work maybe there is another way to solve that challenge.

    • @darshansoni4550
      @darshansoni4550 ปีที่แล้ว +1

      @@_CryptoCat nice video btw... make video on some other vulnerability of flask waiting for that

  • @S2eedGH
    @S2eedGH 2 ปีที่แล้ว +1

    Great video, but can you do it with python jwt library?

    • @_CryptoCat
      @_CryptoCat  2 ปีที่แล้ว

      Thanks! Ermm I wouldn't of thought so, presumably would show you the data like jwt.io but nothing more. You could just import the flask-unsign library into a python script instead though 😊