Python for Secret Agents - Volume II

Gather, analyze, and decode data to reveal hidden facts using Python, the perfect tool for all aspiring secret agents
Preview in Mapt

Python for Secret Agents - Volume II

Steven F. Lott

1 customer reviews
Gather, analyze, and decode data to reveal hidden facts using Python, the perfect tool for all aspiring secret agents
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.00
RRP $19.99
Save 29%
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.00
$24.99
$29.99p/m after trial
RRP $19.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Python for Secret Agents - Volume II Book Cover
Python for Secret Agents - Volume II
$ 19.99
$ 14.00
Raspberry Pi for Secret Agents - Third Edition Book Cover
Raspberry Pi for Secret Agents - Third Edition
$ 27.99
$ 19.60
Buy 2 for $31.50
Save $16.48
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781785283406
Paperback180 pages

Book Description

Python is easy to learn and extensible programming language that allows any manner of secret agent to work with a variety of data. Agents from beginners to seasoned veterans will benefit from Python's simplicity and sophistication. The standard library provides numerous packages that move beyond simple beginner missions. The Python ecosystem of related packages and libraries supports deep information processing.

This book will guide you through the process of upgrading your Python-based toolset for intelligence gathering, analysis, and communication. You'll explore the ways Python is used to analyze web logs to discover the trails of activities that can be found in web and database servers. We'll also look at how we can use Python to discover details of the social network by looking at the data available from social networking websites.

Finally, you'll see how to extract history from PDF files, which opens up new sources of data, and you’ll learn about the ways you can gather data using an Arduino-based sensor device.

Table of Contents

Chapter 1: New Missions – New Tools
Background briefing on tools
Background briefing: review of the Python language
Mission One – upgrade Beautiful Soup
Doing other upgrades
Mission to expand our toolkit
Summary
Chapter 2: Tracks, Trails, and Logs
Background briefing – web servers and logs
Writing a regular expression for parsing
Reading and understanding the raw data
Reading remote files
Studying a log in more detail
What are they downloading?
Trails of activity
Who is this person?
Getting logs from a server with ftplib
Summary
Chapter 3: Following the Social Network
Background briefing – images and social media
Who's doing the talking?
What do they seem to be talking about?
What are they posting?
Deep Under Cover – NLTK and language analysis
Summary
Chapter 4: Dredging up History
Background briefing–Portable Document Format
Extracting PDF content
Getting text data from a document
Understanding tables and complex layouts
Summary
Chapter 5: Data Collection Gadgets
Background briefing: Arduino basics
Starting with the digital output pins
Mastering the Arduino programming language
Seeing a better blinking light
Simple Arduino sensor data feed
Collecting analog data
Collecting bulk data with the Arduino
Data modeling and analysis with Python
Reducing noise with a simple filter
Solving problems adding an audible alarm
Summary

What You Will Learn

  • Upgrade Python to the latest version and discover its latest and greatest tools
  • Use Python libraries to extract data from log files that are designed more for people to read than for automated analysis
  • Summarize log files and extract meaningful information
  • Gather data from social networking sites and leverage your experience of analyzing log files to summarize the data you find
  • Extract text and images from social networking sites
  • Parse the complex and confusing data structures in a PDF file to extract meaningful text that we can analyze
  • Connect small, intelligent devices to our computer to use them as remote sensors
  • Use Python to analyze measurements from sensors to calibrate them and use sensors efficiently

Authors

Table of Contents

Chapter 1: New Missions – New Tools
Background briefing on tools
Background briefing: review of the Python language
Mission One – upgrade Beautiful Soup
Doing other upgrades
Mission to expand our toolkit
Summary
Chapter 2: Tracks, Trails, and Logs
Background briefing – web servers and logs
Writing a regular expression for parsing
Reading and understanding the raw data
Reading remote files
Studying a log in more detail
What are they downloading?
Trails of activity
Who is this person?
Getting logs from a server with ftplib
Summary
Chapter 3: Following the Social Network
Background briefing – images and social media
Who's doing the talking?
What do they seem to be talking about?
What are they posting?
Deep Under Cover – NLTK and language analysis
Summary
Chapter 4: Dredging up History
Background briefing–Portable Document Format
Extracting PDF content
Getting text data from a document
Understanding tables and complex layouts
Summary
Chapter 5: Data Collection Gadgets
Background briefing: Arduino basics
Starting with the digital output pins
Mastering the Arduino programming language
Seeing a better blinking light
Simple Arduino sensor data feed
Collecting analog data
Collecting bulk data with the Arduino
Data modeling and analysis with Python
Reducing noise with a simple filter
Solving problems adding an audible alarm
Summary

Book Details

ISBN 139781785283406
Paperback180 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Arduino Development Cookbook Book Cover
Arduino Development Cookbook
$ 35.99
$ 3.60
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Python for Secret Agents Book Cover
Python for Secret Agents
$ 16.99
$ 3.40
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Python Data Analysis Book Cover
Python Data Analysis
$ 29.99
$ 21.00
Modern Python Cookbook Book Cover
Modern Python Cookbook
$ 39.99
$ 28.00