trailofbits / differ

Detecting Inconsistencies in Feature or Function Evaluations of Requirements
GNU Affero General Public License v3.0
67 stars 4 forks source link

Support sudo #70

Open ameily opened 1 year ago

ameily commented 1 year ago

Some samples will require running as root via sudo, such as tcpdump (#69) when capturing network traffic. Right now, sudo pipenv does not work because the venv is stored in the user's home directory, not /root.

This is only a problem for 1 sample at the moment so I don't want to make differ require sudo for everything. This problem theoretically goes away if we run samples within docker (assuming the current user is part of the docker group).