Raspberry Pi for Secret Agents - Second Edition

Raspberry Pi for Secret Agents - Second Edition

Stefan Sjogelid

Language: English

Pages: 191

ISBN: 1784397903

Format: PDF / Kindle (mobi) / ePub


Turn your Raspberry Pi into your very own secret agent toolbox with this set of exciting projects

About This Book

  • Turn your Raspberry Pi into a multipurpose secret agent gadget for audio/video surveillance, Wi-Fi exploration, or playing pranks on your friends
  • Detect an intruder on camera and set off an alarm and also find out what the other computers on your network are up to
  • Full of fun, practical examples and easy-to-follow recipes, guaranteeing maximum mischief for all skill levels

Who This Book Is For

This book is an easy-to-follow guide with practical examples in each chapter. Suitable for the novice and expert alike, each topic provides a fast and easy way to get started with exciting applications and also guides you through setting up the Raspberry Pi as a secret agent toolbox.

What You Will Learn

  • Install and configure the Raspbian OS for maximum mischief
  • Run your own private phone network
  • Detect an intruder with motion detection and set off an alarm
  • Distort your voice in weird and wonderful ways
  • Push unexpected images into browser windows
  • Track the Pi's whereabouts using GPS
  • Control the Pi with your smartphone

In Detail

The book starts out with the initial setup of your Raspberry Pi, guides you through a number of pranks and secret agent techniques, and then shows you how to apply what you've learned out in the real world.

Learn how to configure your operating system for maximum mischief and start exploring audio, video, or Wi-Fi techniques. You will learn how to record, listen, or talk to people from a distance and how to set up your own phone network. Then, plug in your webcam and set up a motion detector with an alarm or find out what the other computers on your Wi-Fi network are up to. Once you've mastered the techniques, combine them with a battery pack and GPS for the ultimate off-road spy kit.

Raspberry Pi for Secret Agents, Second Edition has everything you need to turn your Raspberry Pi into an information-gathering powerhouse. Use the practical spy and pranking techniques to amuse yourself or your friends.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

use your number keys 1 to 9 to trigger the samples and CTRL + C to quit: pi@raspberrypi ~ $ while true; do read -n 1 -s; sox ~/ sample00$REPLY.wav -d; done This is a small piece of bash script where the commands have been separated with the ; character instead of spreading over multiple lines. It starts off with a while true infinite loop, which makes the commands that follow repeat over and over again forever. The next command is read -n 1 -s, which reads one character from the keyboard and

to perform our prank, together with an at timer in /etc/rc.local that starts counting down when the Pi is plugged in at your friend's house. Here's the new ~/autorun.sh script: #!/bin/sh # # Raspberry Pi Video Prank Script # Use chmod +x ~/autorun.sh to enable. CREEPY_MOVIE="AJn5Y65GAkA.mp4" # Creepy movie to play, located in the Pi home directory MOVIE_LOOPS="1" # Number of times to play creepy movie (1 by default) MOVIE_SLEEP="3600" # Number of seconds to sleep between movie plays (1 hour by

Often you'll want to specify two targets, which is excellent for watching all traffic between two hosts, the router and one computer for example. How encryption changes the game Before we move on to the next example, we need to talk about encryption. As long as the network packets are sent in plaintext (unencrypted—in the clear), Ettercap is able to dissect and analyze most packets. It will even catch and report the usernames and passwords used to log in to common network services. For example,

plugins that can be loaded from interactive mode with the P key or directly on the command line using the -P argument. We'll be looking at the sneaky remote_browser plugin that allows us to create a "shadow browser" that mimics the surfing session of the browser on a remote computer. When the remote computer surfs to a site, the plugin will instruct your elinks to also go to that site. To try this out, you need to start elinks first in one terminal session, as root: pi@raspberrypi ~ $ sudo elinks

it as an administrator by right-clicking on the application and selecting Run as administrator. 5. Select the IMG file you extracted earlier and choose the volume letter of your SD card slot from the Device drop-down menu. It is very important to verify that you have the correct volume of your SD card! Finally, click on Write and wait for the process to finish. SD card image writing in Mac OS X or Linux Two things are needed to prepare your SD card – an uncompressed image and an image writer

Download sample

Download