Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Raspberry PI pour les agents secrets

Raspberry PI pour les agents secrets

Utiliser Raspberry PI à 110% pour satisfaire tous les besoin d'un agent secret.

Avatar for Fedir RYKHTIK

Fedir RYKHTIK

April 10, 2014
Tweet

More Decks by Fedir RYKHTIK

Other Decks in Technology

Transcript

  1. Besoin d’un agent secret • Communication avec M • Obtenir

    l'information secrète • Défendre ça propre information • Combattre les ennemies • Agents de deuxième plan • Transport (voiture ultra hi-tech) • Gadgets
  2. Talking to people from distance • Microphone USB • Casque

    • SoX ◦ sox -d -t sox - | ssh pi@[IP address] sox -q -t sox - -d
  3. Voice transformation • SoX ◦ sox -t alsa plughw:1 -d

    reverb 99 50 0 ▪ Alpes : echo 0.8 0.9 1000 0.3 ▪ Sci-fi robot : flanger 30 10 0 100 10 tri 25 lin ▪ Shtrumpf : pitch 500
  4. Audio Recording • SoX ◦ alias record='sox -t alsa plughw:1

    -t wav - | lame -' ◦ record newrec.mp3 • tmux / screen ◦ to not break the session
  5. Audio Transmission • Remote recording ◦ ssh pi@[IP address] sox

    -t alsa plughw:1 -t wav - > ~/Desktop/myrec.wav • Speak to people ◦ sox -d -t sox - | ssh pi@[IP address] sox -q -t sox - -d
  6. Recording the video stream • VLC ◦ vlc http://[IP address]:8080/?action=stream

    -- sout='#standard{mux=avi,dst=/home/[username] /Desktop/myvideo.avi,access=file}'
  7. Viewing Your webcam • Video ◦ vlc http://[IP address]:8080/?action=stream •

    Audio ◦ ssh pi@[IP-address] sox -t alsa plughw:1 -t sox - | sox -q -t sox - -d
  8. Analyzing packet dumps • logging ◦ sudo ettercap -q -T

    -i wlan0 -M arp:remote -d -w mycapture.pcap /[Router IP]/ /[PC IP]/ • Analyzing ◦ ssh pi@[IP address] cat /home/pi/kismetlogs/Kismet- XXXX.pcapdump | wireshark -k -i -
  9. Références • http://www.tuxboard.com/gadgets-des-agents-secrets/ • http://projectsentrygun.rudolphlabs.com/ • http://www.geek.com/news/autonomous-nerf-sentry-gun-picks-its-targets-protects-your-toy- chest-1561381/ • http://blog.kaazing.com/2013/04/01/remote-controlling-a-car-over-the-web-ingredients-

    smartphone-websocket-and-raspberry-pi/ • http://www.raspberrypi.org/raspberry-pi-car-computer/ • http://oversimple.fr/alarme-de-maison-avec-un-raspberry-pi/ • http://fr.farnell.com/raspberry-pi-accessories • http://korben.info/idees-raspberry-pi.html