mauri870 / ransomware

A POC Windows crypto-ransomware (Academic). Now Ransom:Win32/MauriCrypt.MK!MTB
857 stars 413 forks source link

GOOS=windows make error #26

Open ozgursevgi opened 6 years ago

ozgursevgi commented 6 years ago

GOOS=windows make rm -r /usr/local/go/ransomware/bin || true rm: cannot remove '/usr/local/go/ransomware/bin': No such file or directory mkdir -p /usr/local/go/ransomware/build/ransomware /usr/local/go/ransomware/build/unlocker /usr/local/go/ransomware/build/server openssl genrsa -out /usr/local/go/ransomware/build/server/private.pem 4096 Generating RSA private key, 4096 bit long modulus ..........................++ ..............++ e is 65537 (0x010001) openssl rsa -in /usr/local/go/ransomware/build/server/private.pem -outform PEM -pubout -out /usr/local/go/ransomware/build/ransomware/public.pem writing RSA key cd /usr/local/go/ransomware/build/ransomware && go-bindata -pkg main -o public_key.go public.pem /bin/sh: 1: go-bindata: not found Makefile:22: recipe for target 'pre-build' failed make: *** [pre-build] Error 127

mauri870 commented 6 years ago

I recommend to use the docker installation because it is more simple and less error prone.

Your error is related to the gobindata tool, please check if your $GOPATH/bin is appended to your $PATH and don't forget to run make deps as described in the README.

UN5T48L3 commented 6 years ago

same issue,

how to fix it? I am new on Golang.