Book description
Master Python scripting to build a network and perform security operations
Key Features
- Learn to handle cyber attacks with modern Python scripting
- Discover various Python libraries for building and securing your network
- Understand Python packages and libraries to secure your network infrastructure
Book Description
It’s becoming more and more apparent that security is a critical aspect of IT infrastructure. A data breach is a major security incident, usually carried out by just hacking a simple network line. Increasing your network’s security helps step up your defenses against cyber attacks. Meanwhile, Python is being used for increasingly advanced tasks, with the latest update introducing many new packages. This book focuses on leveraging these updated packages to build a secure network with the help of Python scripting.
This book covers topics from building a network to the different procedures you need to follow to secure it. You’ll first be introduced to different packages and libraries, before moving on to different ways to build a network with the help of Python scripting. Later, you will learn how to check a network’s vulnerability using Python security scripting, and understand how to check vulnerabilities in your network. As you progress through the chapters, you will also learn how to achieve endpoint protection by leveraging Python packages along with writing forensic scripts. By the end of this book, you will be able to get the most out of the Python language to build secure and robust networks that are resilient to attacks.
What you will learn
- Develop Python scripts for automating security and pentesting tasks
- Discover the Python standard library s main modules used for performing security-related tasks
- Automate analytical tasks and the extraction of information from servers
- Explore processes for detecting and exploiting vulnerabilities in servers
- Use network software for Python programming
- Perform server scripting and port scanning with Python
- Identify vulnerabilities in web applications with Python
- Use Python to extract metadata and forensics
Who this book is for
This book is ideal for network engineers, system administrators, or any security professional looking at tackling networking and security challenges. Programmers with some prior experience in Python will get the most out of this book. Some basic understanding of general programming structures and Python is required.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
-
Working with Python Scripting
- Technical requirements
- Programming and installing Python
- Python collections
- Python functions and managing exceptions
- Python as an OOP language
- The OMSTD methodology and STB Module for Python scripting
- The main development environments for script-development
- Summary
- Questions
- Further reading
- System Programming Packages
- Socket Programming
- HTTP Programming
- Analyzing Network Traffic
- Gathering Information from Servers
- Interacting with FTP, SSH, and SNMP Servers
- Working with Nmap Scanners
- Connecting with the Metasploit Framework
- Interacting with the Vulnerabilities Scanner
- Identifying Server Vulnerabilities in Web Applications
- Extracting Geolocation and Metadata from Documents, Images, and Browsers
- Cryptography and Steganography
-
Assessments
- Chapter 1 : Working with Python Scripting
- Chapter 2: System Programming Packages
- Chapter 3: Socket Programming
- Chapter 4: HTTP Programming
- Chapter 5: Analyzing Network Traffic
- Chapter 6: Gathering Information from Servers
- Chapter 7: Interacting with FTP, SSH, and SNMP Servers
- Chapter 8: Working with Nmap Scanners
- Chapter 9: Connecting with the Metasploit Framework
- Chapter 10: Interacting with the Vulnerabilities Scanner
- Chapter 11: Identifying Server Vulnerabilities in Web Applications
- Chapter 12: Extracting Geolocation and Metadata from Documents, Images, and Browsers
- Chapter 13: Cryptography and Steganography
- Other Books You May Enjoy
Product information
- Title: Mastering Python for Networking and Security
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788992510
You might also like
book
Mastering Python for Networking and Security - Second Edition
Tackle security and networking issues using Python libraries such as Nmap, requests, asyncio, and scapy Key …
book
Mastering Python Networking - Third Edition
New edition of the bestselling guide to mastering Python Networking, updated to Python 3 and including …
book
Mastering Python Networking - Fourth Edition
Get to grips with the latest container examples, Python 3 features, GitLab DevOps, network data analysis, …
book
Network Programmability and Automation Fundamentals
Modernize and optimize network management with APIs and automation Legacy network management approaches dont scale adequately …