Beginner Linux for Ethical Hackers - Installing and Updating Tools
Key Takeaways
The video covers the installation and updating of tools in Kali Linux using apt-get and git, as well as simple scripting in Linux with Bash, including grep, cut, tr, for loops, and if statements.
Full Transcript
okay so one of the important things you need to know is how to not only install files on your computer but also how to install updates on your computer so for Kali since this is a debian base we're going to use something called apt-get and the first thing I'm going to show you is how to install updates so the common way to do this if you don't use the GUI and you want to use the terminal is apt-get update and then we'll do and have to get upgrade let's go ahead and just hit enter on this and let's explain what it's doing so the first command here is saying apt-get update so what we're doing is we're looking through packages now these packages are predefined their repositories and what it does is it says ok I'm going to check packages here for updates and it went through looks like they use archived Linux due to ITU they check these packages here and they update the packages and then once they update the packages they run this command so basically the and command is your gonna do something as well right so first we're gonna update and then we're going to upgrade so based on what's in these packages it's gonna say ok well we know the following packages were automatically installed and no longer required so all these things right here they're gonna be removed and then the following packages have been kept back ok they're fine they're not going to uninstall those and then we have the following packages that are gonna be upgraded ok so it's a long list that needs updating and then you come in here and you say ok well it needs 252 megabytes of additional disk space to continue you can hit enter for yes and they'll automatically start upgrading so if you want to update your machine to its newest and best form you can go ahead and do that I'm gonna go ahead and just hit no on this guy okay and now it's also important to know how to install files so I'm going to show you two different ways one way is through apt-get similar to what we just did and the other way is going to be through get itself so let's go ahead and install git we're gonna use apt-get to install git so it'll look something like this we'll just say apt-get install git and we'll hit yes on this and another way to do this is to add a dash Y at the end of this so you'd say app - git install git - y and that'll automatically say yes if you just want to accept whatever is coming out for you you go ahead and just hit YES on that and it may take a minute for these to install while this is installing let's go ahead and talk about what get does so git works with github so when we talk about github we're talking about a lot of people update their projects their code their frameworks on to github especially in the penetration testing / hacking community it's often that you're gonna find some cool tools that are out there than are installed on Kali Linux can't be found through apt-get and you have to actually download them from github so it's very important to know how to use git and it's very very simple so we're on a page like this this is Vale framework it's a very popular tool in penetration testing and malware analysis as well so say we wanted to install this well there's a couple things we could do the first thing we could do is always read the directions and see what they recommend there is a quick install here and if you look they have a app install veil here with the - why so that will work or you can use gits install where you have to install get first okay and then we do a git clone and we run the configuration setup so that's what we're going to do here we're going to install veil just for the fun of it just so you can kind of get used to how to use github use get and go from there so let's go ahead and just alt-tab back over it looks like we have it we can check it by typing get and hitting tab okay so get is here and we're just going to hit space we know the command is clone and while it provides it for us down here it says hey get clone we'll copy this the other place you can do it is right here where it says clone or download you just copy this bad boy right here we'll alt tab back over to our terminal and just hit paste okay and this is going to install in the directory that you choose so I just put it in this root folder here and actually our our home folder I should say and it's installed right here the folder is Vale right here typically when I install things I like to put them in the opt folder so here CD opt but since I went ahead and downloaded here let's just go ahead for an example purpose if you do want to install to opt you're more than welcome you can move the folder there as well so what we're gonna do is we're gonna CD into Vale and then we'll hit LS now remember there were instructions so let's go ahead and look at what those instructions were these instructions said you're gonna run dot forward slash config setup that Sh force silent so let's go ahead and just copy this guy we'll come back in here and we'll hit paste and it's just going to run out of this config folder setup that Sh and now it's installing so we could have easily installed this with app - git which if you look look what it's doing it's actually rolling through the packages here and it's updating the repositories right at these packages and then it's going to go ahead and download what it needs so it's running apt-get anyway if you see updating apt it's installing the dependencies so the easier way the quick way which you suggested was to do it through there and it's right they don't always have the installed packages in get so that's why I wanted to show you the github version of it so you can go ahead and let this install let's just go ahead and recap quickly what we just did so we used we used apt-get update and upgrade to install updates in our system we used git clone to be able to download packages and clone packages off of github and we used apt-get to be able to download git itself so that's really it for this lesson what I do encourage you to do is go through the man pages of git and go through the man pages of apt-get because you're also able to remove programs updates specific programs etc so this lesson really just wanted to introduce you to the basics of downloading an updating for your system I encourage you to learn how to remove files as well as a little bit of homework for yourself so thank you for joining me and I will catch you over in the next lesson [Music] you
Original Description
In this video, we cover how to use apt-get and git to install important Kali Linux updates as well as clone repositories from GitHub.
In this video, we will cover how to do simple scripting in Linux with Bash. We will learn about grep, cut, tr, for loops, if statements, and more.
Timestamps:
0:06 - Introduction
0:18 - Installing updates with apt-get
2:22 - Installing git using apt-get
2:58 - Explaining git
4:30 - Using git to clone a tool
❓Info❓
___________________________________________
Need a Pentest?: https://tcm-sec.com
Learn to Hack: https://academy.tcm-sec.com
🔹The Cyber Mentor Merch🔹
___________________________________________
https://teespring.com/stores/the-cyber-mentor
📱Social Media📱
___________________________________________
Website: https://thecybermentor.com
Twitter: https://twitter.com/thecybermentor
Twitch: https://www.twitch.tv/thecybermentor
Discord: https://tcm-sec.com/discord
LinkedIn: https://www.linkedin.com/in/heathadams
💸Donate💸
___________________________________________
Like the channel? Please consider supporting me on Patreon:
https://www.patreon.com/thecybermentor
Support the stream (one-time): https://streamlabs.com/thecybermentor
Hacker Books:
Penetration Testing: A Hands-On Introduction to Hacking: https://amzn.to/31GN7iX
The Hacker Playbook 3: https://amzn.to/34XkIY2
Hacking: The Art of Exploitation: https://amzn.to/2VchDyL
The Web Application Hacker's Handbook: https://amzn.to/30Fj21S
Real-World Bug Hunting: A Field Guide to Web Hacking: https://amzn.to/2V9srOe
Social Engineering: The Science of Human Hacking: https://amzn.to/31HAmVx
Linux Basics for Hackers: https://amzn.to/34WvcXP
Python Crash Course, 2nd Edition: https://amzn.to/30gINu0
Violent Python: https://amzn.to/2QoGoJn
Black Hat Python: https://amzn.to/2V9GpQk
My Build:
lg 32gk850g-b 32" Gaming Monitor:https://amzn.to/30C0qzV
darkFlash Phantom Black ATX Mid-Tower Case: https://amzn.to/30d1UW1
EVGA 2080TI: https://amzn.to/30d2lj7
MSI Z390 MotherBoard: http
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from The Cyber Mentor · The Cyber Mentor · 21 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
▶
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Buffer Overflows Made Easy - Part 1: Introduction
The Cyber Mentor
Buffer Overflows Made Easy - Part 2: Spiking
The Cyber Mentor
Buffer Overflows Made Easy - Part 3: Fuzzing
The Cyber Mentor
Buffer Overflows Made Easy - Part 4: Finding the Offset
The Cyber Mentor
Buffer Overflows Made Easy - Part 5: Overwriting the EIP
The Cyber Mentor
Buffer Overflows Made Easy - Part 6: Finding Bad Characters
The Cyber Mentor
Buffer Overflows Made Easy - Part 7: Finding the Right Module
The Cyber Mentor
Buffer Overflows Made Easy - Part 8: Generating Shellcode and Gaining Shells
The Cyber Mentor
HackTheBox - Sunday Walkthrough (Re-Up)
The Cyber Mentor
Networking for Ethical Hackers - TCP, UDP, and the Three-Way Handshake (Re-Up)
The Cyber Mentor
Networking for Ethical Hackers - Network Subnetting (Re-Up)
The Cyber Mentor
Networking for Ethical Hackers - Network Subnetting Part 2: The Challenge (Re-Up)
The Cyber Mentor
Networking for Ethical Hackers - Building A Basic Network with Cisco Packet Tracer (Re-Up)
The Cyber Mentor
HackTheBox - Fighter Walkthrough (Re-Up)
The Cyber Mentor
Beginner Linux for Ethical Hackers - Navigating the File System
The Cyber Mentor
Beginner Linux for Ethical Hackers - Users and Privileges
The Cyber Mentor
Beginner Linux for Ethical Hackers - Common Network Commands
The Cyber Mentor
Beginner Linux for Ethical Hackers - Viewing, Creating, and Editing Files
The Cyber Mentor
Beginner Linux for Ethical Hackers - Controlling Kali Services
The Cyber Mentor
Beginner Linux for Ethical Hackers - Scripting with Bash
The Cyber Mentor
Beginner Linux for Ethical Hackers - Installing and Updating Tools
The Cyber Mentor
Cracking Linux Password Hashes with Hashcat
The Cyber Mentor
Reminder: Twitch Hacking Live Stream Tonight! 2/26/19 at 8PM EST
The Cyber Mentor
Hacking Live Stream: Episode 1 - Kioptrix Level 1, HackTheBox Jerry, and Career Q&A / AMA
The Cyber Mentor
Hacking Live Stream: Episode 2 - HackTheBox Active, Vulnserver Buffer Overflow, and Career Q&A / AMA
The Cyber Mentor
Hacking Live Stream: Episode 3 - Hack The Box Blue, Devel, and Career Q&A / AMA
The Cyber Mentor
New Zero to Hero Pentest Course, New Website, and 2K Subs?!
The Cyber Mentor
Zero to Hero Pentesting: Episode 1 - Course Introduction, Notekeeping, Introductory Linux, and AMA
The Cyber Mentor
Zero to Hero Pentesting: Episode 2 - Python 101
The Cyber Mentor
Zero to Hero Pentesting: Episode 3 - Python 102, Building a Terrible Port Scanner, and a Giveaway
The Cyber Mentor
Zero to Hero Pentesting: Episode 4 - Five Phases of Hacking + Passive OSINT
The Cyber Mentor
Zero to Hero Pentesting: Episode 5 - Scanning Tools (Nmap, Nessus, BurpSuite, etc.) & Tactics
The Cyber Mentor
Zero to Hero Pentesting: Episode 6 - Enumeration (Kioptrix & Hack The Box)
The Cyber Mentor
Zero to Hero Pentesting: Episode 7 - Exploitation, Shells, and Some Credential Stuffing
The Cyber Mentor
Installing Windows Server 2016 on VMWare in 5 Minutes
The Cyber Mentor
Zero to Hero: Week 8 - Building an AD Lab, LLMNR Poisoning, and NTLMv2 Cracking with Hashcat
The Cyber Mentor
A Day in the Life of an Ethical Hacker / Penetration Tester
The Cyber Mentor
Active Directory Exploitation - LLMNR/NBT-NS Poisoning
The Cyber Mentor
Zero to Hero: Week 9 - NTLM Relay, Token Impersonation, Pass the Hash, PsExec, and more
The Cyber Mentor
Zero to Hero: Episode 10 - MS17-010/EternalBlue, GPP/cPasswords, and Kerberoasting
The Cyber Mentor
Writing a Pentest Report
The Cyber Mentor
Zero to Hero: Week 11 - File Transfers, Pivoting, and Reporting Writing
The Cyber Mentor
The Complete Linux for Ethical Hackers Course for 2019
The Cyber Mentor
Full Ethical Hacking Course - Beginner Network Penetration Testing (2019)
The Cyber Mentor
Popping a Shell with SMB Relay and Empire
The Cyber Mentor
Pentesting for n00bs: Episode 1 - Legacy (hackthebox)
The Cyber Mentor
Pentesting for n00bs: Episode 2 - Lame
The Cyber Mentor
Pentesting for n00bs: Episode 3 - Blue
The Cyber Mentor
Web App Testing: Episode 1 - Enumeration
The Cyber Mentor
Pentesting for n00bs: Episode 4 - Devel
The Cyber Mentor
Pentesting for n00bs: Episode 5 - Jerry
The Cyber Mentor
Web App Testing: Episode 2 - Enumeration, XSS, and UI Bypassing
The Cyber Mentor
Pentesting for n00bs: Episode 6 - Nibbles
The Cyber Mentor
Web App Testing: Episode 3 - XSS, SQL Injection, and Broken Access Control
The Cyber Mentor
How NOT to Approach a Cybersecurity Mentor
The Cyber Mentor
Web App Testing: Episode 4 - XXE, Input Validation, Broken Access Control, and More XSS
The Cyber Mentor
Pentesting for n00bs: Episode 7 - Optimum (hackthebox)
The Cyber Mentor
Pentesting for n00bs: Episode 8 - Bashed (hackthebox)
The Cyber Mentor
Pentesting for n00bs: Episode 9 - Grandpa
The Cyber Mentor
Top 5 Internal Pentesting Methods
The Cyber Mentor
More on: Linux & CLI
View skill →Related Reads
📰
📰
📰
📰
Claude Code is steganographically marking requests
Dev.to AI
FortiGate Günlükleri #1: UEFI Hataları, Yanlış Launch Mode’lar ve Bir Lisans Bug’ı Avı
Medium · Cybersecurity
Why I built Contextia: stopping secrets before they reach AI chats
Dev.to AI
A clean vulnerability scan doesn't mean you're secure: a Security+ Domain 4 breakdown
Dev.to · TiltedLunar123
Chapters (5)
0:06
Introduction
0:18
Installing updates with apt-get
2:22
Installing git using apt-get
2:58
Explaining git
4:30
Using git to clone a tool
🎓
Tutor Explanation
DeepCamp AI