Google Is Watching You

by _Marcel_ in Craft > Art

45 Views, 1 Favorites, 0 Comments

Google Is Watching You

DarkFace.jpg

Google is always watching you! Come closer and experience the terrifying amount of requests your PC or laptop makes with Google. This Dark Face has sinister red eyes that flash every time your PC connects to Google.

Supplies

2 red LED's, 2 resistors of 220 ohm

1 WeMos D1 Mini

3D Printer

Your (Linux based) PC that you want to monitor

Make the Hardware

back.png
schematic.png
eye.png

Use your 3D printer to print the face. The STL file can be printed without supports using a creepy looking black color or any other color you want. PLA or any other material.

I added a brim for stability.

When the face has been printed you can add the D1 Mini, LED's and resistors. Connect the resistors in series with the LED's. Connect an LED to pins D1 and D2 (see schematic diagram). If you want you can use the OpenScad file or the Eye.stl file to create a holder for the LED.

The Software

Upload the Arduino code (see file below) to the D1 Mini. But before you do that change the values of the ISSD/Password and IP address to your own values.

After that execute the following lines of code once on your PC:

sudo chmod +x /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap

If you encounter an error it means probably that a program called tshark has not been installed. Install it using:

sudo apt install tshark


Downloads

Pretend Nothing Is Wrong

The Dark Face

Start the file beeper.sh (see below) in a terminal window. It remains running in the background. Now use your favorite browser and browse the web as you would normally do.

The red lights of the face flash each time a Google server is hit. You can place the face wherever you want in your home.

The script beeper.sh needs a file called google.txt, you can download that file below. The file beeper.sh itself is this:

#!/bin/bash

curl --connect-timeout 3 --max-time 5 http://192.168.0.99
# Load patterns from google.txt into an array
mapfile -t google_patterns < google.txt

# Start monitoring HTTP- and HTTPS-traffic using tshark
# sudo is not required since you have to execute setrights.sh once
stdbuf -oL tshark -Y 'http.host || ssl.handshake.extensions_server_name' -T fields -e http.host -e ssl.handshake.extensions_server_name | while read -r line; do
for pattern in "${google_patterns[@]}"; do
if [[ $line == *"$pattern"* ]]; then
echo "X$line"
curl --connect-timeout 2 --max-time 2 http://192.168.0.99
break
fi
done
done

Downloads