
- What we will be installing
- What is Virtualbox, what is a virtual machine
Fix for Qterminal:
- Click on the Kali start icon on top left
- In the search bar, type "Mate terminal"
- Open the Mate Terminal
- Type the following command:
sudo mousepad ~/.config/qterminal.org/qterminal.ini
You will be asked to confirm that you are sure you want to proceed with this, just go ahead :)
- That should open a file with some options. Find fontFamily and fontSize. Change them accordingly (e.g. fontSize=22)
- Save the file and exit
Now if you open the terminal from the top bar you should see the changes
Commands in this section:
- pwd (Print Working Directory)
- ls (List current directory contents)
- cd (Change Directory)
- touch (Create a file)
- mkdir (Create directory)
Commands in this section:
- rm (Remove file/dir)
- mv (move a file)
- cp (copy a file)
Other navigation tips:
- How to go straight to root directory
- How to go straight to user home directory
Commands in this section:
- cat (Show all contents of a file)
- head (Show X lines of a file from the top)
- tail (Show X lines of a file from the end)
- less (Show file contents one page at a time)
- Basics of redirection. For example send output of commands to a file, replacing or appending contents
- Start creating our security wordlist by applying simple commands to input content
Chaining commands:
- '&&' and ';' operators
Piping:
- The | operator
The "grep" command
How to use the "find" command to search for certain filenames or directory names in the whole filesystem.
This command is very useful in Hacking, for example when you are in a target system and you want to find files that might satisfy certain criteria (that are exploitable). More on this later in the course
A run through of the exercise from the previous step.
How do file extensions work in Linux.
Discover the "file" command
Show printable characters from a binary file using "strings" command
Searching filenames using:
* : for 0 or more characters
? : for 1 character
[]: for ranges of characters
Changing owner or group for a file:
- chown [new_owner] filename
- chgrp [new_group] filename
We will use a Dictionary Attack to break our password. This section shows why it is important to:
1. Have your password files appropriately secured
2. Have strong passwords
Welcome!!
It is my pleasure to welcome you in this course, which will take you through the basics of the most important Operating System in the world.
In case you wonder how important Linux is:
Well, SpaceX launched about 32000 Linux computers into space.
In 2020, Linux has been the most in-demand skill among hiring managers.
Apart from learning the basics of Linux, this course has an extra layer: that of HACKING!
In real terms, hacking is far from the "guy in the hoodie". It's a creative art, that requires constant study and learning of the ins and outs of how processes work on multiple levels.
But learning the basics of hacking some times is regarded as something too difficult to learn without prior knowledge of certain topics like Linux
So this course is for all of you that want to get a very practical "feel" of both, with Linux being the primary goal.
Here is what we will learn:
1) Linux Basics. Apart from some basic theory, this will be massively HANDS ON:
We will use the most famous Linux distribution for Ethical Hacking: Kali Linux
We will have a walkthrough of the Linux filesystem to understand what it is and how things work
We will learn many commands that go well beyond the very basics. This set of knowledge will offer you an amazing foundation to be able to familiarise with the OS and get comfortable with it
We will write scripts. It's not only about learning commands. It's about putting them together to create something meaningful
2) Hacking basics:
We will understand what hacking is and the stages of Ethical Hacking
We will learn some of the most important hacking tools and their purpose
We will crack our own password among other things!!
We will put Linux + Hacking knowledge together to build useful scripts!
As part of the above we will have also some theory. Of course the main goal is hands-on, but theory is very important to be able to understand the "why".
I want to be very involved throughout your journey. So please ask questions, send me remarks and let's make this an invaluable experience!