Anonjail
K.
|pyversions|
anonjail is a tool to integrate Firejail + Tor <https://firejail.wordpress.com/>
__ 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):
.. code:: bash
sudo pip3 install anonjail
Anonjail self install and config dependencies
Supported distros : Debian
.. code:: bash
sudo anonjail install
Install dependencies manually
.. code:: bash
sudo apt-get -y update
sudo apt-get -y install bc tor firejail python3-pip
Extra manual steps (Enabling services and FireJail networking)
.. code:: bash
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
.. code:: bash
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:
.. code:: bash
sudo pip3 uninstall anonjail
Usage
To see which applications owning a personal FJ profile you can enable
and current config infos
.. code:: bash
anonjail status
To see which applications with no personal FJ profile you can enable
.. code:: bash
anonjail showapps
To enable firejail for a program
.. code:: bash
sudo anonjail enable [name]
ex : sudo anonjail enable firefox
To disable firejail for a program
.. code:: bash
sudo anonjail disable [name]
ex : sudo anonjail disable firefox
To enable tor + firejail for all program
.. code:: bash
sudo anonjail enable --all --tor
To enable tor + firejail anonjail for a program
.. code:: bash
sudo anonjail enable [name] --tor
ex : sudo anonjail enable firefox --tor
.. |pyversions| image:: https://img.shields.io/badge/python-3.3%2B-blue.svg
:target: https://pypi.org/project/anonjail/