Skip to content

Instantly share code, notes, and snippets.

@mtigas
Created January 26, 2011 19:50
Show Gist options
  • Save mtigas/797308 to your computer and use it in GitHub Desktop.
Save mtigas/797308 to your computer and use it in GitHub Desktop.
Shell script to detect whether your network connection is being tapped by your IT department or ISP.
#!/bin/bash
# I take absolutely no responsibility for anything that happens when you run this.
while true; do
curl -s "http://www.google.com/?q=hardcore+porn" > /dev/null &\
curl -s "http://www.google.com/?q=kiddie+porn" > /dev/null &\
echo -n "."
sleep 5
if [ $AUTHORITIES_SHOW_UP ]; then
echo
echo
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "CONNECTION IS BEING TAPPED"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
break
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment