[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Source within Binary Shell Scripts
From: |
Chet Ramey |
Subject: |
Re: Using Source within Binary Shell Scripts |
Date: |
Wed, 27 Mar 2019 21:37:44 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 |
On 3/27/19 2:22 PM, Al Payne wrote:
> On Wed, Mar 27, 2019 at 09:09:37AM -0700, Eduardo Bustamante wrote:
>> On Wed, Mar 27, 2019 at 8:17 AM Jason Hall <jasonbrianhall@gmail.com> wrote:
>> (...)
>>> The point is, their is a legitimate use for sourcing Binary Shell
>>> Scripts (...)
>>
>> Is it really a legitimate use? If you're doing it for "security" (by
>> obscurity I guess?), it's easy to defeat.
>
> The original message reads like Jason is attempting to defeat the 'security'
> on a self-decrypting script by using source to add the script's variables to
> the current shell so their values can be viewed.
>
> Better ways to do this is a question for the help list. It's not a bug.\
There was a feature request in there. It's just not high priority.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/