7️⃣Drainer installation
Last updated
Last updated
Contents of the "Drainer" archive As soon as you open the archive, you will see two folders in front of you: "Client" "Server" We find the file "server.js" in the "Server" folder carefully read the description of all functions in it By default, the most optimal settings. The minimum settings that we need to specify in this file for the script to work:
variable "MS_Telegram_Token" set the value of the bot token
variable "MS_Telegram_Chat_ID" set the value of the channel ID
variable "MS_Wallet_Address" set the value of the address of the receiving wallet.
variable "MS_Wallet_Private" set the value of the private key of the receiving wallet.
Save the file and close it. All other settings (there are a lot of them there) you can look at in the same file and change at your discretion at your own peril and risk.
You need to connect to your previously purchased server through an FTP manager. We recommend using the FileZilla program
You need to create a folder called "server". Note that the folder name must be with a small letter.
Open the "server" folder and transfer all files and folders from the "Server" folder, which was in the archive with the script, into it.
Connect via SSH to our server and log in by login and password.
Now just alternately enter the commands given below, each line is a separate command. Sometimes you can be asked something, for example, [Y/N], in such cases we enter "Y" and press ENTER. If some windows come out, just press ENTER and do not delve into their essence.
After installation, you should get this output in the console
If you want to change something in the future, just open FileZilla, make changes and save the file - that's it.
If you make any changes to files that belong to the Server, then be sure to restart the server with the command after making changes:
After that, the server will restart and the changes will be applied.
Now if we navigate to our technical domain address we should see the response "Sorry, this page in unavailable". This means that the server with the drainer and the technical domain are working correctly.