Introduction to Python for Security

Python is one of the most powerful programming languages for ethical hacking. This course introduces Python’s basic syntax, with a focus on applying the correct logic when writing code, & Python’s development environment, advanced data structure, file system, OS modules, & functions.

In addition, the course covers Python usage for network communication, web fetching, parsing, and data extraction. This course features hands-on simulations provided by @Cywar – a gamified training and assessment platform by HackerU Solutions.

Category:

Description

Prerequisites :
-Working knowledge of the Windows OS
-Working knowledge of the Linux OS
-Knowledge of 3rd party application installations (such as IDEs)
-Good knowledge of at least one programming language

Module 1:
Introduction To Python
-Introduction to code programming
-Python installation.
-PyCharm IDE installation
-Creating Project & Python Env configuration
-Basic Syntax, String Formation & code Execution.

Module 2:
Data Types & Conditions
-Variables with Different Data Types
-Operators, Comparative & Arithmetic
-Type Casting
-Dictionary, Tuple & lists
-Nested Lists

Module 3:
Loops
-For Loops, over Lists
-While Loops
-Break & Continue Uses
-Strings Manipulation
-Combining Loops & Conditions

Module 4:
File System & Error Handling
-Try & Except
-Exceptions Types.
-Error Handling, full Methodology
-File Permissions – Create, Append, read & Write
-OS System Module Functions
-Platform Module Functions
-Log File Parsing

Module 5:
Function & Code Handling
-Functions Structure & uses
-Return Different Data Types
-Parameters in Functions
-Recursion Function and its uses.
-Scope & Global Keyword
-OOP & Proper Code Management

Module 6:
Network Communication
-Introduction to SOCKET library
-Creating Client Socket
-Creating Server Socket
-Sanding & Receiving Data
-Set Echo Communication, Client Vs Server
-Retrieving Data using OS Module

Module 7:
Web Fetching & Parsing
-Web Communication library
-Requests GET functions
-Requests Sessions
-Requests with Parameters
-Requests Via Post
-Beautiful Soup library
-Filter & search with bs4
-Extracting Data from Web

Datasheets

  • Datasheet 1

Video



Categories


Partners: HackerU


Available Training: HackerU Offensive Cybersecurity