Book Image

Raspberry Pi for Secret Agents - Second Edition

By : Stefan Sjogelid
Book Image

Raspberry Pi for Secret Agents - Second Edition

By: Stefan Sjogelid

Overview of this book

Table of Contents (12 chapters)
Raspberry Pi for Secret Agents Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

The Raspberry Pi was developed with the intention of promoting basic computer science in schools, but the Pi also represents a welcome return to simple, fun, and open computing.

Using gadgets for purposes other than those intended, especially for mischief and pranks, has always been an important part of adopting a new technology and making it your own.

With a $25 Raspberry Pi computer and a few common USB gadgets, anyone can afford to become a secret agent.

What this book covers

Chapter 1, Getting Up to No Good, takes you through the initial setup of the Raspberry Pi and preparing it for sneaky headless operations over the network.

Chapter 2, Audio Antics, teaches you how to eavesdrop on conversations or play pranks on friends by broadcasting your own distorted voice from a distance.

Chapter 3, Webcam and Video Wizardry, shows you how to set up a webcam video feed that can be used to detect intruders, or to stage a playback scare.

Chapter 4, Wi-Fi Pranks – Exploring Your Network, teaches you how to capture, manipulate, and spy on the traffic that flows through your network.

Chapter 5, Taking Your Pi Off-road, shows you how to encrypt your Pi and send it away on missions while keeping in touch via smartphone, GPS, and Twitter updates.

What you need for this book

The following hardware is recommended for maximum enjoyment:

  • The Raspberry Pi computer (Model A, B or B+)

  • An SD card (4 GB minimum)

  • A powered USB hub (projects verified with Belkin F5U234V1)

  • A PC/laptop running Windows, Linux, or Mac OS X with an internal or external SD card reader

  • A USB microphone

  • A camera module or USB webcam (projects verified with Logitech C110)

  • A USB Wi-Fi adapter (projects verified with TP-Link TL-WN822N)

  • A USB GPS receiver (projects verified with Columbus V-800)

  • A lithium polymer battery pack (projects verified with DigiPower JS-Flip)

  • An Android phone or iPhone (projects verified with HTC Desire and iPhone 4s)

All software mentioned in this book is free of charge and can be downloaded from the Internet.

Who this book is for

This book is for all the mischievous Raspberry Pi owners who would like to see their computer transformed into a neat spy gadget to be used in a series of practical pranks and projects. No previous skills are required to follow the book, and if you're completely new to Linux, you'll pick up most of the basics along the way.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Log in as pi and enter the password you chose earlier with raspi-config."

A block of code is set as follows:

self_destruct() {
  pkill -KILL -u pi
  umount /home/pi
  rm -rf /home/pi
  mkhomedir_helper pi
  rm -rf /home/.ecryptfs
  rm -f $COUNTFILE
  # rm -f /home/slatfatf.sh
}

Any command-line input or output is written as follows:

pi@raspberrypi ~ $ ip addr show wlan0

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Under the Channel group, click on Remote."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.