From 93695d1e84aff7c2f9a0aa4d49fc94f7b6b12d55 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 31 Mar 2019 15:33:07 -0400 Subject: Add script for sandboxing w3m --- contrib/html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/html (limited to 'contrib/html') diff --git a/contrib/html b/contrib/html new file mode 100755 index 0000000..db7808a --- /dev/null +++ b/contrib/html @@ -0,0 +1,10 @@ +#!/bin/sh +# aerc filter which runs w3m using socksify (from the dante package) to prevent +# any phoning home by rendered emails +export SOCKS_SERVER="127.0.0.1:1" +exec socksify w3m \ + -T text/html \ + -cols $(tput cols) \ + -dump \ + -o display_image=false \ + -o display_link_number=true -- cgit 1.4.1-2-gfad0