Solaris shell archives - summary

From: <kev.smith_at_rbs.com>
Date: Wed Nov 26 2008 - 11:14:28 EST
Reading the shell installer more revealed a uuencoded/embedded compressed tar
file from line 1088 [EOF] onwards

Code in script reads :

tail +1088 $0 > $tmpdir/servicebundle.tar.Z
uncompress -f servicebundle.tar.Z

Experimentation reveals that it is simply a call to uuencode outside the
script that enables you to embed archives into self extracting/installing
shell scripts:

uuencode example.tar.Z example.tar.Z >> installer-script

Once the archive is embedded into the script suitable code can be created [see
example] to extract/process the archive.

Kev Smith



*****************************************************************************
******
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority

This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
*****************************************************************************
******
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Nov 26 11:14:51 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:12 EST