Join Malcolm Shore for an in-depth discussion in this video Controlling the flow in a script, part of Penetration Testing Essential Training.
- [Instructor] Bash off…is a number of flow control statements.…One of the common ones we'll be using is the for statement.…Let's look at a script which reads data from an array.…Note that when we use the at character as an index,…we get the number of elements in the array.…And note that the first array element has an index of zero…when we use the expression dollar I…to use the value of the loop variable as an array index.…We can now run the script to print out the list of names.…
We can also script two of the similar loop mechanisms…in a bash script.…The Y loop and the until loop.…Let's have a look at them.…Firstly we set the start point at six and then loop,…printing out the variable and decrementing it.…While it remains greater than zero.…Then we run an until loop.…Printing it out and incrementing it…until it's greater than six.…
Now we can run the script.…And we see the Y loop run down from six to one…and then the until loop run back up to six.…We've already seen an if else loop…but let's look at this again to see how we can check…
Cybersecurity expert Malcolm Shore reviews popular pen testing tools, as well as the Bash and Python scripting skills required to be able to acquire, modify, and re-use exploit code. He also provides a refresher on Kali Linux and introduces techniques for testing web services. At the end of this course, you'll be prepared to take more advanced training, and to pursue the popular Offensive Security Certified Professional (OSCP) certification.
- Pen testing overview
- Pen testing tools
- Bash scripting
- Python scripting
- Kali and Metasploit
- Web testing
- Finding exploit code
Skill Level Intermediate
Ethical Hacking: Penetration Testingwith Lisa Bock1h 20m Intermediate
1. What is Pen Testing?
2. Pen Testing Tools
3. Bash Scripting
4. Python Scripting
5. Kali and Metasploit
6. Web Testing
7. Understanding Exploit code
What's next1m 27s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.