NFS Protocol Explained | TryHackMe Network Services 2

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

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

  • @leandrocredo1842
    @leandrocredo1842 2 หลายเดือนก่อน +1

    As a beginner, I really appreciate the way you teach us. By focusing on hands-on experience first and then addressing questions afterward, it helps us better recall and understand what we're doing.

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

      Compared to other TH-camrs, who often dive into advanced technicalities, I have no idea where the hell they get those commands from. You, on the other hand, stick to what's provided, and I really appreciate that.

  • @Skaxarrat
    @Skaxarrat 3 ปีที่แล้ว +15

    To everybody trying to solve this challenge and having an issue with running ./bash -p:
    1) Download the bash script into your computer via webiste, NOT by using the wget commando on terminal. It will mess up your file
    2) Use copy to copy the file to your mounted folder (cp bash /tmp/mount)
    3) Thenm MOVE the file inside cappucino (mv bash cappucino/)
    4) Apply the chmod changes (chmod +s bash and chmod +x bash)
    5) Check everything is fine with ls -la bash
    6) Run the script with ./bash -p

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

      Thank you! This had me stumped.

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

      aye, i've tried downloading it from the website. Had some noise on screen for a few seconds and then it went away? Did i just get fucked or is the VM acting up? This sucks rn lol

  • @KindvanLig
    @KindvanLig 3 ปีที่แล้ว +14

    Thanks for this! I was stuck for days because the instructions in the room are so cryptic and I couldn't envision their execution.

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

      same! says to add SUID bits with +s...but doesnt mention anythin about +x bits that it needs too!

  • @djshiva
    @djshiva 3 ปีที่แล้ว +4

    I have been stuck on Task 4 for AGES. Thank you for helping!

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

    VERY helpful & quick, thank you!

  • @MSP_-wp5fb
    @MSP_-wp5fb 3 ปีที่แล้ว +5

    Finding this channel is like finding a pot of gold

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

      hahahaha yes :D

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

    Thank you very much, liked every video and subbed

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

    So I'm assuming we can't just use attack box with this one... right?
    EDIT: Nvm! Just type wget and it will download to your attack box

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

    hii.. i got a two questions :
    1- are u setting ur network NAT or Bridged for tryhackme uses ?
    2- i got a problem when i nmap a room a always got ports filtred while when i watch a walkthrough they don't get filtred ports also when igot a the port 80 open i cannot acess the site vio ip:80 or sometimes i can access it but i got no images in it
    i need help plz !!

  • @opeyemibalogun6486
    @opeyemibalogun6486 3 ปีที่แล้ว

    thanks so much, this is really helpful. I was stuck and didn't bother to check again not till my card was charged for renewal today 🤣🤣

  • @pauld2559
    @pauld2559 3 ปีที่แล้ว +7

    Okay guys should anybody stumble upon this problem with the BASH NOT EXECUTING, I might know why that is happenning to you.
    1. Check on your SSH machine if the bash in fact has root privileges. (even though I set the SUID bit, it was showing up as cappucino)
    2. Make sure that you DONT copy the bash from the download folder directly into cappucino, because this will cause the problem above(not being root) --> yeah I know that makes sense but when you follow the instructions from TryHackMe you might mess up
    3. Do it exactly like he does in the video --> cp it to /tmp/mount/ (or whatever your mounting point is, BUT NOT INTO CAPPUCINO DIRECTLY), from there you want to MOVE the bash with mv into cappucino and now set the SUID and give it execution rigths.
    4. ENJOY --> You will now be able to execute the bash and get the flag with..
    This took me several hours to figure out this mistake I made so I hope you dont have to search for too long.
    Have a nice day gentlemen

    • @MotasemHamdan
      @MotasemHamdan  3 ปีที่แล้ว

      Thanks for the useful insights

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

      I followed the above instructions, after I run ./bash -p, it still shows syntax error near unexpected token 'newline'. Help please

    • @VagrantAce
      @VagrantAce 3 ปีที่แล้ว

      I can confirm this solved my problem

    • @rg3_abiding
      @rg3_abiding 3 ปีที่แล้ว

      Thanks Paul D! I wish I had seen your post earlier.

    • @unclehoop3554
      @unclehoop3554 3 ปีที่แล้ว

      @Random Videos Just saw this reply. Hmm, I totally forgot about this thread haha. So no

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

    Thanks man, I did not understand something and you managed to clarify it for me

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

    Thank you so much, explanations are so useful and valuable !

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

    What are your VMware Settings?
    I had trouble mounting the share using VMware. ( Under Network settings I've tried changing to Bridged? and NAT?)
    When I use the THM Browser Attack Box everything works.
    I would like to use a hyper-visor because I would feel like a kO0l person.

  • @Z3kyTw0
    @Z3kyTw0 3 ปีที่แล้ว

    Love the Linux font theme!

  • @ashishshivhare2574
    @ashishshivhare2574 3 ปีที่แล้ว

    thanks for explaining this👍
    very informative video
    love you from india ❤️

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

    It was all fine and dandy for me but how was I supposed to know that besides having to give it the SUID bit I also had to give it the executable permission? (+x) That was not explained at all in the room! Or did I miss something?

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

      The bash didnt run for me after I set SUID and gave executable permission. Any Idea?

    • @praisong7475
      @praisong7475 3 ปีที่แล้ว

      Nvm found it

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

      @@praisong7475 what was it? having the same issue here

    • @Skaxarrat
      @Skaxarrat 3 ปีที่แล้ว

      Well, you are going to execute a file, so it is only logic that should have an executing permission. (And this is not the best room to learn the basics, that's why I'm here)

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

    Thank you !

  • @ssvenn
    @ssvenn 3 ปีที่แล้ว

    Thank you for the great walk-through!

  • @pauraspatil9314
    @pauraspatil9314 3 ปีที่แล้ว

    Nicely Explained! Thanks Man:)

  • @Lenardius
    @Lenardius 3 ปีที่แล้ว

    what I properly understand was after running ./bash -p and went id in the end. you highlighted egid(root) may I have an explanation as to why it worked? what is significant egid

    • @MotasemHamdan
      @MotasemHamdan  3 ปีที่แล้ว

      When you escalate privileges after running a SUID or SGID bit binary, you get egid=root as an indication of successful escalation

  • @bhaskardahal100
    @bhaskardahal100 3 ปีที่แล้ว

    Very informative

  • @parthibanakt7090
    @parthibanakt7090 3 ปีที่แล้ว

    im in last steps while im giving ./bash not getting into interactive shell..! Simply nothing shows. how do get into bash interactive shell?

  • @TheMagnificentArtist
    @TheMagnificentArtist 3 ปีที่แล้ว

    I’m doing the same thing your doing but it’s slow for me. How can I make It go faster?

    • @MotasemHamdan
      @MotasemHamdan  3 ปีที่แล้ว

      you can use the -T options to speed up your scan. -T0 slowest and -T5 fastest.
      see more
      nmap.org/book/performance-timing-templates.html

  • @snoden8971
    @snoden8971 3 ปีที่แล้ว

    Thank you, very good explanation

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

    Thank you very much

  • @goldeneagle5361
    @goldeneagle5361 3 ปีที่แล้ว

    How do you download Bash using the attackbox on Tryhack me?

    • @KindvanLig
      @KindvanLig 3 ปีที่แล้ว

      I manually typed in the URL from a walkthrough like an idiot. But I got the flag in the end. Couldn't find the URL when Googling through the attack box's Firefox

    • @hunanies
      @hunanies 3 ปีที่แล้ว

      I'm having this issue too.

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

    When I type ./bash -p it spits out syntax error line7 (newline!)

    • @isaacclarke4537
      @isaacclarke4537 3 ปีที่แล้ว

      but instead of using this I could still use, "sudo cat /root/root.txt" and it gives me the flag. So I dont know what's wrong?

    • @LouisSerieusement
      @LouisSerieusement 3 ปีที่แล้ว

      @@isaacclarke4537 because you didn't uploaded the good bash file (I did the same somehow, I used wget to download the bash and somehow I mistaken another bash for the right bash I think)
      Download it again

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

      Download the video via website, not by using 'wget LINK'. It took me a while...

    • @LouisSerieusement
      @LouisSerieusement 3 ปีที่แล้ว

      @@Skaxarrat good point

  • @bhaskardahal100
    @bhaskardahal100 3 ปีที่แล้ว

    Sukran.. habibi

  • @pyro1656
    @pyro1656 3 ปีที่แล้ว

    great video thankyou

  • @kamalsharma3289
    @kamalsharma3289 3 ปีที่แล้ว

    thanks brother

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

    Thanks

  • @mayhem1994
    @mayhem1994 3 ปีที่แล้ว

    keeps asking for a password what should i do

  • @essabreahmed1391
    @essabreahmed1391 3 ปีที่แล้ว

    Thank you

  • @Kettz
    @Kettz 3 ปีที่แล้ว

    Thanks man

  • @konradwerner4134
    @konradwerner4134 3 ปีที่แล้ว

    🤔Confusing