Control firejail and tor desktop integration.
Project description
Anonjail
anonjail is a tool to integrate Firejail + Tor sandboxing in the Linux desktop. Enable anonjail for an application and enjoy a more private and more secure desktop.
Those are the real coders behind this code, i’ve only made some brainless tweaks:
https://github.com/orjail/orjail & https://github.com/rahiel/firectl
Install
Automatic anonjail install with pip (debian10 based distros running GNOME only for naw. I know im so sorry):
sudo pip3 install anonjail --install-option="--autoinstall=y"
Install anonjail and do other steps separately:
sudo pip3 install anonjail
Dependencies
sudo apt-get -y update
sudo apt-get -y install bc tor firejail python3-pip
Extra steps (Enabling services and FireJail networking)
sudo systemctl enable tor --now
sudo systemctl enable apparmor --now
sudo sed -i 's/restricted-network yes/restricted-network no/g' /etc/firejail/firejail.config
If you r running Kali
git clone https://github.com/annoyinganongurl/kali-firejail-profiles.git
cp -R kali-firejail-profiles/* /etc/firejail/
rm -rf kali-firejail-profiles
Uninstall
To uninstall anonjail:
sudo pip3 uninstall anonjail
Usage
To see which applications owning a personal FJ profile you can enable and current config infos:
anonjail status
To see which applications with no personal FJ profile you can enable:
anonjail showapps
To enable firejail for a program:
sudo anonjail enable [name]
ex : sudo anonjail enable firefox
To disable firejail for a program:
sudo anonjail disable [name]
ex : sudo anonjail disable firefox
To enable tor + firejail for all program:
sudo anonjail enable --all --tor
To enable tor + firejail anonjail for a program:
sudo anonjail enable [name] --tor
ex : sudo anonjail enable firefox --tor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for anonjail-1.5.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2119e113cb177e8eee0e481c94d1ca9cf7157ab43913560991a8c86f6c1e448f |
|
MD5 | 39c1dcb0dd4e797ef2a0a7dfba034431 |
|
BLAKE2b-256 | d424f1a79b231335727a09959a4196a31a50a81e909567432b73fc872e3ada58 |