Skip to Content
Python Web Penetration Testing Cookbook
book

Python Web Penetration Testing Cookbook

by Cameron Buchanan, Terry Ip, Andrew Mabbitt, Benjamin May
June 2015
Intermediate to advanced
224 pages
4h 13m
English
Packt Publishing
Content preview from Python Web Penetration Testing Cookbook

Hiding a message using LSB steganography

In this recipe, we are going to create an image that hides another, using LSB steganography methods. This is one of the most common forms of steganography. As it's no good just having a means to hide the data, we will also be writing a script to extract the hidden data too.

Getting ready

All of the image work we will encounter in the chapter will make use of the Python Image Library (PIL). To install the Python image libraries by using PIP on Linux, use the following command:

$ pip install PIL

If you are installing it on Windows, you may have to use the installers that is available at http://www.pythonware.com/products/pil/.

Just make sure that you get the right installer for your Python version.

It is worth ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Penetration Testing Cookbook

Python Penetration Testing Cookbook

Rejah Rehim
Python: Penetration Testing for Developers

Python: Penetration Testing for Developers

Christopher Duffy, Mohit, Cameron Buchanan, Terry Ip, Andrew Mabbitt, Benjamin May, Dave Mound

Publisher Resources

ISBN: 9781784392932Supplemental Content