Skip to content

Instantly share code, notes, and snippets.

@joepie91

joepie91/.sh Secret

Created August 27, 2017 11:38
Show Gist options
  • Save joepie91/8cd4224f400fc547d8344a92fa1bde7d to your computer and use it in GitHub Desktop.
Save joepie91/8cd4224f400fc547d8344a92fa1bde7d to your computer and use it in GitHub Desktop.
--list)
echo Target directory: $targetdir
offset=`head -n 402 "$0" | wc -c | tr -d " "`
for s in $filesizes
do
MS_dd "$0" $offset $s | eval "bzip2 -d" | UnTAR t
offset=`expr $offset + $s`
done
exit 0
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment