From b0de38eafe7fe897f907066dc1ef923073690d5d Mon Sep 17 00:00:00 2001 From: login Date: Sun, 17 Oct 2021 16:25:53 +0000 Subject: pcoin_keys fixed Thanks to ~jmjl, I was able to find that pcoin_keys didn't work. To fix it, tcoin uses sneaky magic but with stdin isntead of an argument, and a new library imported called popen2, that lets me send both stdin and receive stdout, to successfully get "ls " to work (it execl's another instance of the tcoin comand so that it runs under setuid instead of as the original user who ran it. --- utils/mstss | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 utils/mstss (limited to 'utils/mstss') diff --git a/utils/mstss b/utils/mstss new file mode 100755 index 0000000..d66cccf --- /dev/null +++ b/utils/mstss @@ -0,0 +1,3 @@ +#!/bin/bash + +(/bin/echo "$2"; /bin/cat "$1") | /home/login/bin/message-sum-tcoin-helper-supersummary.awk - -- cgit 1.4.1-2-gfad0