There are builds of MHDDOS_PROXY only for Linux and Windows, for all other systems the Docker solution is recommend. But for some reason the Docker solution does not work on my Macbook Air with Apple Silicone M1 processor.
So, as a workaround I use the virtual machine with Ubuntu created by using Multipass
Here are the steps I made:
- Install Multipass by the command
brew install multipass
or download and run the installer - Open a terminal and run these commands one by one:
multipass launch -n mhddos
multipass exec mhddos -- curl -Lo mhddos_proxy_linux https://github.com/porthole-ascend-cinnamon/mhddos_proxy_releases/releases/latest/download/mhddos_proxy_linux_arm64
multipass exec mhddos -- chmod +x mhddos_proxy_linux
- Now you can run the mhddos_proxy itself:
multipass exec mhddos -- ./mhddos_proxy_linux
To stop the script press Control-C. To run it again repeat the last command.
To stop the virtual machine - multipass stop mhddos
To delete stopped virtual machine - multipass delete mhddos
and then multipass purge
If you want you can add more memory and processor cores to the virtual machine during creating by using parameters -m and -c, for example:
multipass launch -n mhddos -m 3G -c 4
- will create a VM with 3Gb memory and 4 cores.
And of course you can use the parameters --threads, --copies and --user-id when run the script, for example:
multipass exec mhddos -- ./mhddos_proxy_linux --threads 2000 --copies 4 --user-id 470119906
To prevent Mac from sleep use the Amphetamine app