Skip to content

Commit

Permalink
add QQ
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrights committed Apr 17, 2021
1 parent efb4c04 commit c136526
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This script is used to install the official binary package of Tencent QQ,
the famous malware (and instant messaging software in Chinese).

There is firejail's qq.profile for you to use it safely (thus QQ cannot spy your filesystem).
65 changes: 65 additions & 0 deletions qq.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Firejail profile for Tencent QQ.
# Persistent local customizations
include qq.local
# This profile is based (forked) on:
# include default.profile

# generic gui profile
# depending on your usage, you can enable some of the commands below:

blacklist /opt
read-only /etc

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-write-mnt.inc
include disable-xdg.inc

# include whitelist-common.inc
# include whitelist-usr-share-common.inc
include whitelist-runuser-common.inc
# include whitelist-var-common.inc

# apparmor
caps.drop all
# ipc-namespace
machine-id
# net none
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
# tracelog

disable-mnt
private
# private-bin program
# private-cache
# private-dev
# see /usr/share/doc/firejail/profile.template for more common private-etc paths.
# private-etc alternatives,fonts,machine-id
# private-lib
# private-opt none
# private-tmp

dbus-user filter
dbus-user.talk org.freedesktop.portal.Fcitx
#dbus-user none
dbus-system none

memory-deny-write-execute
#read-only ${HOME}

0 comments on commit c136526

Please sign in to comment.