Make sure you have both Node.js and npm installed.
- Check that your Node.js is ready
node -v
- Get the repository
git clone https://github.com/yhuag/faucet-drainer-v2.git
cd faucet-drainer-v2
- Install packages
npm i
- Start draining
node drain.js <PUT_YOUR_ADDRESS_HERE>
You should not use this if you have no project that require lots of ether for testing. The code is for demonstration so the user must take full responsibility, if the attempt is malicious. Think before doing this.
The draining is success if the output has a couple lines of transaction hash. Most of the trials might fail and show various kinds of error messages. Ignore them or change your IP or change the address you used.