In this section of the course,
we're going to dive into the world of scripting.
Don't worry if you've never written a lot of code before.
We're going to break down the fundamentals and show you
how these power tools can be modified to fit your needs
in a penetration testing scenario.
As stated before, scripts are essential tools
for scanning networks and automating attacks,
making them important for meeting our testing goals.
They help make complex tests simpler and ensure
our security checks are more thorough and precise.
Our focus in this section will be sent around Domain 2,
Reconnaissance and Enumeration.
In this section, we will circle back to Objective 2.3,
which states that given a scenario, we must be able
to modify script for reconnaissance and enumeration,
which emphasizes the importance
of being able to understand and tweak scripts.
Scripts are like recipes,
with a bit of know-how we can change them
to suit the exact flavor that we're after.
We'll cover the three main types of scripts
that you should have come across.
First, we'll start with Bash Fundamentals.
Bash is the go-to scripting language
for anyone navigating the Linux environment.
We'll go over the basics so you'll feel right at home
with command lines and terminal windows.
Second, we'll walk through a demo
to understand a Bash Script.
I'll show you how to read a script,
understand what it's doing, and why each part is important.
Third, we'll roll up our sleeves and modify a Bash Script.
You'll see a live demo of how to take a script,
tweak it to do something new,
or maybe add a new fixture and automate a new task.
Fourth, after Bash, we'll move on to PowerShell.
PowerShell is what Windows administrators use
to manage their systems.
It's powerful and versatile, and we'll break down
how it works so it's not so intimidating.
Fifth, we'll discover what's under a PowerShell Script.
We'll dissect a script together,
line by line, in another demo.
You'll learn how to read code
and get a sense of the script's flow.
Six will modify the same PowerShell Script.
I'll demonstrate how to make changes to a script
that alters behavior and customize it for our own use.
Seventh, now, we can't talk about scripting
without discussing Python.
Python Fundamentals will introduce you
to one of the most popular programming languages
in the world of security.
It's easy to read, easy to learn, and incredibly powerful.
Eighth, we'll dive deeper into lesson
Understanding a Python Script,
which will be our chance to look
at how Python scripts are structured.
We'll do this through our hands-on demo, taking a script
and breaking it down to see how it works.
And finally, the lesson Modifying a Python Script
will show you how to take what we've learned
and put it all into practice.
We'll modify the existing script and perform a new task
or make it work in a new way,
which will be demonstrated live.
Now, just as in the other sections, we'll take a short quiz
to see what you learned during this section in the course,
and review each of those quiz questions fully
to ensure that you can explain why each answer was right.
So let's jump into the art of script modifications.