Mastering python for networking and security :

Ortega, José Manuel,

Mastering python for networking and security : leverage the scripts and libraries of Python version 3.7 and beyond to overcome networking and security issues / José Manuel Ortega. - Second edition. - Birmingham : Packt Publishing 2021 - xvi, 515 pages : illustrations ; 24 cm.

Includes index.

Section 1: The Python environment and system programming tools. 1. Working with Python scripting -- 2. System programming packages -- Section 2: Network scripting and extracting information from the Tor Network with Python. 3. Socket programming -- 4. HTTP programming -- 5. Connecting to the Tor Network and discovering hidden services -- Section 3: Server scripting and port scanning with Python. 6. Gathering information from servers -- 7. Interacting with FTP, SFTP, and SSH servers -- 8. Working with Nmap scanner -- Section 4: Server vulnerabilities and security in Python modules. 9. Interacting with vulnerability scanners -- 10. Identifying server vulnerabilities in web applications -- 11. Security and vulnerabilities in Python modules -- Section 5: Python forensics. 12. Python tools for forensics analysis -- 13. Extracting geolocation and metadata from documents, images, and browsers -- 14. Cryptography and steganography.

It's now more apparent than ever that security is a critical aspect of IT infrastructure, and that devastating data breaches cccan occur from simple network line hacks. As shown in this book, combining the latest version of Python with an increased focus on network security can help you to level up your defenses against cyber attacks and cyber threats. Python is being used for increasingly advanced tasts, with the latest update introducing new libraries and packages featured in the Python 3.7.4 recommended version. Moreover, most scripts are compatible with the latest versions of Python and can also be executed in a virtual environment. This book will guide you through using these updated packages to build a secure network with the help of Python scripting. You'll cover a range of topics, from building a network to the procedures you need to follow to secure it. Starting by exploring different packages and libraries, you'll learn about various ways to build a network and connect with the Tor network through Python scripting. You will also learn how to assess a network's vulnerabilities using Python security scripting. Later, you'll learn how to achieve endpoint protection by leveraging Python packages, along with writing forensic scripts. By the end of this Python book, you'll be able to use Python to build secure apps using cryptographies steganography techniques.


Python (Computer program language)
Computer security.
Computer networks--Security measures.
HTTP (Computer network protocol)--Programming.
Computer networks--Security measures.

005.8 OR.M 2020