Sign inSign up

jopohl/urh

By jopohl

•Updated 10 months ago

Universal Radio Hacker - Investigate wireless protocols like a boss

Image
4

4.4K

jopohl/urh repository overview

⁠Universal Radio Hacker

This is the official docker image for the Universal Radio Hacker with all optional dependencies and device backends preinstalled.

Reference: Dockerfile⁠

⁠Prerequisite

On some distributions (e.g. Arch Linux) it is necessary to allow docker to connect to your X server. To do this run xhost +local:docker

After that, there are two ways to run this container.

⁠The easy way
docker run --rm \
       -e DISPLAY=${DISPLAY} \
       -v /tmp/.X11-unix:/tmp/.X11-unix \
       -v $HOME:/root \
       --privileged \
       jopohl/urh

This will give docker access to your soundcard and all attached USB devices, so you can use them inside the container.

⁠The more secure way

If you are concerned about the --privileged flag you need to give each device you want to access from docker with the --device option like this:

docker run --rm \
       -e DISPLAY=${DISPLAY} \
       -v /tmp/.X11-unix:/tmp/.X11-unix \
       -v $HOME:/root \
       --device /dev/snd \
       --device /dev/bus/usb/001/005 \
       jopohl/urh

where /dev/snd is your soundcard and /dev/bus/usb/001/005 is a mounted USB device. You can find out the number by calling dmesg after plugging in the device.

Tag summary

Content type

Image

Digest

sha256:c2aafbc66…

Size

765.5 MB

Last updated

10 months ago

docker pull jopohl/urh