Article View: news.software.readers
Article #262036Re: trn EXSAVER variable
From: Eli the Bearded
Date: Thu, 25 May 2017 21:58
Date: Thu, 25 May 2017 21:58
31 lines
2418 bytes
2418 bytes
In news.software.readers, <sms8200@mysuesd.org> wrote:
> hi
Here's what the docs say about EXSAVER, which I looked up because I
didn't know myself.
+ If you want to be able to save your shar headers in a file as they are
extracted and you have access to "unshar" (a program that can extract
shar files while saving the headers in UNSHAR.HDR), twiddle the external
extract command to send the entire article:
EXSAVER="%e <%A"
and then point the UNSHAR variable at unshar instead of /bin/sh:
UNSHAR="unshar -s"
Note that this assumes that any other commands you execute with
"e dir|command" can also handle the entire article as input
(uuencoded and shipped files are not affected).
Sounds thoroughly obsolete. Who uses SHAR files anymore? Or at least,
who sends them through Usenet? "curl $URL | bash" is the modern version,
complete with all the security holes of the original SHAR system, and
added new ones:
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
Elijah
------
knows this guy is a bozo replying to a very old post at google
Technical Details
Message-ID:
<eli$1705251757@qz.little-neck.ny.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<D8n9uB.9B5@world.std.com> <5e35b529-b345-4e34-95d0-2d70e2de7c43@googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <eli$1705251757@qz.little-neck.ny.us> Subject: Re: trn EXSAVER variable Date: Thu, 25 May 2017 21:58:22 +0000 From: Eli the Bearded <*@eli.users.panix.com> References: <D8n9uB.9B5@world.std.com> <5e35b529-b345-4e34-95d0-2d70e2de7c43@googlegroups.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: Some absurd concept Lines: 31 NNTP-Posting-Host: panix5.panix.com X-Trace: reader1.panix.com 1495749502 11067 166.84.1.5 (25 May 2017 21:58:22 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 25 May 2017 21:58:22 +0000 (UTC) X-Liz: It's actually happened, the entire Internet is a massive game of Redcode X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix X-US-Congress: Moronic Fucks. X-Attribution: EtB XFrom: is a real address Encrypted: double rot-13 User-Agent: Vectrex rn 2.1 (beta) X-Comments: "'Pray that I don't alter the bargain further.' Welcome Darth Google." -- HonorableSoul X-Received-Bytes: 2411 X-Received-Body-CRC: 317816497