Last active
August 29, 2015 14:17
-
-
Save teramako/a076cedcaebcc70252bf to your computer and use it in GitHub Desktop.
今日ダウンロードしたzipファイル。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ file HOGEHOGE.zip | |
HOGEHOGE.zip: Bourne-Again shell script text executable | |
$ strings HOGEHOGE.zip | |
#!/bin/bash | |
sed -e '1,/BIGIN HOGEHOGE/d' $0 |sed -e '1,/BIGIN HOGEHOGE/d' > ./test.tar.gz | |
tar zxvf test.tar.gz >/dev/null; | |
chown root aFile bFile cFile | |
chmod 4755 aFile bFile cFile | |
exit 0 | |
#BIGIN HOGEHOGE | |
(以下バイナリ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment