Linux Privilege Escalation Techs through sudo and environment variables | TryHackMe

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

КОМЕНТАРІ • 4

  • @temp183
    @temp183 3 роки тому +6

    The iftop !/bin/sh method does work, you press '!' to enable the command feature in iftop and then type '/bin/sh' without the '!'. You entered '!/bin/sh' as the command, which is why it was complaining about not finding a not a valid file called '!/bin/sh'. Good video though! :)

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

    Really appreciate all your videos!

  • @KaranYadav-mb7tl
    @KaranYadav-mb7tl 2 роки тому +1

    What is -fpic and -shared in gcc command please explain me bro

    • @wolfrevokcats7890
      @wolfrevokcats7890 10 місяців тому

      -fpic (Position Independent Code): This tells the compiler to make code that can run from any memory location. It's useful for creating shared libraries.
      -shared: This instructs the compiler to create a shared library instead of a regular program.
      Combining these options is common when making shared libraries