Course · Pro

Python for Cybersecurity

By Wanderson Leandro de Oliveira

This course assumes you already know Python Intermediate — classes and objects, working with the requests library, JSON, decorators, context managers and basic testing — and builds security skills on top of that foundation. You will script with sockets, parse and analyze logs, build a simple port scanner, query DNS and WHOIS, capture packets with Scapy, test APIs and detect common web vulnerabilities, work with hashing, HMAC and the cryptography library, automate defensive checks like dependency audits and file integrity monitoring, and finish by building a small CLI security scanner. Every scanning or reconnaissance example in this course targets localhost, 127.0.0.1, or clearly fictitious example hosts — never scan or test a system you do not own or have explicit authorization to test.

Course content

Security scripting fundamentals

Reconnaissance and networking

Web and APIs

Cryptography and hashing in Python

Defensive automation

Hands-on project