Benign arch Download

thurbox 0.169.6-1

Legitimate dev tool source code

Dense printf decodingPowerShell execution policy bypass flag
SHA-2568a5a579c13caf679a3bf70797ab2fb50c4e20739770823682abda2a83c5fc96e

Evidence

Shell path into a home credential store lines 10–20
10:30… DATA_DIR — your real config/sessions and the
11# host's default tmux/psmux server are never touched.
12#
13# Usage:
14# scripts/dev/e2e/real-host.sh <host> <verb> [args...]
15#
16# <host> is a ~/.ssh/config alias or user@address; auth comes entirely from
17# your SSH setup (keys/agent) — the script never handles credentials.
18#
19# Verbs (any host):
20# check readiness probe: OS, …
Shell contains x86_64 or AMD64 architecture name lines 26–33
26:11… md...] interactive shell (or run a command) on the host
27# clean remove everything `test` may have left on the host
28#
29# Verbs (Windows hosts):
30# deploy cross-build thurbox/thurbox-cli (x86_64-pc-windows-gnu) and
31# install them to C:\Tools\thurbox (added to the machine PATH)
32# run run the deployed thurbox.exe interactively over `ssh -t`
33# …
MinGW Windows toolchain reference lines 53–71
53:15… h/scp; `test`/`tui` need cargo; `deploy`/`test-suite` need the
54# x86_64-pc-windows-gnu target + mingw-w64 (test-suite also needs cargo-nextest
55# on this machine). JSON is parsed in-shell — no python3.
56
57set -euo pipefail
58
59REPO_ROOT="$(cd "$(dirname "$0")/../../.." && pwd)"
60# shellcheck source=scripts/dev/e2e/lib/e2e-common.sh
61# shellcheck disable=SC1091
62. "$REPO_ROOT/scripts/dev/e2e/lib/e2e-common.sh"
63
64WORKDIR="$REPO_ROOT/target/lab-test"
65WSL_DISTRO="${THURBOX_WSL_DISTRO:-Debian}"
66WIN_TARGET="x86_64-pc-windows-gnu"
67NEXTEST_VERSION="${NEXTEST_VERSION:-latest}"
68NEXTEST_ZIP_URL="https://get.nexte.st/${NEXTEST_VERSION}/windows"
69
70# Everything the e2e test creates on the host is scoped to this socket/session
71# name and to LAB_D …
Command text invokes mkdir lines 79–91
79:68… m", "-o", "ServerAliveInterval=15"]'
80
81usage() { awk 'NR > 1 && !/^#/ { exit } NR > 1 { sub(/^# ?/, ""); print }' "$0"; }
82
83DEST="${1:-}"
⋯8 lines
Shell suppresses failure with || true lines 104–141
104:45… ped, empty (not fatal) on failure.
105remote_out() { ssh_host "$@" 2> /dev/null | tr -d '\r' || true; }
106
107# ---- host detection ------------------------------------------------------
⋯8 lines
116 # Keep stderr visible: ssh's own error (auth, DNS, ControlPath, …) is the
117 # only clue when the probe fails.
118 probe="$(ssh_host 'echo thurbox-probe' | tr -d '\r' || true)"
119 [ "$probe" = "thurbox-probe" ] || die "cannot reach '$DEST' over SSH"
120 local u
121 u="$(remote_out 'uname -s')"
122 case "$u" in
123 Linux | Darwin | *BSD*) HOST_OS=linux ;;
124 *)
125 ssh_host 'cmd /c ver' 2>/dev/null | grep -qi windows \
126 || die "cannot determine the host OS (uname said '${u:-nothing}')"
127 HOST_OS=windows
⋯6 lines
134 local rhome
135 # shellcheck disable=SC2016 # $HOME must expand on the remote, not here
136 rhome="$(ssh_host 'printf %s "$HOME"' | tr -d '\r')" \
137 || die "cannot read \$HOME on $DEST"
138 LAB_DIR="${THURBOX_LAB_DIR:-$rhome/thurbox-lab-test}"
139 MUX="tmux"
140 fi
141 # …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.