Chapter 6. Image Analysis and Manipulation
In this chapter, we will cover the following recipes:
- Hiding a message by using LSB steganography
- Extracting message hidden in LSB
- Hiding text in image
- Extracting text from images
- Command and control by using steganography
Introduction
Steganography is the art of hiding data in plain sight. This can be useful if you want to mask your tracks. We can use steganography to evade detection by firewalls and IDS. In this chapter, we are going to look at some of the ways in which Python can help us to hide data within images. We will go through some basic image steganography using the least significant bit (LSB) to hide our data, and then we will create a custom steganography function. The culmination of this chapter ...
Get Python Web Penetration Testing Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.