File Inclusion - TryHackMe Junior Penetration Tester 3.6

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

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

  • @BrockRosen
    @BrockRosen  7 หลายเดือนก่อน +1

    Check out my new song! - "Prelude" th-cam.com/video/UUi1af8rxjo/w-d-xo.html

  • @AndrewCrawford-d5j
    @AndrewCrawford-d5j 10 หลายเดือนก่อน +3

    You made it look easy but from the comments I see I wasn't the only one struggling on this one

  • @sebastianwar7936
    @sebastianwar7936 4 หลายเดือนก่อน +6

    Really feels like between start and end, we were missing 2-3 more learning modules.

  • @michaelboyd9183
    @michaelboyd9183 ปีที่แล้ว +6

    Great walkthrough! This room had me stumped for a long time!

  • @rowanmurphy5239
    @rowanmurphy5239 7 หลายเดือนก่อน +3

    I have absolutely no idea where you're getting FoxyProxy out of Burp Suite, I did exactly what you did, and it won't even open anything. Even after I handle the error message that tells me to change a setting. Nothing happens. It just sits there like I didn't press the Open browser button. And THM did not explain almost anything in this entire module.

  • @jamest3145
    @jamest3145 10 หลายเดือนก่อน +3

    Excellent video. I don’t think the content on THM has enough help for people new to computing so this is very good to give some help. This is a hard room

  • @motokoiwakura
    @motokoiwakura หลายเดือนก่อน

    Thank you for this, so clear and concise. Your teaching style is beautiful and to the point - great educational tips and notes throughout the video, your editing was so well done... I appreciate you so much, thank you brotha!

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

    Thanks, this was a good learning resource you explain the concepts clearly.

    • @BrockRosen
      @BrockRosen  11 หลายเดือนก่อน +1

      I try!

  • @g91g91
    @g91g91 3 หลายเดือนก่อน

    For the challenge (lab2), that we can use the cookie to alter from Guest to admin I got on my own, and the file inclusion after you showed it could be done to the cookie. But could you explain why it is possible to alter the cookie to include the file? What triggers you to try that?

  • @Richard-zw9sl
    @Richard-zw9sl 2 หลายเดือนก่อน

    28:06 why did you do 5 ../? How do you know how many to use?

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

    I wish to see your account florish, Great Help!!

  • @cptvasilyzaytsev9245
    @cptvasilyzaytsev9245 11 หลายเดือนก่อน +1

    Great video. I have spent hours on challenge #3 going down rabbit holes. I appreciate the simplicity of the answer now haha. Is there a specific reason as to why you specified a POST method in the -d (HTTP POST data) flag?

    • @BrockRosen
      @BrockRosen  11 หลายเดือนก่อน +1

      All GET requests were being sanitized (what the hint was trying to tell us), so we only needed to change the method and kazaam, the flag pops out. Overall, POST requests are more flexible when a user submits data or files to a server whereas GET is great for saving and coming back to website parameters you've changed

    • @cptvasilyzaytsev9245
      @cptvasilyzaytsev9245 11 หลายเดือนก่อน

      Ok, thanks for clarifying! Does it matter if you specify the method with the -X option, or with the -d option?@@BrockRosen

    • @BrockRosen
      @BrockRosen  11 หลายเดือนก่อน +1

      No, I don't think it matters. @@cptvasilyzaytsev9245

    • @cptvasilyzaytsev9245
      @cptvasilyzaytsev9245 11 หลายเดือนก่อน

      Ok, great. Thanks for confirming. I appreciate the comments!@@BrockRosen

  • @leonstone3443
    @leonstone3443 8 หลายเดือนก่อน +1

    hey thanks! you helped me understand better and i finished on my own after the first question! edit. nvm, when i got the challenges part i crapped my pants and came back

  • @frybait0626
    @frybait0626 8 หลายเดือนก่อน

    On the Challenge lab#1 it says "The input form is broken! You need to send `POST` request with `file` parameter!" why is it that you're specifying again the method to "GET" ?

  • @Toad963
    @Toad963 10 หลายเดือนก่อน +6

    Is it just me or is this room far more confusing than the others?

    • @BrockRosen
      @BrockRosen  10 หลายเดือนก่อน +2

      It’s not just you! 😂

    • @____-tx6nl
      @____-tx6nl 9 หลายเดือนก่อน

      At the last challenge, I almost got to the point where I think I'm to dump for this shit I quit THM

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

    Thanks a lot, I got stuck in this room for a long time

    • @BrockRosen
      @BrockRosen  11 หลายเดือนก่อน

      Glad I could help!

  • @suhanichoudharry
    @suhanichoudharry 8 หลายเดือนก่อน

    can u tell which editing software you used ?

  • @recon0x7f16
    @recon0x7f16 11 หลายเดือนก่อน

    i dont follow at @19:35 i don't understand wdym by how php or file type to pass to the include function.

  • @mr.meatbeat9894
    @mr.meatbeat9894 ปีที่แล้ว

    Thanks man, this really helped. Great explanations. Enjoy the sub.

    • @BrockRosen
      @BrockRosen  11 หลายเดือนก่อน

      Thanks for the sub!

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

    Is anyone else having problems with loading burpsuite? 38:15, I get an error message when I try to press open a browser. I fix that by allowing burp to run without a sandbox but when I turn on the burp from foxyproxy, my page cannot refresh. It's like I am disconnected from the internet when I turn on burp from foxyproxy. I did exactly what he did in the video but either some updates were made or something else cause I cannot access the burpsuite the same as this video.

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

      I've ran into the exact same problem however once you start the browser sometimes you need to send the payload which is why it exists in the first place I believe. Pretty sure you've done all the hard work there, you can see "intercept is on" within the suite which means that it wont load the page until youve told it to. To fix that, every time the page refreshes with intercept, you need to click the "forward" button to connect to the next page within the browser.

  • @SLILLZ718
    @SLILLZ718 6 หลายเดือนก่อน

    Can you set the cookie from the developer tools in the browser instead of using the burp suite?

    • @g91g91
      @g91g91 3 หลายเดือนก่อน

      Yes, I did that

  • @harshbali7377
    @harshbali7377 9 หลายเดือนก่อน

    Bruh this lab reminded me of the movie Inception -..-

  • @g91g91
    @g91g91 3 หลายเดือนก่อน

    Another question for flag3 (I haven't really used burp that much before). I tried to use burp instead of curl in the terminal. When I alter the GET request and add the same directory, the error request i get back just says include(.php). (I've changed it to POST /challenges/chall3.php?file=../../../../etc/flag3%00 in burp

    • @user-dk9xn2ys6k
      @user-dk9xn2ys6k 2 หลายเดือนก่อน

      Hello there. I ran into the exact same issue on flag 3. I did a bunch of digging and here is what I found ... (I was using postman not burp). In postman you can see the specific cURL command that the parameters that you set are generating. The postman cURL generated was: curl --location --request POST 'ATTACKBOXIP/challenges/chall3.php?file=../../../../etc/flag3%00' Instead of curl -X POST ATTACKBOXIP/challenges/chall3.php -d 'method=POST&file=../../../../etc/flag3%00' --output -
      The Key difference is that even though you said you wanted the request to be a POST via burp the URL is what contains the data which is still technically a GET request not a POST request. GET is getting filtered by the server. Using the cURL command line command allowed you to SPECIFICALLY say that you wanted the data to be sent as a POST request and not a GET request in the URL. Is there a way to do this via postman/Burp? Probably, but not as a default setting - I would need to learn more about the client settings for this.