Skip to content

Commit

Permalink
fix TMPBINARY execution privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmin committed Nov 27, 2018
1 parent 202e5c2 commit 2b276b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
1 change: 1 addition & 0 deletions latest/unshc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ $GCC -o $TMPBINARY ${TMPBINARY}.c >/dev/null 2>&1

echo "[*] Executing [$TMPBINARY] to decrypt [${BINARY}]"

chmod +x $TMPBINARY
if [ -z "$OUTPUTFILE" ]; then
echo "[*] Retrieving initial source code in [${BINARY%.sh.x}.sh]"
$TMPBINARY > ${BINARY%.sh.x}.sh
Expand Down
1 change: 1 addition & 0 deletions release/0.8/unshc-v0.8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ $GCC -o $TMPBINARY ${TMPBINARY}.c >/dev/null 2>&1

echo "[*] Executing [$TMPBINARY] to decrypt [${BINARY}]"

chmod +x $TMPBINARY
if [ -z "$OUTPUTFILE" ]; then
echo "[*] Retrieving initial source code in [${BINARY%.sh.x}.sh]"
$TMPBINARY > ${BINARY%.sh.x}.sh
Expand Down

0 comments on commit 2b276b1

Please sign in to comment.