< Return to Video

apt, dpkg, git, Python PiP (Linux Package Management) // Linux for Hackers // EP 5

  • 0:00 - 0:03
    so how do you install stuff on linux
  • 0:03 - 0:04
    like if you want to install
  • 0:04 - 0:07
    software programs or packing tools what
  • 0:07 - 0:07
    do you do
  • 0:07 - 0:09
    if you're fairly new to linux you might
  • 0:09 - 0:10
    be a bit lost don't worry
  • 0:10 - 0:12
    i got you in this video i'm going to
  • 0:12 - 0:14
    show you how to install pretty much
  • 0:14 - 0:15
    anything on linux everything from common
  • 0:15 - 0:17
    tools that everyone uses to even some
  • 0:17 - 0:19
    custom hacking stuff that other hackers
  • 0:19 - 0:19
    create
  • 0:19 - 0:21
    you can download on github how do you do
  • 0:21 - 0:31
    all that let's get started
  • 0:31 - 0:33
    this is episode 5 of linux for hackers
  • 0:33 - 0:34
    and everyone because
  • 0:34 - 0:36
    everyone needs to learn linux in this
  • 0:36 - 0:38
    episode we're covering linux package
  • 0:38 - 0:40
    management or basically how do you
  • 0:40 - 0:41
    manage all the software and the programs
  • 0:41 - 0:43
    on your linux machine and i'm going to
  • 0:43 - 0:44
    do my best to cover pretty much
  • 0:44 - 0:45
    everything so if you're looking for any
  • 0:45 - 0:47
    particular way to install something
  • 0:47 - 0:48
    check the timestamps jump to it
  • 0:48 - 0:51
    also i want you to do this with me every
  • 0:51 - 0:52
    command i type everything i
  • 0:52 - 0:54
    install do it with me the best way to
  • 0:54 - 0:56
    learn anything is hands-on
  • 0:56 - 0:59
    especially linux and you can do that for
  • 0:59 - 0:59
    free
  • 0:59 - 1:01
    right now thanks to our sponsor hack the
  • 1:01 - 1:03
    box academy get signed up for free at
  • 1:03 - 1:04
    the link in the description and you'll
  • 1:04 - 1:05
    get access to a
  • 1:05 - 1:08
    pwn box which is as cool as it sounds
  • 1:08 - 1:09
    it's basically a linux computer that you
  • 1:09 - 1:10
    can use
  • 1:10 - 1:12
    right here in your browser it's amazing
  • 1:12 - 1:13
    and it's free like
  • 1:13 - 1:15
    yeah just do it just do it also what the
  • 1:15 - 1:17
    junk is hack the box academy
  • 1:17 - 1:18
    well i like to think of them as uh
  • 1:18 - 1:20
    hogwarts for hackers you're a wizard
  • 1:20 - 1:21
    harry
  • 1:21 - 1:22
    they teach you how to become a hacker
  • 1:22 - 1:24
    from zero to whatever you need to be
  • 1:24 - 1:26
    it's awesome they also recently came out
  • 1:26 - 1:27
    with a student subscription so if you
  • 1:27 - 1:29
    are a student you get a discounted rate
  • 1:29 - 1:31
    and you get cpe credits for completing
  • 1:31 - 1:33
    tier 1 modules and above
  • 1:33 - 1:35
    it's awesome check it out link below so
  • 1:35 - 1:36
    get your pond box ready
  • 1:36 - 1:37
    grab your cup of coffee what are you
  • 1:37 - 1:40
    drinking i'm drinking
  • 1:40 - 1:42
    networkchuck.com check it out let's get
  • 1:42 - 1:43
    started oh by the way
  • 1:43 - 1:45
    have you hacked the youtube algorithm
  • 1:45 - 1:47
    today let's make sure you do like this
  • 1:47 - 1:48
    video comment subscribe notification
  • 1:48 - 1:49
    bell
  • 1:49 - 1:51
    let's hack youtube today ethically of
  • 1:51 - 1:53
    course
  • 1:53 - 1:55
    oh let's get started okay as always get
  • 1:55 - 1:57
    logged in to hack the box academy and
  • 1:57 - 1:57
    launch the
  • 1:57 - 1:59
    linux fundamentals module right here and
  • 1:59 - 2:01
    today we're going to be focusing on
  • 2:01 - 2:03
    package management which is right around
  • 2:03 - 2:05
    here so go ahead and click on that now
  • 2:05 - 2:07
    again freaking fantastic stuff right
  • 2:07 - 2:08
    here but the stuff you want to look at
  • 2:08 - 2:10
    right now with me as you follow along
  • 2:10 - 2:10
    this video
  • 2:10 - 2:13
    is right around here scroll down click
  • 2:13 - 2:15
    on start instance to start your killer
  • 2:15 - 2:16
    awesome phone box
  • 2:16 - 2:18
    and while that's brewing perfect time
  • 2:18 - 2:21
    for a coffee break
  • 2:21 - 2:22
    and mine is ready i want to jump in
  • 2:22 - 2:24
    there and get this party started so in
  • 2:24 - 2:26
    linux the stuff we want to install
  • 2:26 - 2:27
    our apps our programs like you know
  • 2:27 - 2:29
    discord or firefox or
  • 2:29 - 2:31
    minecraft anything we want to install is
  • 2:31 - 2:32
    contained in something called
  • 2:32 - 2:35
    packages we install packages packages
  • 2:35 - 2:37
    are the thing packages packages packages
  • 2:37 - 2:38
    sorry i've already had too much coffee
  • 2:38 - 2:40
    today
  • 2:40 - 2:42
    no such thing as too much how do we
  • 2:42 - 2:43
    install these packages
  • 2:43 - 2:44
    well as you may have guessed from the
  • 2:44 - 2:46
    intro it's something called a package
  • 2:46 - 2:48
    manager now there isn't just one package
  • 2:48 - 2:49
    manager of course there's not just one
  • 2:49 - 2:50
    it wouldn't be that
  • 2:50 - 2:52
    simple right it's not there are two main
  • 2:52 - 2:54
    ones we see all the time though one is
  • 2:54 - 2:55
    called dpkg
  • 2:55 - 2:57
    or d package that's the way i like to
  • 2:57 - 2:58
    say it the other you'll see all the time
  • 2:58 - 3:00
    is apt
  • 3:00 - 3:01
    apt now i'll go ahead and get this out
  • 3:01 - 3:03
    of the way apt is awesome
  • 3:03 - 3:05
    it's super easy to do you can install
  • 3:05 - 3:07
    things in a flash no worries but i'm not
  • 3:07 - 3:08
    going to show you that one just yet you
  • 3:08 - 3:09
    got to earn that you got to pay your
  • 3:09 - 3:11
    dues i'm going to show you the harder
  • 3:11 - 3:13
    way first so you can appreciate
  • 3:13 - 3:14
    what this is and what it does for us
  • 3:14 - 3:16
    don't you want to do that yes i'm
  • 3:16 - 3:17
    answering for you so first i'm want to
  • 3:17 - 3:18
    show you
  • 3:18 - 3:20
    d package or dpkg i said it right that
  • 3:20 - 3:23
    time now i say hard it's not too crazy
  • 3:23 - 3:25
    but it does look stupid compared to apt
  • 3:25 - 3:26
    it's referred to as a
  • 3:26 - 3:29
    low level package manager because it's
  • 3:29 - 3:30
    kind of and this is my opinion
  • 3:30 - 3:33
    kind of dumb i mean sure it'll do the
  • 3:33 - 3:34
    job it'll install your software it'll
  • 3:34 - 3:36
    install your packages
  • 3:36 - 3:38
    it'll uninstall or remove them but it
  • 3:38 - 3:39
    has two major
  • 3:39 - 3:41
    huge flaws that i hate so let's go ahead
  • 3:41 - 3:43
    and launch our terminal our shell
  • 3:43 - 3:45
    the green or yellow thing up here and
  • 3:45 - 3:46
    we're gonna install our first
  • 3:46 - 3:47
    application
  • 3:47 - 3:48
    discord and it's gonna be hard it's
  • 3:48 - 3:49
    gonna be difficult because we're using
  • 3:49 - 3:51
    the more difficult way of doing this
  • 3:51 - 3:53
    and already we've hit our first flaw
  • 3:53 - 3:54
    because to install this cord we have to
  • 3:54 - 3:54
    go
  • 3:54 - 3:56
    find it and download the package so
  • 3:56 - 3:57
    let's go ahead and launch our web
  • 3:57 - 4:00
    browser we'll go to discord.com
  • 4:00 - 4:02
    click on the little side panel over here
  • 4:02 - 4:03
    and click on
  • 4:03 - 4:05
    download we'll scroll down and right
  • 4:05 - 4:06
    here we have download for
  • 4:06 - 4:09
    linux click on that that's going to say
  • 4:09 - 4:11
    deb who's deb
  • 4:11 - 4:12
    i'll explain here in a minute click on
  • 4:12 - 4:14
    deb now instead of open with i want you
  • 4:14 - 4:15
    to do save
  • 4:15 - 4:16
    file just work with me here click on
  • 4:16 - 4:18
    that save file and then click ok and it
  • 4:18 - 4:20
    should go pretty stinking quick so now
  • 4:20 - 4:21
    we can close firefox
  • 4:21 - 4:22
    and get back to where we love being our
  • 4:22 - 4:24
    terminal our bash shell
  • 4:24 - 4:26
    yes first thing we want to do is get to
  • 4:26 - 4:28
    our downloads folder if we type in ls to
  • 4:28 - 4:29
    list our contents of our stuff here we
  • 4:29 - 4:31
    have a downloads folder let's cd to that
  • 4:31 - 4:32
    so cd
  • 4:32 - 4:34
    downloads type in ls to see what's
  • 4:34 - 4:36
    inside and there's our discord right
  • 4:36 - 4:36
    there
  • 4:36 - 4:39
    our discord debi when you see deb that's
  • 4:39 - 4:40
    the file extension for
  • 4:40 - 4:43
    packages and linux specifically debian
  • 4:43 - 4:43
    based
  • 4:43 - 4:45
    which is what we're on right now we're
  • 4:45 - 4:47
    using parrot os which is a debian based
  • 4:47 - 4:47
    system
  • 4:47 - 4:49
    it's sort of like exe what you see on
  • 4:49 - 4:50
    windows and
  • 4:50 - 4:52
    dmg you see with mac now if you do
  • 4:52 - 4:54
    happen to be on another linux system
  • 4:54 - 4:56
    that's maybe not debian based
  • 4:56 - 4:59
    maybe it's centos maybe it's uh opensuse
  • 4:59 - 5:02
    redhat instead of.deb you'll see rpm but
  • 5:02 - 5:03
    we're not going to cover that today
  • 5:03 - 5:03
    we're going to cover
  • 5:03 - 5:05
    debian based systems so how do we
  • 5:05 - 5:06
    install deb here
  • 5:06 - 5:08
    our discord server or not server our
  • 5:08 - 5:09
    discord application it's pretty
  • 5:09 - 5:11
    straightforward actually we'll type in
  • 5:11 - 5:11
    dp
  • 5:11 - 5:14
    dp i'll never get this right dp k
  • 5:14 - 5:17
    g for d package we'll do a dash i for
  • 5:17 - 5:19
    install and then we'll specify our
  • 5:19 - 5:20
    package there it is that's simple but no
  • 5:20 - 5:21
    it's not though
  • 5:21 - 5:24
    no you you can do this but it's going to
  • 5:24 - 5:25
    fail let's do it anyway this is going to
  • 5:25 - 5:27
    reveal the second major flaw with d
  • 5:27 - 5:30
    package oh wait that wasn't it we do
  • 5:30 - 5:31
    need pseudo
  • 5:31 - 5:32
    privileges if you don't know what pseudo
  • 5:32 - 5:34
    means go watch episode four so pseudo
  • 5:34 - 5:37
    d package let's do that now flaw coming
  • 5:37 - 5:39
    so far so good looking good right
  • 5:39 - 5:42
    whoa whoa whoa whoa error i hate seeing
  • 5:42 - 5:42
    errors
  • 5:42 - 5:45
    problems more specifically dependency
  • 5:45 - 5:46
    problems and that's
  • 5:46 - 5:48
    the second major flaw with d package you
  • 5:48 - 5:50
    see most packages in linux they depend
  • 5:50 - 5:51
    on
  • 5:51 - 5:53
    other packages to work for example
  • 5:53 - 5:55
    discord here if i scroll up a bit this
  • 5:55 - 5:56
    core depends on the
  • 5:56 - 5:58
    lib app indicator 1 which is not
  • 5:58 - 5:59
    installed and the
  • 5:59 - 6:01
    lib c plus plus one and it's not
  • 6:01 - 6:02
    installed those are two packages that
  • 6:02 - 6:04
    have to be installed for discord to work
  • 6:04 - 6:06
    so d package the dummy is like
  • 6:06 - 6:08
    hey yeah sure i'll install discord for
  • 6:08 - 6:10
    you but it needs two other things and um
  • 6:10 - 6:12
    i'm it's just not gonna work sorry you
  • 6:12 - 6:14
    need to go get those two other things
  • 6:14 - 6:17
    yourself okay lazy so yeah sure we could
  • 6:17 - 6:18
    go out and find these and
  • 6:18 - 6:20
    install it using d package but that's
  • 6:20 - 6:22
    stupid this is where apt
  • 6:22 - 6:24
    shines it's better let's talk about apt
  • 6:24 - 6:26
    apt is beautiful and if you've ever
  • 6:26 - 6:27
    installed anything on linux any kind of
  • 6:27 - 6:29
    debian based system you've probably used
  • 6:29 - 6:30
    apt
  • 6:30 - 6:32
    before it stands for advanced package
  • 6:32 - 6:33
    tool and when comparing that to d
  • 6:33 - 6:36
    package duh it's advanced d package is
  • 6:36 - 6:36
    stupid
  • 6:36 - 6:38
    anyways it has its place sometimes you
  • 6:38 - 6:40
    may have to install something manually
  • 6:40 - 6:40
    with a
  • 6:40 - 6:42
    deb file whatever we'll get to that why
  • 6:42 - 6:43
    that is in a second
  • 6:43 - 6:46
    coffee break for a second real quick so
  • 6:46 - 6:48
    let's install something with avt now
  • 6:48 - 6:49
    first thing we're going to do real quick
  • 6:49 - 6:52
    new command time we'll do sudo apt
  • 6:52 - 6:54
    and we'll do the command update i'll
  • 6:54 - 6:55
    explain that here in a moment just go
  • 6:55 - 6:56
    ahead and do it let it do its thing
  • 6:56 - 6:58
    now time to install something so do sudo
  • 6:58 - 6:59
    apt
  • 6:59 - 7:01
    this time instead of update we'll do
  • 7:01 - 7:02
    install and then we'll just
  • 7:02 - 7:04
    name the program or package we want to
  • 7:04 - 7:06
    install i'm going to install an old
  • 7:06 - 7:06
    favorite
  • 7:06 - 7:09
    uh pigeon remember pigeon the open
  • 7:09 - 7:11
    source instant messaging app
  • 7:11 - 7:14
    so instead of having to specify the deb
  • 7:14 - 7:16
    file instead of talking to deb all i
  • 7:16 - 7:18
    have to do is reference the package name
  • 7:18 - 7:20
    which is pigeon and that's it now it's
  • 7:20 - 7:22
    not going to work
  • 7:22 - 7:23
    and it's not his fault it's actually d
  • 7:23 - 7:25
    package's fault i'll show you apt was
  • 7:25 - 7:26
    smart it went out and found everything
  • 7:26 - 7:27
    but then it's like whoa
  • 7:27 - 7:30
    hold on um discord we noticed that it's
  • 7:30 - 7:31
    kind of broken we don't have the
  • 7:31 - 7:32
    dependencies
  • 7:32 - 7:34
    of the lib indicator and the c plus plus
  • 7:34 - 7:35
    you might want to fix that dumb old d
  • 7:35 - 7:37
    package but it even gives us a way to
  • 7:37 - 7:38
    fix it apt
  • 7:38 - 7:39
    fix broken install it'll fix discord
  • 7:39 - 7:40
    force so let's do that real quick i'm
  • 7:40 - 7:42
    just going to copy that command
  • 7:42 - 7:44
    apt fix broken install let's uh paste
  • 7:44 - 7:46
    that in there i'll do a control a to get
  • 7:46 - 7:47
    to the front of my command and type in
  • 7:47 - 7:49
    sudo right before it
  • 7:49 - 7:51
    and let's um let's fix some discord it's
  • 7:51 - 7:52
    going to install those two packages
  • 7:52 - 7:55
    hit enter thank you apt so i fixed that
  • 7:55 - 7:56
    i'm going to clear my screen and let's
  • 7:56 - 7:58
    try to install pidgin once more
  • 7:58 - 8:02
    up arrow twice or three times four times
  • 8:02 - 8:03
    there we go and let's hit enter on
  • 8:03 - 8:05
    pidgin right now now real quick before i
  • 8:05 - 8:06
    hit enter to say yeah let's continue
  • 8:06 - 8:08
    this let's scroll just a little bit here
  • 8:08 - 8:10
    notice it's not only installing pidgin
  • 8:10 - 8:12
    super smart amazing apt goes oh
  • 8:12 - 8:14
    hey we have some dependencies the
  • 8:14 - 8:15
    following new packages will also be
  • 8:15 - 8:16
    installed as well
  • 8:16 - 8:18
    and it's kind of a lot right but it's
  • 8:18 - 8:20
    going to do it for us which is what you
  • 8:20 - 8:21
    expect that's like you
  • 8:21 - 8:22
    won't you want that to happen so let's
  • 8:22 - 8:24
    go ahead and do that hit enter coffee
  • 8:24 - 8:24
    break
  • 8:24 - 8:28
    very short i love this actually long
  • 8:28 - 8:30
    coffee break it's kind of long isn't it
  • 8:30 - 8:32
    and that was it i want to try launching
  • 8:32 - 8:35
    pigeons by typing in pigeon
  • 8:35 - 8:37
    look at that i'm not going to use it but
  • 8:37 - 8:38
    that was pretty cool right way easier
  • 8:38 - 8:39
    than d-package now i'm not sure if i
  • 8:39 - 8:41
    mentioned this before but apt is a
  • 8:41 - 8:42
    high-level
  • 8:42 - 8:44
    package manager which basically means
  • 8:44 - 8:46
    it's easier for us to use now one of the
  • 8:46 - 8:48
    main differences between itself
  • 8:48 - 8:50
    and d-package is that d-package required
  • 8:50 - 8:51
    us to download the
  • 8:51 - 8:54
    deb file the actual package file apt
  • 8:54 - 8:54
    doesn't
  • 8:54 - 8:56
    need that or use that as you saw in our
  • 8:56 - 8:58
    example apt just needed the
  • 8:58 - 9:00
    package name but how does that work apt
  • 9:00 - 9:02
    will rely on a thing called a repository
  • 9:02 - 9:04
    a repository is basically a storage
  • 9:04 - 9:05
    location or essentially just someone's
  • 9:05 - 9:06
    server
  • 9:06 - 9:07
    that has a collection of all the
  • 9:07 - 9:09
    software that we might want to use the
  • 9:09 - 9:11
    most common stuff anyway so when we
  • 9:11 - 9:12
    typed in apt
  • 9:12 - 9:14
    install pidgin apt went out to his
  • 9:14 - 9:16
    repository and goes hey where's this
  • 9:16 - 9:17
    pigeon thing at you got it and the
  • 9:17 - 9:18
    repository said yep
  • 9:18 - 9:20
    here it is go ahead and download it it's
  • 9:20 - 9:21
    good and going back to that first
  • 9:21 - 9:23
    command we entered what was it do you
  • 9:23 - 9:24
    know what it was
  • 9:24 - 9:26
    the first command was apt update and
  • 9:26 - 9:28
    what that did is apt
  • 9:28 - 9:30
    went out to the repository and said hey
  • 9:30 - 9:31
    give me all those packages what you got
  • 9:31 - 9:33
    there i want a list of everything you
  • 9:33 - 9:33
    have
  • 9:33 - 9:35
    the repository replies with a list of
  • 9:35 - 9:37
    everything he has and by the way this is
  • 9:37 - 9:38
    something you want to do
  • 9:38 - 9:39
    every time you install something before
  • 9:39 - 9:41
    you say apt install whatever tool you
  • 9:41 - 9:42
    want to install
  • 9:42 - 9:45
    do apt update to update your list of
  • 9:45 - 9:45
    stuff
  • 9:45 - 9:47
    because these repositories are owned by
  • 9:47 - 9:49
    someone else and they're regularly
  • 9:49 - 9:50
    updated there are a lot of repositories
  • 9:50 - 9:51
    out there which
  • 9:51 - 9:53
    ones are we using well let me show you
  • 9:53 - 9:55
    there's an easy way to do this and we'll
  • 9:55 - 9:56
    use the apt command here as well
  • 9:56 - 9:58
    new command time the command will be and
  • 9:58 - 10:00
    we're going to always start with sudo
  • 10:00 - 10:03
    apt space edit dash sources
  • 10:03 - 10:05
    and hit enter and it's so nice it asks
  • 10:05 - 10:07
    us what a text editor we want to use um
  • 10:07 - 10:09
    nano my favorite one i don't care now
  • 10:09 - 10:11
    parrot pulls like a bait and switch
  • 10:11 - 10:12
    normally you'll have your list of
  • 10:12 - 10:15
    repositories and this file parrot's like
  • 10:15 - 10:15
    nah
  • 10:15 - 10:17
    nah nah we put our stuff somewhere else
  • 10:17 - 10:19
    it tells us the parrot repo is located
  • 10:19 - 10:20
    at this location right here so i want to
  • 10:20 - 10:21
    do right now is just
  • 10:21 - 10:24
    highlight that copy it go ahead and do
  • 10:24 - 10:24
    that with me
  • 10:24 - 10:26
    let's control x to get out of this file
  • 10:26 - 10:28
    and we're going to
  • 10:28 - 10:30
    cat that file so i'll type in cat paste
  • 10:30 - 10:32
    that file there and hit enter
  • 10:32 - 10:33
    almost not i've highlighted the entire
  • 10:33 - 10:36
    thing yeah it's parrot dot list oh yeah
  • 10:36 - 10:38
    i've got the list dot list
  • 10:38 - 10:39
    dot list there we go and actually
  • 10:39 - 10:41
    instead of cat let's go ahead and just
  • 10:41 - 10:43
    nano that so i'll do sudo nano just so
  • 10:43 - 10:45
    we can see it a bit cleaner i think
  • 10:45 - 10:47
    that list yeah that's better so right
  • 10:47 - 10:48
    here we have a list of servers or
  • 10:48 - 10:49
    repositories
  • 10:49 - 10:52
    that apt will look to to pull packages
  • 10:52 - 10:52
    from
  • 10:52 - 10:55
    notice it does have the deb preface
  • 10:55 - 10:56
    before it and what do you say we go
  • 10:56 - 10:57
    check it out real quick we can actually
  • 10:57 - 10:59
    just click on that link here
  • 10:59 - 11:02
    control click yeah that's what control
  • 11:02 - 11:04
    and click we're browsing the repository
  • 11:04 - 11:06
    so if i jump into uh the pull directory
  • 11:06 - 11:07
    right here go to let's say the the main
  • 11:07 - 11:09
    directory we got a bunch of stuff in
  • 11:09 - 11:10
    here
  • 11:10 - 11:12
    let's go to the uh the ends let's go to
  • 11:12 - 11:14
    n and look
  • 11:14 - 11:15
    there's nmap right there in the
  • 11:15 - 11:17
    repository so when you do sudo apt
  • 11:17 - 11:18
    install
  • 11:18 - 11:20
    in map it looks at that repository and
  • 11:20 - 11:21
    goes oh there it is
  • 11:21 - 11:23
    let's pull that down now sometimes the
  • 11:23 - 11:25
    tool you want to install is not in these
  • 11:25 - 11:26
    repositories like for example this is
  • 11:26 - 11:28
    the one that's provided by parrot os
  • 11:28 - 11:30
    what do you do then well most of the
  • 11:30 - 11:31
    time these tools will have an
  • 11:31 - 11:32
    alternative way to install it we'll
  • 11:32 - 11:33
    cover that here in a moment
  • 11:33 - 11:35
    or they'll have their own repositories
  • 11:35 - 11:36
    that you can add to the sources list
  • 11:36 - 11:38
    they'll document it for they'll say hey
  • 11:38 - 11:39
    here's our source add that to your
  • 11:39 - 11:41
    sources list do a pseudo apt
  • 11:41 - 11:43
    update pseudo apt install you're solid
  • 11:43 - 11:44
    now you're ready
  • 11:44 - 11:47
    new commands with an s time apt has some
  • 11:47 - 11:49
    cool stuff we can do with it
  • 11:49 - 11:52
    now first always you can do sudo apt-h
  • 11:52 - 11:53
    what the heck am i doing here
  • 11:53 - 11:55
    it'll tell you some stuff you can play
  • 11:55 - 11:56
    with some of those switches you can use
  • 11:56 - 11:57
    let's walk through a few real quick
  • 11:57 - 11:59
    pseudo apt list will list all the
  • 11:59 - 12:01
    available packages in your
  • 12:01 - 12:05
    um i can't talk repositories you can
  • 12:05 - 12:06
    also do apt
  • 12:06 - 12:08
    list dash dash installed to see what
  • 12:08 - 12:10
    your system is installed with very handy
  • 12:10 - 12:11
    if you want to search through that list
  • 12:11 - 12:13
    just do a pipe at the end of that
  • 12:13 - 12:16
    pipe type in grip we'll explain that
  • 12:16 - 12:17
    sometime in another episode and then
  • 12:17 - 12:18
    just um
  • 12:18 - 12:19
    search for something like let's search
  • 12:19 - 12:21
    for say anything that begins with
  • 12:21 - 12:23
    nmap and there it is nav is installed
  • 12:23 - 12:24
    right there let's say you want to learn
  • 12:24 - 12:26
    more about what tools you have installed
  • 12:26 - 12:27
    like what the junk
  • 12:27 - 12:28
    is that what does it do you can do
  • 12:28 - 12:30
    pseudo apt
  • 12:30 - 12:32
    show or show me what it is let's just
  • 12:32 - 12:33
    say nmap
  • 12:33 - 12:35
    show nmap and it'll dang tell you the
  • 12:35 - 12:37
    network mapper and it tells you all
  • 12:37 - 12:38
    about it you can also do
  • 12:38 - 12:41
    apt search and let's just say again nmap
  • 12:41 - 12:42
    and it's going to search through the
  • 12:42 - 12:43
    description of a lot of stuff
  • 12:43 - 12:46
    and show you all the stuff and that's an
  • 12:46 - 12:47
    easy way to search through a bunch of
  • 12:47 - 12:49
    packages now we covered how to install
  • 12:49 - 12:51
    packages but how do we remove stuff how
  • 12:51 - 12:52
    do we uninstall something
  • 12:52 - 12:55
    two ways apt is still the guy for this
  • 12:55 - 12:56
    so sudo apt
  • 12:56 - 12:57
    new command time remove pretty
  • 12:57 - 12:59
    self-explanatory so if you wanted to
  • 12:59 - 13:00
    remove
  • 13:00 - 13:02
    pidgin just type that in hit enter and
  • 13:02 - 13:03
    it's going to say
  • 13:03 - 13:04
    are you sure and i'm going to say no not
  • 13:04 - 13:06
    right now because i got more to tell you
  • 13:06 - 13:08
    remove is kind of a safe command because
  • 13:08 - 13:10
    it will remove the application but not
  • 13:10 - 13:11
    your user data basically the config you
  • 13:11 - 13:13
    might have put into the application so
  • 13:13 - 13:15
    if you removed it accidentally or you
  • 13:15 - 13:16
    want to reinstall it all that stuff will
  • 13:16 - 13:17
    still be there now if you're confident
  • 13:17 - 13:19
    you don't want this dumb app anymore you
  • 13:19 - 13:21
    want it gone you can use a different
  • 13:21 - 13:22
    command the purge
  • 13:22 - 13:25
    so we'll swap out remove for purge this
  • 13:25 - 13:27
    sounds so intense we're gonna purge
  • 13:27 - 13:28
    pigeon this will remove
  • 13:28 - 13:29
    everything and let's go ahead and do
  • 13:29 - 13:31
    that so if we do our command that we
  • 13:31 - 13:32
    learned earlier
  • 13:32 - 13:35
    pseudo list dash dash
  • 13:35 - 13:38
    installed regret for anything that
  • 13:38 - 13:39
    begins with
  • 13:39 - 13:42
    pidgin so it did remove the main package
  • 13:42 - 13:43
    but not this secondary one the pigeon
  • 13:43 - 13:45
    data so i want to remove that real quick
  • 13:45 - 13:47
    let's purge pigeon data let's see if
  • 13:47 - 13:50
    pigeon's here now
  • 13:50 - 13:52
    no pigeon here all right two more useful
  • 13:52 - 13:53
    commands with apt
  • 13:53 - 13:56
    first pseudo apt upgrade as you might
  • 13:56 - 13:58
    imagine sometimes your applications your
  • 13:58 - 13:58
    packages
  • 13:58 - 14:00
    get updates you would hope they get
  • 14:00 - 14:01
    updates and this is the way to update
  • 14:01 - 14:03
    those packages now normally you'll see
  • 14:03 - 14:03
    this
  • 14:03 - 14:06
    command combined with the update command
  • 14:06 - 14:08
    so you might see it like this pseudo apt
  • 14:08 - 14:10
    update to go to the repository and say
  • 14:10 - 14:11
    repository
  • 14:11 - 14:12
    can you tell me if the packages have
  • 14:12 - 14:14
    been updated otherwise you wouldn't know
  • 14:14 - 14:15
    about it right so update that and you'll
  • 14:15 - 14:17
    see an n and
  • 14:17 - 14:18
    which allows us to do two commands in
  • 14:18 - 14:21
    one line which is awesome pseudo apt
  • 14:21 - 14:24
    upgrade so check the repository and then
  • 14:24 - 14:25
    update everything now there is another
  • 14:25 - 14:27
    version of this now upgrade will just
  • 14:27 - 14:28
    upgrade your applications if they need
  • 14:28 - 14:31
    upgrading another one is full dash
  • 14:31 - 14:32
    upgrade
  • 14:32 - 14:33
    full upgrade will actually remove
  • 14:33 - 14:35
    previously installed applications
  • 14:35 - 14:37
    or packages that aren't required for the
  • 14:37 - 14:39
    upgrade so maybe old versions of things
  • 14:39 - 14:40
    now i do want to jump back to our old
  • 14:40 - 14:42
    guy d package real quick
  • 14:42 - 14:44
    he does a lot of the stuff too i'm not
  • 14:44 - 14:45
    going to go over everything but just
  • 14:45 - 14:46
    give me an example
  • 14:46 - 14:49
    dpkg if i do a dash l
  • 14:49 - 14:51
    he'll also list all the install packages
  • 14:51 - 14:53
    on your system i can do the same thing
  • 14:53 - 14:54
    as i did before with uh
  • 14:54 - 14:57
    mr apt by grepping his stuff and looking
  • 14:57 - 14:57
    for
  • 14:57 - 14:59
    anything that starts with nmap that
  • 14:59 - 15:02
    didn't work let's just try nmap
  • 15:02 - 15:03
    there we go and again it has a lot of
  • 15:03 - 15:04
    the same switches and features i'm not
  • 15:04 - 15:06
    going to do that again so d package
  • 15:06 - 15:09
    low level stupid apt high level awesome
  • 15:09 - 15:11
    but there's also one other thing worth
  • 15:11 - 15:11
    mentioning
  • 15:11 - 15:14
    it's something called aptitude which
  • 15:14 - 15:15
    starts with apt
  • 15:15 - 15:17
    but just has a full word to it this also
  • 15:17 - 15:18
    is high level
  • 15:18 - 15:21
    but it's sort of like apt on steroids a
  • 15:21 - 15:23
    bit it does more now i'm not going to go
  • 15:23 - 15:24
    too deep into it but just give you an
  • 15:24 - 15:26
    example of what it might do let's just
  • 15:26 - 15:27
    type in
  • 15:27 - 15:30
    aptitude actually i'll do sudo aptitude
  • 15:30 - 15:32
    just type that in just like that enter
  • 15:32 - 15:34
    oh fancy
  • 15:34 - 15:35
    you kind of get a nice little
  • 15:35 - 15:37
    interactive gui thing in your command
  • 15:37 - 15:39
    line so that's fun anyways i'm going to
  • 15:39 - 15:40
    quit but that's also a package manager
  • 15:40 - 15:42
    that's high level
  • 15:42 - 15:43
    that will get the job done for you i
  • 15:43 - 15:45
    told you installing stuff in linux
  • 15:45 - 15:47
    can be very easy but there's a lot of
  • 15:47 - 15:49
    ways to do it one very popular way that
  • 15:49 - 15:51
    i personally think is amazing
  • 15:51 - 15:53
    is called snap now not like the previous
  • 15:53 - 15:54
    episode where thanos
  • 15:54 - 15:57
    destroys users and stuff no no this
  • 15:57 - 15:59
    thing called snap is also kind of a
  • 15:59 - 16:01
    package manager when you install it if
  • 16:01 - 16:02
    you don't already have it installed it's
  • 16:02 - 16:03
    actually called snap
  • 16:03 - 16:06
    d snap d but snap isn't really a
  • 16:06 - 16:08
    repository it's more of like a store
  • 16:08 - 16:10
    a snap store and it works very similarly
  • 16:10 - 16:12
    to apt as far as actually using the
  • 16:12 - 16:13
    command line
  • 16:13 - 16:14
    but the main difference here is that
  • 16:14 - 16:16
    when let's say you're a developer and
  • 16:16 - 16:17
    you make your app
  • 16:17 - 16:18
    and you want people to be able to
  • 16:18 - 16:20
    install it easily right now on any linux
  • 16:20 - 16:22
    system it might take some time to get
  • 16:22 - 16:22
    your
  • 16:22 - 16:24
    app on a repository especially one
  • 16:24 - 16:26
    that's already existing on the system
  • 16:26 - 16:28
    like ubuntu's parrot os's calis whatever
  • 16:28 - 16:30
    a better way is to be able to add your
  • 16:30 - 16:32
    app to a store
  • 16:32 - 16:33
    that and then it becomes immediately
  • 16:33 - 16:35
    available just like in a snap right is
  • 16:35 - 16:36
    that why it's called that i don't know
  • 16:36 - 16:38
    so that's what snap is for they can add
  • 16:38 - 16:40
    their app to the snap store
  • 16:40 - 16:43
    and it's available in a snap right
  • 16:43 - 16:45
    i don't know so it's pretty easy check
  • 16:45 - 16:46
    it out so if you don't again if you
  • 16:46 - 16:47
    don't already have snap installed
  • 16:47 - 16:49
    we do on the system but you just do apt
  • 16:49 - 16:50
    install snapd
  • 16:50 - 16:53
    you would you would use apd to install
  • 16:53 - 16:54
    another package manager
  • 16:54 - 16:56
    but anyways a lot of the modern apps do
  • 16:56 - 16:58
    this so let's install something like
  • 16:58 - 17:01
    um i don't know vs code i love vs goes
  • 17:01 - 17:03
    my favorite ide code editor whatever it
  • 17:03 - 17:03
    is
  • 17:03 - 17:04
    whatever you want to call it so let's
  • 17:04 - 17:07
    try sudo snap this is all it is it's
  • 17:07 - 17:11
    just like abt install and then your app
  • 17:11 - 17:13
    now for vs code they do require the dash
  • 17:13 - 17:14
    dash classic
  • 17:14 - 17:16
    switch but then we just put in the
  • 17:16 - 17:18
    package name which in this case will be
  • 17:18 - 17:21
    code for vs code and that's it just
  • 17:21 - 17:22
    press enter
  • 17:22 - 17:24
    and it's going to start doing it snap d
  • 17:24 - 17:26
    going at it coffee break
  • 17:26 - 17:28
    oh coffee's cold i've been doing this
  • 17:28 - 17:29
    too long and bam it's installed if i
  • 17:29 - 17:30
    just type in
  • 17:30 - 17:33
    code i think it should launch i think
  • 17:33 - 17:34
    yeah there it is
  • 17:34 - 17:36
    okay so snap is pretty cool i can see
  • 17:36 - 17:37
    this being one of the main ways we get
  • 17:37 - 17:38
    our apps now
  • 17:38 - 17:41
    no we're not quite done yet there's more
  • 17:41 - 17:42
    ways to get
  • 17:42 - 17:44
    apps in linux now we've covered the main
  • 17:44 - 17:45
    ways but the next few ways are
  • 17:45 - 17:47
    interesting because they're based on
  • 17:47 - 17:50
    python and ruby and more like
  • 17:50 - 17:52
    specific to a programming language what
  • 17:52 - 17:54
    do i mean well for example when you run
  • 17:54 - 17:55
    a python script
  • 17:55 - 17:56
    there may be some specific dependencies
  • 17:56 - 17:59
    it needs certain libraries certain just
  • 17:59 - 18:00
    things that help it to work
  • 18:00 - 18:03
    or you know packages python has its own
  • 18:03 - 18:04
    package manager called
  • 18:04 - 18:07
    pip we absolutely will be using this in
  • 18:07 - 18:08
    a moment when we
  • 18:08 - 18:11
    talk about git so
  • 18:11 - 18:12
    i almost said button your seat belts
  • 18:12 - 18:14
    buckle your seat belts unless your seat
  • 18:14 - 18:15
    belts have buttons i don't know that's
  • 18:15 - 18:16
    weird another one
  • 18:16 - 18:18
    would be ruby ruby's a programming
  • 18:18 - 18:19
    language that's very popular
  • 18:19 - 18:21
    and that will use a package manager
  • 18:21 - 18:23
    called rubygems
  • 18:23 - 18:24
    and the command you actually use is
  • 18:24 - 18:26
    called gems you'll use gem
  • 18:26 - 18:29
    install so similar syntax as every other
  • 18:29 - 18:30
    package manager we've seen
  • 18:30 - 18:32
    but it's specific to ruby so you might
  • 18:32 - 18:34
    install rails never heard of ruby on
  • 18:34 - 18:35
    rails
  • 18:35 - 18:37
    well you would actually do a gem install
  • 18:37 - 18:40
    rails to you know mess with the rails
  • 18:40 - 18:43
    but now let's get to get get to get okay
  • 18:43 - 18:44
    let's get it i use
  • 18:44 - 18:47
    github all the time to install hacking
  • 18:47 - 18:47
    scripts
  • 18:47 - 18:49
    scripts that other hackers might create
  • 18:49 - 18:51
    and they're amazing they help you do all
  • 18:51 - 18:53
    kinds of amazing things in fact i've
  • 18:53 - 18:54
    done a number of tutorials that involve
  • 18:54 - 18:57
    using git to go out to github and grab
  • 18:57 - 18:58
    the information so you can use it on
  • 18:58 - 18:59
    your system
  • 18:59 - 19:01
    but how do you do that now first a
  • 19:01 - 19:02
    requirement is that you would need to
  • 19:02 - 19:03
    have a git
  • 19:03 - 19:06
    installed so use your favorite package
  • 19:06 - 19:07
    manager we've already learned about this
  • 19:07 - 19:10
    pseudo apt install git now thankfully we
  • 19:10 - 19:11
    already have git installed on our system
  • 19:11 - 19:12
    how do you
  • 19:12 - 19:15
    yeah quiz how do you how do you see that
  • 19:15 - 19:17
    comment below what's the command so here
  • 19:17 - 19:18
    we go scenario let's say you find this
  • 19:18 - 19:19
    amazing hacking tool
  • 19:19 - 19:21
    there's one actually found it's pretty
  • 19:21 - 19:23
    neat let's go look at it right now it's
  • 19:23 - 19:23
    called
  • 19:23 - 19:25
    turbo lister and what it will do is look
  • 19:25 - 19:26
    at a website and list all the sub
  • 19:26 - 19:28
    domains of that website it'll go and
  • 19:28 - 19:30
    do it in kind of a passive way very cool
  • 19:30 - 19:32
    but here i am on github and i want to
  • 19:32 - 19:33
    use this tool but
  • 19:33 - 19:35
    what do i do let's do it so the first
  • 19:35 - 19:37
    thing i'll do is kind of just
  • 19:37 - 19:38
    get the url at the top here so it's
  • 19:38 - 19:40
    github.com for slash leak captain
  • 19:40 - 19:41
    forward slash turbo lister
  • 19:41 - 19:43
    i'll put a link in the description i'm
  • 19:43 - 19:45
    just gonna grab that link
  • 19:45 - 19:46
    and that's the repository link so copy
  • 19:46 - 19:48
    that i'll go over here and the command
  • 19:48 - 19:48
    will be
  • 19:48 - 19:51
    get clone we're gonna clone that
  • 19:51 - 19:52
    repository we're basically taking their
  • 19:52 - 19:53
    code
  • 19:53 - 19:56
    and copying it to our linux machine here
  • 19:56 - 19:57
    which is super cool
  • 19:57 - 19:59
    so i'm going to paste that url right
  • 19:59 - 20:00
    after clone
  • 20:00 - 20:02
    and that's it it's going to do something
  • 20:02 - 20:03
    really cool you ready and also it's
  • 20:03 - 20:04
    going to clone it to whatever
  • 20:04 - 20:06
    directory i'm in the working directory
  • 20:06 - 20:08
    so right now you can see i'm in
  • 20:08 - 20:11
    downloads so i'm going to hit enter
  • 20:11 - 20:14
    and it did it that's so cool so if i do
  • 20:14 - 20:15
    ls to list the contents of my current
  • 20:15 - 20:16
    directory
  • 20:16 - 20:20
    there she is turbo lister ready to go
  • 20:20 - 20:22
    so i'm gonna cd into turbo lister the
  • 20:22 - 20:23
    directory there
  • 20:23 - 20:24
    type in ls to see what's inside there
  • 20:24 - 20:26
    and i've got a few things going on now
  • 20:26 - 20:28
    specifically to this project it's a
  • 20:28 - 20:29
    python project
  • 20:29 - 20:31
    and to use this tool i would use this
  • 20:31 - 20:34
    python script right here turbo lister.py
  • 20:34 - 20:36
    but but there's one big thing before we
  • 20:36 - 20:37
    can do that
  • 20:37 - 20:38
    just like every other application we
  • 20:38 - 20:40
    install on our system just like any
  • 20:40 - 20:42
    script you might use in python
  • 20:42 - 20:44
    there are some requirements that we have
  • 20:44 - 20:45
    to meet we have to make sure we have the
  • 20:45 - 20:47
    python libraries and packages installed
  • 20:47 - 20:48
    to make this thing work
  • 20:48 - 20:50
    now if only there were a tool that could
  • 20:50 - 20:52
    help us do that what do you think it is
  • 20:52 - 20:54
    it's pip so right here while we're in
  • 20:54 - 20:55
    this directory we can actually just
  • 20:55 - 20:57
    very quickly install all the
  • 20:57 - 20:58
    requirements let me show you the command
  • 20:58 - 21:00
    the command will be
  • 21:00 - 21:02
    pip 3. now i'm saying pip three because
  • 21:02 - 21:04
    we're actually using python three
  • 21:04 - 21:06
    versus python two which would use just
  • 21:06 - 21:08
    command pip so python three
  • 21:08 - 21:12
    pit three pit three install
  • 21:12 - 21:15
    dash r and then we'll put in
  • 21:15 - 21:17
    requirements
  • 21:17 - 21:19
    so with this command pip3 is going to go
  • 21:19 - 21:20
    huh let's look inside
  • 21:20 - 21:23
    the requirements.txt file which is right
  • 21:23 - 21:24
    here and see what dependencies this
  • 21:24 - 21:26
    script needs it'll go through it
  • 21:26 - 21:28
    install them and then we're ready to go
  • 21:28 - 21:29
    so let's try it i'm going to go ahead
  • 21:29 - 21:31
    and hit enter on this
  • 21:31 - 21:34
    and fingers crossed coffee break oh that
  • 21:34 - 21:35
    was quick man and let me tell you
  • 21:35 - 21:36
    something
  • 21:36 - 21:38
    that was pretty much it like as far as
  • 21:38 - 21:39
    downloading a script or
  • 21:39 - 21:41
    an application or a hacking tool from
  • 21:41 - 21:44
    github you download the repository
  • 21:44 - 21:45
    you install the requirements then you
  • 21:45 - 21:48
    run the the thing you run the script
  • 21:48 - 21:49
    let's just do it real quick so the
  • 21:49 - 21:51
    command will be for this
  • 21:51 - 21:55
    python3 and then the script name which
  • 21:55 - 21:57
    was turbo lister yeah there was now like
  • 21:57 - 21:58
    most things if you don't know what to do
  • 21:58 - 21:59
    just type in dash
  • 21:59 - 22:01
    h and it will give you some help but i
  • 22:01 - 22:02
    know what i want to do real quick
  • 22:02 - 22:04
    i'm going to do d for domain let's take
  • 22:04 - 22:06
    a look at hack the boxes sub domains
  • 22:06 - 22:10
    hack the box dot eu and hit enter
  • 22:10 - 22:11
    now one thing i love about all these
  • 22:11 - 22:12
    scripting tools is that they have you
  • 22:12 - 22:14
    know some really cool ascii script up
  • 22:14 - 22:15
    here making it look really neat but
  • 22:15 - 22:16
    anyways it's going to go through all
  • 22:16 - 22:18
    these things and try to find the
  • 22:18 - 22:20
    subdomains of hackthebox.eu which by the
  • 22:20 - 22:21
    way is what we're using right now
  • 22:21 - 22:24
    so it's kind of fun inception we're
  • 22:24 - 22:25
    attacking from the inside
  • 22:25 - 22:26
    we're not we're not attacking it's just
  • 22:26 - 22:28
    passive reconnaissance and
  • 22:28 - 22:30
    bam there it is look at that all these
  • 22:30 - 22:31
    sub domains have hacked the box that's
  • 22:31 - 22:32
    kind of cool right
  • 22:32 - 22:34
    they have a lot goodness gracious now
  • 22:34 - 22:36
    that was
  • 22:36 - 22:39
    a lot we covered how to install stuff
  • 22:39 - 22:43
    in linux and also remove it and and all
  • 22:43 - 22:44
    kinds of stuff
  • 22:44 - 22:47
    so real quick quick review 1000 foot
  • 22:47 - 22:48
    look at this
  • 22:48 - 22:49
    the two main ways we install stuff on
  • 22:49 - 22:51
    linux is with our package managers
  • 22:51 - 22:55
    d package or apt d-package being the
  • 22:55 - 22:58
    low-level dumb version and apt being
  • 22:58 - 22:59
    high-level
  • 22:59 - 23:00
    and it's awesome whereas d-package
  • 23:00 - 23:02
    requires you to download the dot
  • 23:02 - 23:06
    deb file deb hi deb and then also does
  • 23:06 - 23:07
    it install dependencies for you what a
  • 23:07 - 23:08
    loser
  • 23:08 - 23:10
    but apt it just looks at a repository
  • 23:10 - 23:12
    when you reference a package like hey
  • 23:12 - 23:14
    install docker for me please and it goes
  • 23:14 - 23:15
    out and gets it for us
  • 23:15 - 23:17
    and it also installs all dependencies it
  • 23:17 - 23:19
    might need because packages need
  • 23:19 - 23:21
    packages on packages on packages
  • 23:21 - 23:22
    there's a fancier version called
  • 23:22 - 23:24
    aptitude which looks really cool
  • 23:24 - 23:25
    i've never played with it but it looks
  • 23:25 - 23:27
    fun and then there's snap which i think
  • 23:27 - 23:29
    is the best out of all of them because
  • 23:29 - 23:31
    the developers can just upload their new
  • 23:31 - 23:32
    applications they code
  • 23:32 - 23:35
    straight to a store and you can just get
  • 23:35 - 23:36
    it in a snap
  • 23:36 - 23:38
    with the snap install command and it
  • 23:38 - 23:40
    does work in a similar way to apt
  • 23:40 - 23:41
    except it's not looking at a repository
  • 23:41 - 23:42
    to pull information as looking at a
  • 23:42 - 23:44
    store and then we had our programming
  • 23:44 - 23:46
    language specific package managers now
  • 23:46 - 23:47
    this is not exhaustive but the main
  • 23:47 - 23:49
    ones we see right now are python with
  • 23:49 - 23:52
    this pip or pip 3 for python 3.
  • 23:52 - 23:54
    ruby has gem or that's the tool it's
  • 23:54 - 23:55
    actually called rubygems and again these
  • 23:55 - 23:57
    are both handy for installing
  • 23:57 - 23:59
    programming language specific packages
  • 23:59 - 24:00
    to help you run your scripts and
  • 24:00 - 24:02
    apps and then last but certainly not
  • 24:02 - 24:04
    least we have git
  • 24:04 - 24:05
    it's a command line tool we can install
  • 24:05 - 24:07
    with another package manager like apt
  • 24:07 - 24:10
    apt install git and what git allows us
  • 24:10 - 24:11
    to do is pull down stuff from places
  • 24:11 - 24:13
    like github which also is itself a
  • 24:13 - 24:14
    repository
  • 24:14 - 24:17
    don't get confused so we demonstrated
  • 24:17 - 24:19
    how you might find an amazing hacking
  • 24:19 - 24:20
    tool that a hacker
  • 24:20 - 24:22
    another hacker developed and you would
  • 24:22 - 24:24
    use git to go get
  • 24:24 - 24:27
    that tool download it to your linux
  • 24:27 - 24:29
    machine and in this case we were using
  • 24:29 - 24:31
    a python script so we used pip3 to
  • 24:31 - 24:32
    install the requirements for that
  • 24:32 - 24:34
    because it did have some requirements
  • 24:34 - 24:36
    and then we used that amazing turbo
  • 24:36 - 24:37
    listed tool to
  • 24:37 - 24:40
    list sub-domains super fun so yeah that
  • 24:40 - 24:41
    was a lot
  • 24:41 - 24:43
    let me know what you think of this video
  • 24:43 - 24:44
    if you have any questions or comments or
  • 24:44 - 24:46
    anything just comment below i'll take a
  • 24:46 - 24:47
    look
  • 24:47 - 24:50
    and also let's see how you did like as
  • 24:50 - 24:51
    you went through this and you learned
  • 24:51 - 24:52
    you took notes and practice you got
  • 24:52 - 24:53
    hands-on
  • 24:53 - 24:55
    let's test your skills i've got a quiz
  • 24:55 - 24:57
    in the link below i also have a
  • 24:57 - 24:58
    walkthrough lab you can go through as
  • 24:58 - 25:00
    well to kind of reinforce these things
  • 25:00 - 25:02
    check it out free sign up no big deal
  • 25:02 - 25:04
    and of course sign up for hack the box
  • 25:04 - 25:05
    academy dude what we're doing here is
  • 25:05 - 25:06
    completely free
  • 25:06 - 25:08
    and if you want to go down further and
  • 25:08 - 25:10
    become even an even better hacker and
  • 25:10 - 25:11
    learn other stuff
  • 25:11 - 25:12
    like hacking wordpress and all kinds of
  • 25:12 - 25:14
    weird things you can subscribe as a
  • 25:14 - 25:16
    regular person or as a student
  • 25:16 - 25:18
    and it's just do it and yeah that's
  • 25:18 - 25:20
    about it this was episode 5
  • 25:20 - 25:22
    of linux for hackers and everyone
  • 25:22 - 25:23
    because dude everyone's got to learn
  • 25:23 - 25:24
    linux
  • 25:24 - 25:26
    and also if you like this shirt which is
  • 25:26 - 25:28
    a raspberry pi blueprint
  • 25:28 - 25:30
    or this mug go check out my store
  • 25:30 - 25:32
    networkchuck.com you can get all this
  • 25:32 - 25:32
    merch as well as
  • 25:32 - 25:34
    coffee of course and yeah seriously
  • 25:34 - 25:36
    that's all i have today
  • 25:36 - 25:38
    thanks guys for watching this uh
  • 25:38 - 25:39
    continue the next episode if it's
  • 25:39 - 25:40
    already out which it should be
  • 25:40 - 25:43
    hopefully if not we'll subscribe and hit
  • 25:43 - 25:44
    that notification bell because it'll
  • 25:44 - 25:47
    come out any day now you never know
  • 25:47 - 25:58
    yeah i'll catch you guys next time
  • 25:58 - 26:05
    [Music]
  • 26:05 - 26:07
    you
Title:
apt, dpkg, git, Python PiP (Linux Package Management) // Linux for Hackers // EP 5
Description:

more » « less
Video Language:
English
Duration:
26:05

English subtitles

Revisions Compare revisions