English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 53 lectures (4h 56m) | 1.84 GB
Python without all of the extra hogwash
In this course, I will take a different approach to teaching Python. One that teaches error handling and interactivity from the first Python script. This is specifically catered to anyone who is interested in or is learning cybersecurity, especially if you are scared of coding! A good number of software vulnerabilities have “input validation and error handling” as mitigation and by the time you are done with my course, you will fully understand what that means.
Also, there is no way that you can actually learn python without coding and building your own things. This is why I have several coding exercises ready for you to do! Although I do encourage you to do something on your own that you are capable of each step of the way. Don’t be scared to run into walls because only them can you send them crashing down!
I also have another course called “Cybersecurity Prep Course for Absolute Beginners” so please do check that out if you are trying to get into cybersecurity as well.
Why do I take this approach to teach Python? One thing is that unless a program is interactive it is boring. Another thing is that most applications, especially ones that are attacked, are interactive. User input is one of the most popular ways to exploit a program. You will learn exactly why that is.
You may have also heard of an API. You will learn exactly what this is and we will be using Python to interact with it. This will allow you to understand the security concepts behind this. This is vital given that most web applications use at least one third-party API for things like handling payments, sending text messages or emails, etc.
Finally, I will show you the low level of how servers work because we are going to code our very own by teaching you how to use the sockets library!!
What you’ll learn
- Use Visual Studio Code with proficiency
- Create and run python files
- Create interactive python programs
- Use condition statements in python
- Use loops in python
- Write functions in python
- Understand Lists and Dictionaries in python
- Handle errors properly in python
- Write python programs that make API calls
- Create python programs that communicate over a network using sockets
Table of Contents
Getting Started
1 Intro
Environment Setup
2 BEFORE YOU GET STARTED
3 Installing Python
4 Installing VS Code and Extensions
The Fundamentals
5 Running Your Python Files Hello World
6 Input Input Input
7 Variables
8 f Strings
9 Error Handling Part 1
10 If Statements
11 While Loop
12 For Loop
13 Lists
14 Dictionaries
15 Functions
Object Oriented Programming
16 Everything is an Object
17 Creating Our First Object
18 Importing Packages
Lets Make API Requests
19 What IS an API
20 Requests Package
21 JSON Package
22 Consuming an API Simple
23 Consuming an API Complex
Sockets
24 Sockets and Cybersecurity
25 What is a Socket
26 How Sockets Will Work
27 Why Encode
28 Part 1 Socket Bind Listen Accept
29 Part 2 Socket Connect
30 Part 3 Sending Receiving and Closing the Connection
Hashing Passwords
31 Hashing and Bcrypt Setup
32 Implementing Hashing
33 Checking Hashes
Requests Library InDepth RealWorld Scripting
34 Getting Ready
35 Response Object InDepth
36 Crafting Requests
37 Manipulating Headers Pretending to be a Googlebot
38 Specific Exceptions
39 Github API Project Setup and Requirements
40 Github API Project Struggle and Finale
Reading and Writing to files and Logging
41 Writing to Files
42 From File to List
43 Handling Files the Right Way
44 Hiding Sensitive Information
45 Logging with Python
Sending Email with Python ProjectBased Instruction
46 Project Info
47 Consuming the API
48 Extracting Our Data
49 Refactoring and Global Variables
50 Setting up our credentials
51 Sending The Email
52 Exceptions Exceptions Exceptions
53 Logging and Finishing Touches
Resolve the captcha to access the links!