Smart Hackers DON'T Use Terminal

Поділитися
Вставка
  • Опубліковано 29 сер 2024
  • Using the Terminal sucks; it's too basic. Let's upgrade our hacking experience with my favourite multiplexer!
    MENTIONED IN THE VIDEO:
    - Tmux: github.com/tmu...
    MY TMUX CONF FILE:
    Remap prefix key to be A instead of B
    set -g prefix C-a
    bind C-a send-prefix
    unbind C-b
    History and renaming
    set -g history-limit 10000
    set -g allow-rename off
    Search mode Vi (default is emacs)
    set-window-option -g mode-keys vi
    Changing split window keys and retain the current working directory on split
    bind \\ split-window -h -c '#{pane_current_path}' # Split panes horizontal
    bind - split-window -v -c '#{pane_current_path}' # Split panes vertically
    🎵 Where I get my Music (amazing for UA-camrs) - share.epidemic...
    PS: Some of the links in this description are affiliate links that I get a kickback from 🤝
    LinkedIn: / thegaryruddell
    X: / thegaryruddell
    Instagram: / thegaryruddell
    Website: www.garyruddel...

КОМЕНТАРІ • 68

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

    Hey, thank you for watching!
    I have a weekly cyber newsletter where I share key insights across the cyber landscape, fun tools and more. You can join for free here: www.garyruddell.com/newsletter
    See you soon!
    Gary

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

    having a window and history for each command would make enumeration so much easier. i love it

  • @jiyuhen
    @jiyuhen Рік тому +8

    NO Terminal ? I just dropped my coffee cup. I liked that cup . ;-) ... However great Video !

  • @TellNoL437
    @TellNoL437 Рік тому +7

    tmux definitely takes some getting used to. It can be beneficial when you are working on multiple tasks or networks at once.

    • @theGaryRuddell
      @theGaryRuddell  Рік тому +2

      I agree! Customise it. Master it. And you’ll never look back!

    • @TellNoL437
      @TellNoL437 Рік тому +2

      @@theGaryRuddell It took me about 3 months to really get used to it. Now it is all I use when in Linux.

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

    Gary as usual, your videos are utter gold. You are a gifted teacher and clearly love what you do. Thanks for sharing your knowledge.

  • @fammilogga
    @fammilogga Рік тому +5

    tmux and screen are very useful for remote access to leave processes running and continue the workflow at a later time. For a local VM you can just use terminal tabs, split screens and minimize the window instead of closing it. It would be much less typing and you can use nice terminals such as terminator, tilix or Konsole to have a much better experience than tmux. The only benefit of using tmux/screen for a local VM is if your DE crashes but that shouldn't happen often.

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

      Yeah for a local VM terminal tabs are fine 👍🏼

  • @PedroDiaz-pf6tf
    @PedroDiaz-pf6tf Рік тому +1

    Great video! It's good to point out that in order to make it work, once the prefix keys are pressed they must be released and then press the desired key to accomplish the task (splitting panes etc)

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

    Gary, Im using kitty, what do you think about it? Also im using a zsh with plugins like batcat and lsd. I think it may save you a lot of time when doing a machine. It also looks better ;). Btw I really learn from your videos gary, keep it up!

    • @theGaryRuddell
      @theGaryRuddell  Рік тому +3

      I'll check it out! I've never used it but it certainly looks great! Thanks Javier!

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

      kitty is very nice :-)

  • @satvikdoshi8184
    @satvikdoshi8184 Рік тому +3

    But what exactly the tmux is?
    Is tmux kind of shell?
    Or something else.
    And why we need it, if we have terminal which can manually configure ?

    • @theGaryRuddell
      @theGaryRuddell  Рік тому +3

      It’s really just a program that runs inside a normal Terminal window. You need it for detaching and attaching - which I demonstrated later in the video 🤘🏼

  • @NunoGuerreiroLive
    @NunoGuerreiroLive Рік тому +2

    @Gary Ruddell great video.
    althought the split pane code in the video description are not correct (not aligned with your video).
    Should be something like below right ?
    # Changing split window keys and retain the current working directory on split
    bind | split-window -h -c '#{pane_current_path}' # Split panes horizontal
    bind - split-window -v -c '#{pane_current_path}' # Split panes vertically

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

      Thanks I’ll investigate and update. Weird that it works fine for me on Tmux though. Thanks Nuno

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

      I figured it out.
      | and \ are on the same key. I didn't want to have to hold shift to access the | character. So I'm pressing \ technically, but it's on the same key as |.
      I hope people figure that out :)

  • @arzoo_singh
    @arzoo_singh Рік тому +3

    tmux is great why ?
    Sometimes you have to run multiple terminal as some system ,process or server may be running and you can't close it and on top of that you have to run other things.
    This is where termux comes in multiple windows in one terminal .

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

    great, great video...does tmux preserve the whole zsh config like the theme, etc? and every other tool installed for native terminal?

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

      Good question! I have no idea. I run a very out of the box system so I’ve never tested that!

  • @g-root
    @g-root Рік тому +1

    I would change the title , "Smart hacker don't use Kali" 😎

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

      😂 why not?

    • @g-root
      @g-root Рік тому

      @@theGaryRuddell Kali is overrated any skid use it, I use arch btw ;)

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

      It’s just an OS. I know lots of professionals that use it. Arch is fine too 🤷🏻‍♂️

  • @defnlife1683
    @defnlife1683 Рік тому +2

    Nice clickbait. Almost went ballistic. You had me on the first half not gonna lie.

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

      Hahahah ballistic! Great use of the word!

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

      @@theGaryRuddell had to sub.
      I usually do everything on a tiling window manager so having multiple terminals is easy, but recently I’ve really started enjoying tmux. TPM really brings it out
      Good work.

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

      Thanks pal! I appreciate the support!

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

    Ive always loved the northern Irish accent. Its so militant

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

    Lovely one man

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

    Wow. Very great. I will try it!

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

      Enjoy! It’s a nice tool! If you struggle with it, maybe try Terminator!

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

      @@theGaryRuddell oh ok very great thx!

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

    Amazing!!!

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

    me again haha when I copy your conf file, when I try to create a new window with Ctrl+a+c it just acts like i'm pressing ctrl+c and it cancels? any ideas?

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

    Good Video.

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

    Nice video. Keep up the good work.

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

      Thank you Umar! Kind words help motivate me! Glad you enjoyed it :)
      Are you a Tmux user now?

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

    I just use terminator and screen.

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

    You can do it all in your basic terminal... Just open shortcuts and read it =)

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

      You can’t close the terminal without killing running processes. Tmux let’s you detach and attach at a later date.

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

      @@theGaryRuddell Why not? Use disown for process and close your terminal if you want.. Don't make life difficult for yourself

    • @theGaryRuddell
      @theGaryRuddell  Рік тому +3

      Yeah disown is a fair challenge. But Tmux has so many more features than the basic Terminal. Server-client architecture and sharing between users etc. It’s a beast and I’ll always prefer it over Terminal.

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

    u can make it colorful and useful better of that

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

    Terminator >>>>>>>>>>>>>>>>>>>>

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

    BAITED haha

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

    I knew this was a clickbait video 🤣

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

      😂 it’s not for the people who’ve never heard of Tmux! 😜

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

    Moved to wm so, it's quite lovely and works me well🙌🙌. tmux ls for shorthand ✌️