Useful Links
Computer Science
Cybersecurity
Python for Ethical Hacking
1. Introduction to Python for Ethical Hacking
2. Setting Up the Development Environment
3. Python Programming Fundamentals
4. Core Networking with Python
5. Reconnaissance and Information Gathering
6. Network Traffic Analysis and Manipulation
7. Web Application Security Testing
8. Web Vulnerability Exploitation
9. System Exploitation and Post-Exploitation
10. Advanced Python Security Techniques
11. Tool Development and Automation
Python Programming Fundamentals
Basic Syntax and Data Types
Python Syntax Overview
Indentation and Code Structure
Statement Termination
Case Sensitivity
Variables and Assignments
Variable Naming Conventions
Dynamic Typing
Multiple Assignments
Numeric Data Types
Integers
Floating Point Numbers
Complex Numbers
Numeric Operations
String Data Type
String Creation and Literals
String Methods and Operations
String Formatting Techniques
Regular Expressions with Strings
Boolean Data Type
Boolean Values and Operations
Truthiness and Falsiness
Boolean Context in Control Flow
Comments and Documentation
Single-line Comments
Multi-line Comments
Docstrings and Documentation
Data Structures
Lists
List Creation and Initialization
Indexing and Slicing
List Methods and Operations
List Comprehensions
Nested Lists
Tuples
Tuple Creation and Properties
Immutability Characteristics
Tuple Operations and Methods
Tuple Unpacking
Dictionaries
Dictionary Creation and Structure
Key-Value Pair Operations
Dictionary Methods
Dictionary Comprehensions
Nested Dictionaries
Sets
Set Creation and Properties
Set Operations and Methods
Set Comprehensions
Frozen Sets
Control Flow Structures
Conditional Statements
if Statements
elif Statements
else Statements
Nested Conditionals
Ternary Operators
Loop Structures
for Loops
Iterating Over Sequences
Range Function Usage
Enumerate and Zip Functions
while Loops
Loop Conditions
Infinite Loops and Prevention
Loop Control Statements
break Statement
continue Statement
else Clause in Loops
Functions and Modularity
Function Definition and Calling
Function Syntax
Function Parameters
Return Statements
Advanced Function Concepts
Default Arguments
Keyword Arguments
Variable-Length Arguments
Lambda Functions
Variable Scope and Lifetime
Local Scope
Global Scope
Nonlocal Scope
LEGB Rule
File Input and Output
File Operations
Opening and Closing Files
File Modes and Permissions
Context Managers and with Statement
Reading from Files
Reading Methods
Line-by-Line Processing
Binary File Reading
Writing to Files
Writing Methods
Appending to Files
Binary File Writing
File Path Management
os Module for Path Operations
pathlib Module for Modern Path Handling
Cross-Platform Path Compatibility
Modules and Packages
Module System
Importing Modules
Standard Library Modules
Third-Party Module Installation
Module Search Path
Creating Custom Modules
Module Structure
Module Documentation
Module Testing
Package Organization
Package Structure
init.py Files
Subpackages
Package Distribution
Error and Exception Handling
Exception Handling Mechanisms
try-except Blocks
except Clause Variations
finally Blocks
else Clause in Exception Handling
Exception Types and Hierarchy
Built-in Exception Types
Custom Exception Classes
Exception Inheritance
Exception Management
Raising Exceptions
Re-raising Exceptions
Exception Chaining
Debugging and Assertions
Using Assertions
Debugging Techniques
Logging for Error Tracking
Previous
2. Setting Up the Development Environment
Go to top
Next
4. Core Networking with Python