[kwlug-disc] Binary shell scripts?

Chris Craig kwlug.org at ciotog.net
Fri Jan 3 16:03:25 EST 2014


This might be of some interest:
http://www.linuxjournal.com/content/add-binary-payload-your-shell-scripts


On 3 January 2014 15:45, Paul Nijjar <paul_nijjar at yahoo.ca> wrote:

> On Fri, Jan 03, 2014 at 03:09:12PM -0500, Chris Frey wrote:
> > On Fri, Jan 03, 2014 at 03:02:14PM -0500, Joe Wennechuk wrote:
> > > root at OSCAR-MASTER /home/oscar# less
> /home/oscar/scripts/backup-restore/backupOSCAR.sh
> > > "/home/oscar/scripts/backup-restore/backupOSCAR.sh" may be a binary
> file. ?See it anyway??
> >
> > What happens if you say yes?
> >
> > Sometimes there are special characters in the first part of a file,
> > like a foreign name in the comments, and it tricks less.
>
> I also find that text files created in Windows can mess up less. I
> have had good success trying to open such files using vim (in
> read-only mode if you want).
>
> I doubt that those scripts have been obfuscated, but it might be
> possible (to hide database passwords and such).
>
> - Paul
>
> --
> http://pnijjar.freeshell.org
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20140103/0dfdda1f/attachment.html>


More information about the kwlug-disc mailing list