Network Services 2 TryHackMe Part 1 NFS

Поділитися
Вставка
  • Опубліковано 24 жов 2024

КОМЕНТАРІ • 80

  • @ktahack8064
    @ktahack8064 2 роки тому +11

    oh my god, this room was too hard. Thanks much for make this videos!!!

  • @neoleonard7544
    @neoleonard7544 2 роки тому +5

    Hey Mr Ash, i'm new to this and watching your videos has helped me alot. I'm really inspired to learn and re-learn all the room that i've done!! amazing stuff you're doing.

  • @rebycfa5673
    @rebycfa5673 2 роки тому +14

    the nfs was the hardest for me so far lol. did it at 4 am and was sleepy

    • @xavierdupuis2719
      @xavierdupuis2719 Рік тому

      same thing here haha

    • @ShadowNoIT
      @ShadowNoIT 6 місяців тому +1

      I agree! This is the biggest hurdle I've seen in my THM path. Grateful for the resources.

  • @ShadowNoIT
    @ShadowNoIT 6 місяців тому +2

    I'm not even halfway done with this video & had to show love. Extremely helpful for a Linux newbie.

    • @mrashco
      @mrashco  4 місяці тому +1

      Awww thanks for the message ♥️

  • @amyjohnson4725
    @amyjohnson4725 Рік тому +1

    I've referred back to your videos a ton when running into complications (just as you did here). Thanks for the help!

    • @mrashco
      @mrashco  Рік тому

      That's awesome, glad the vid helped you out. I appreciate you leaving a comment!!

  • @phang93
    @phang93 Рік тому +4

    Thank you for the walkthrough. I got some issues at the end of the room but thanks to you I found out my mistakes. :)

    • @mrashco
      @mrashco  Рік тому

      No worries! Glad you got through the room, keep on going and have a nice holiday 😀

  • @netcastr22
    @netcastr22 Рік тому +1

    Definitely helped out with your video but man this one had me stumped but I was able to figure out what I was doing wrong on some occasions. I didn't go along with some of the extra tricks you had just so I don't get further lost but please continue to share more videos.

    • @mrashco
      @mrashco  Рік тому +1

      Glad you got there in the end! And good on you for keeping it simple, there's nothing wrong with that.
      Appreciate you leaving a comment, I'm currently doing the Advent of Cyber 2022 event. If you've got time, it's worth doing! I've learnt heaps in such a short time.

  • @jaybiddy955
    @jaybiddy955 Рік тому +1

    This was the first network hacking exercise i really struggled with thank you for the video and the free python lesson 😅

    • @mrashco
      @mrashco  Рік тому

      No worries! Glad I could be of assistance.

  • @swiftrouge3231
    @swiftrouge3231 22 дні тому

    You're a legend, mate! 🌟

  • @Sparkling.Sylveon
    @Sparkling.Sylveon 3 місяці тому

    Another banger M8, thx 4 the great content!

  • @ademolaadebambo9475
    @ademolaadebambo9475 Рік тому +1

    Thank you for this. I had a problem with the bash file. Using wget changes the permissions on the file. Likewise using the cp command. So, what I did was to add the -p to preserve the permissions when copying to the mount folder

    • @mrashco
      @mrashco  Рік тому

      Ayyye, thanks for letting me know. Always keen to learn new flags/switches for commands.

    • @YukisomeVideo
      @YukisomeVideo Рік тому

      I was trying to find what -p mean.... thank you. where can i look this up in any documentation?

    • @mrashco
      @mrashco  Рік тому

      Most commands have a manual page, aka a man page. If you use `man $command` or try either `-h` or `--help` after the command you'll most likely get a help page for the command you're trying to use. Or there's websites that list out what each command does... Can't remember them off the top of my head tho.

  • @JavierCollazo-ok8di
    @JavierCollazo-ok8di 11 місяців тому

    dude! awesome video keep up the funny yet informational content! you are a life saver my friend good on ya!!

    • @mrashco
      @mrashco  11 місяців тому

      Aw thanks for the comment. When education is fun, it's the best. Appreciate you

  • @chaya6344
    @chaya6344 Рік тому +1

    Thank you for the python3 server way, I liked the other perspective.

    • @mrashco
      @mrashco  Рік тому +1

      No worries. I've recently learnt how to do it with nc too. But I still like the python web server way more.

  • @DatMemeBoi1738
    @DatMemeBoi1738 9 місяців тому

    This is an awesome guide - Really appreciate the content!

    • @mrashco
      @mrashco  8 місяців тому

      Glad it was helpful!

  • @kevinalvarez8847
    @kevinalvarez8847 9 місяців тому

    Your TryHackMe's videos are amazing!

    • @mrashco
      @mrashco  8 місяців тому

      Awww thank youuu!

  • @paythet0ll
    @paythet0ll 8 місяців тому

    I see you are doing this work while inside of another room. is this an add on/mod that you use?

  • @kamalsharma2839
    @kamalsharma2839 Рік тому

    Amazing content buddy. At 25:30, while doing ssh why was cappuccino chosen as user to login? Cappuccino was a mount

    • @mrashco
      @mrashco  11 місяців тому +1

      Yeah they've used the same name as a user and a mount

  • @wertkus
    @wertkus 2 роки тому +11

    that was not a beginner-friendly.

  • @WolfIonGaming
    @WolfIonGaming 2 роки тому +3

    Hope someone can help with this one I am not sure why but when I do ./bash -p nothing happens. I did exactly how its suppose to be for the bash file. I did chmod +s /tmp/mount/cappucino/bash then chmod +x bash, though for some reason I get groups are able to write on bash so what I do is chmod g-w to remove write on groups but for some reason nothing happens after the bash command. Any help would be appreciated!

    • @djdookiefruit4526
      @djdookiefruit4526 2 роки тому +1

      same

    • @smarteasyaccessories9974
      @smarteasyaccessories9974 2 роки тому +1

      same here I was able to get the bash file over through copying it to /home directory but cant get it to the exact file number for bash which has root privileges. The hardest task so far....

    • @mrashco
      @mrashco  Рік тому

      Hey, sorry for the late reply, this message slipped through the UA-cam comment cracks. How did you go, did you get it working?

    • @LoneWolf5960
      @LoneWolf5960 Рік тому +4

      This is what I did based on getting an exact answer for the "-rwsr-sr-x" part and making sure "./bash -p" gets executed on target machine on the ssh connection correctly:
      1) On your machine (your personal kali linux or similar machine) make sure you are the root (I do it using "sudo -i" personally) and you are properly mounted to the target machine on "/tmp/mount" directory.
      2) Make sure the "bash" file from Github provided by THM is added via your machine's mount point directory "/tmp/mount/cappucino", DO NOT do it though the ssh connection of the target machine. Though if you do, go to your machine to the mount point and do this: "chown root:root bash". This is essential to get the "bash" file to execute on the target machine once you assign the correct permissions. I don't know why the file works this way. BTW you should "man chown" but at a glance: "chown OwnerName:GroupName fileName".
      3) To get the exact permisson based on answer "-rwsr-sr-x" (Do this on your machine as root at mount point directory on "cappuncio/"):
      -> "chmod 644 bash" which results in "-rw-r--r--" on "ls -la bash".
      -> "chmod +sx bash" which results in "-rwsr-sr-x" on "ls -la bash".
      4) Go to the ssh connection to the target machine under the "cappucino" directory then execute "./bash -p". If you did this right, this should work. It did for me.

    • @WolfIonGaming
      @WolfIonGaming Рік тому +1

      @@mrashco Honestly I totally forgot I left this comment here haha. Anyway I will try what @GeekTechWolf did see if I can get this finally worked out. Thanks for the help everyone! 😊

  • @javi3830
    @javi3830 2 роки тому

    SUID bit permission was +x not +s then. I was fighting it until my session expired lol

  • @Randyorton98ful
    @Randyorton98ful Рік тому

    sorry for asking but i dont Understand the :home on 20:28 of your video why we need that command

    • @mrashco
      @mrashco  Рік тому +1

      That's the name of the "share" were connecting too. So it's like the folder name we want to see on the remote computer. And no need to apologise for asking!!

  • @cecilcostanza9221
    @cecilcostanza9221 2 роки тому +1

    Could not work out how to get the bash file over to the NFS share. Thanks for uploading this

    • @ooliver
      @ooliver 2 роки тому +1

      their way was so weird, you can literally just `cp` it to the mount
      which the command `cp ~/Downloads/bash .` was listed

    • @cecilcostanza9221
      @cecilcostanza9221 2 роки тому +1

      @@ooliver Yeah, I have never done that before, so it was useful getting a visual demonstration of how he solved it.

  • @smarteasyaccessories9974
    @smarteasyaccessories9974 2 роки тому

    Hi Ash...thanks for your tutorials. I am very newbee in cyber sec. Just one question, how do you create /Documents/thm/networkservices2 directory?

  • @itzyaboyj4199
    @itzyaboyj4199 8 місяців тому

    YOUR A LIFE SAVER, thank you

    • @mrashco
      @mrashco  8 місяців тому

      Naw thanks!

  • @Fish_Uber
    @Fish_Uber Рік тому

    I wish that the rooms for this path werent so bugged. I've been having issues running certain commands or options while going through and i'm not sure if im getting all the material. I used same line of code you used but for some reason my mount kept timing out and not working.

  • @platiniumcbd4942
    @platiniumcbd4942 2 роки тому

    Great video, mate!
    What shortcut do you use to clear the console and move the command line to the very top ?

    • @mrashco
      @mrashco  2 роки тому +2

      Hey thanks mate, CTRL + L, it's like using the 'clear' command. Oh and CTRL + C to cancel is useful too!

  • @Bodasen
    @Bodasen 5 місяців тому

    I have to admit, I don't really understand 100% what the point of all this was.
    1/First we get access to an NFS share, all good.
    2/With this NFS share, we find a private ssh key that helps us establish an ssh connection onto the user cappucino
    3/Then i get lost with what is root sqash and SUID, and why we do all this
    Can someone explain please?
    Thanks!

    • @monsolympus7823
      @monsolympus7823 13 днів тому

      To escalate your user privilege to root in a target machine.

  • @aldrinwong6160
    @aldrinwong6160 Рік тому

    this is great help bud!

    • @mrashco
      @mrashco  Рік тому

      Glad it's helped 😃

  • @alexyoung545
    @alexyoung545 Рік тому

    you are a legit hero

    • @mrashco
      @mrashco  Рік тому

      Idk about "hero" but thanks for the comment! Im glad the video helped!

  • @kiranchaitanya8850
    @kiranchaitanya8850 Рік тому

    Your awesome 😎

    • @mrashco
      @mrashco  Рік тому

      Awwww thanks for the encouragement!!

  • @oshadabasnayake
    @oshadabasnayake 11 місяців тому

    thanks a lot

    • @mrashco
      @mrashco  11 місяців тому

      You're welcome! Thanks for leaving a comment

  • @draganaveljkovic8086
    @draganaveljkovic8086 3 місяці тому

    tnx

  • @MrMoomoo87
    @MrMoomoo87 2 роки тому

    Good Job :)

    • @mrashco
      @mrashco  2 роки тому

      Thanks 😁 Enjoy your Cyber Sec learning.
      If you have a second, I've started making 100daysofctfs.com I'd love your feedback. If you can't, no stress.

  • @georgiankali1225
    @georgiankali1225 2 роки тому

    great great

    • @mrashco
      @mrashco  2 роки тому +1

      Thanks for leaving a comment, appreciate it! Happy hacking...

  • @ehouaiscestdwiouaiscestbie2528
    @ehouaiscestdwiouaiscestbie2528 2 роки тому

    idk if i'm dumb or what , but i didn't went back in the file system loool

  • @ivanomaras2776
    @ivanomaras2776 2 місяці тому

    Ssh user cappucino password password with hydra sudo su ... id 0 whoami root

  • @JLo-h2o
    @JLo-h2o 8 місяців тому

    You are a big help!
    saved my bash to downloads. Used cp ~/Downloads/bash . from attack machine mount /tmp/mount/cappuccino to copy over to NFS

    • @mrashco
      @mrashco  4 місяці тому

      Awesome! Glad its working

  • @shadowsage5125
    @shadowsage5125 Рік тому

    Followed the vid to the T to see if I was doing something wrong from the room. I'm able to do the mount command but nothing shows up in the tmp/mount/ dir. I've even tried using the ip:home/cappucino to see if that would work but not successful. any tips?

    • @mrashco
      @mrashco  Рік тому

      Hmmmm dam, maybe restart the machine? I've heard people having issues with some of these older rooms.

  • @smarteasyaccessories9974
    @smarteasyaccessories9974 2 роки тому

    How can i get bash over to root directory? I am still seeing bash in Cappucino after running mv /tmp/mount/cappucino to /tmp/mount/cappucino/bash

    • @LoneWolf5960
      @LoneWolf5960 Рік тому

      Explain what you mean please in more details