diff options
author | terminaldweller <thabogre@gmail.com> | 2022-12-05 20:49:04 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-12-05 20:49:04 +0000 |
commit | 2077fba8a11ab148c229d93842a9cc6b74f649b9 (patch) | |
tree | 4449a2b077ceae4a3c888726cd4e45ae6b7cd41b /irssi | |
parent | update (diff) | |
download | scripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.tar.gz scripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.zip |
update
Diffstat (limited to 'irssi')
-rwxr-xr-x | irssi/irssi_bw.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/irssi/irssi_bw.sh b/irssi/irssi_bw.sh new file mode 100755 index 0000000..7f816f6 --- /dev/null +++ b/irssi/irssi_bw.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env sh + +env -i \ + bwrap \ + --unshare-all --share-net \ + --ro-bind /usr/bin/irssi /usr/bin/irssi \ + --ro-bind /lib64/libgmodule-2.0.so.0.7400.0 /usr/lib64/libgmodule-2.0.so.0 \ + --ro-bind /lib/libglib-2.0.so.0 /usr/lib64/libglib-2.0.so.0 \ + --ro-bind /lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1 \ + --ro-bind /lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1 \ + --ro-bind /lib/libncursesw.so.6 /usr/lib64/libncursesw.so.6 \ + --ro-bind /lib/libpthread.so.0 /usr/lib64/libpthread.so.0 \ + --ro-bind /lib/libc.so.6 /usr/lib64/libc.so.6 \ + --ro-bind /lib/libdl.so.2 /usr/lib64/libdl.so.2 \ + --ro-bind /lib/libpcre2-8.so.0 /usr/lib64/libpcre2-8.so.0 \ + --ro-bind /usr/lib64/libncursesw.so /usr/lib64/libncursesw.so.6 \ + --ro-bind /usr/lib64/libncurses.so /usr/lib64/libncurses.so.6 \ + --ro-bind /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 \ + --ro-bind /usr/share/terminfo/s/st-256color /usr/share/terminfo/s/st-256color \ + --ro-bind /etc/resolv.conf /etc/resolv.conf \ + --uid 1000 \ + --gid 1000 \ + --setenv HTTP_PROXY socks5h://192.168.1.214 \ + --setenv HTTPS_PROXY socks5h://192.168.1.214 \ + --setenv NO_PROXY 10.0.0.0/8,localhost,127.0.0.1/8,192.168.0.0/16,172.16.0.0/12 \ + --setenv TERM st-256color \ + --seccomp 9 \ + irssi \ + 9<"/tmp/seccomp_logging_filter.bpf" |