mauri870 / ransomware

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

Error public.pem #22

Open juniorkalvin7 opened 7 years ago

juniorkalvin7 commented 7 years ago

$ make rm -r /home/test/go/src/github.com/mauri870/ransomware/bin || true rm: não foi possível remover '/home/test/go/src/github.com/mauri870/ransomware/bin': Arquivo ou diretório não encontrado mkdir -p /home/test/go/src/github.com/mauri870/ransomware/build/ransomware /home/test/go/src/github.com/mauri870/ransomware/build/unlocker /home/test/go/src/github.com/mauri870/ransomware/build/server openssl genrsa -out /home/test/go/src/github.com/mauri870/ransomware/build/server/private.pem 4096 Generating RSA private key, 4096 bit long modulus ......++ .............................................++ e is 65537 (0x10001) openssl rsa -in /home/test/go/src/github.com/mauri870/ransomware/build/server/private.pem -outform PEM -pubout -out /home/test/go/src/github.com/mauri870/ransomware/build/ransomware/public.pem writing RSA key cd /home/test/go/src/github.com/mauri870/ransomware/build/ransomware && go-bindata -pkg main -o public_key.go public.pem bindata: Input path 'public.pem' is not a directory. Makefile:22: recipe for target 'pre-build' failed make: *** [pre-build] Error 1

juniorkalvin7 commented 7 years ago

github.com/mauri870/ransomware/build/ransomware

runtime.main: call to external function main.main runtime.main: main.main: not defined runtime.main: undefined: main.main Makefile:33: recipe for target 'build' failed make: *** [build] Error 2

klogHacks commented 7 years ago

My own error is:

e is 65537 (0x10001) openssl rsa -in /cygdrive/c/gowork/src/github.com/mauri870/ransomware/build/server/private.pem -outform PEM -pubout -out /cygdrive/c/gowork/src/github.com/mauri870/ransomware/build/ransomware/public.pem writing RSA key cd /cygdrive/c/gowork/src/github.com/mauri870/ransomware/build/ransomware && go-bindata -pkg main -o public_key.go public.pem rsrc -manifest ransomware.manifest -ico icon.ico -o /cygdrive/c/gowork/src/github.com/mauri870/ransomware/build/ransomware/ransomware.syso open /cygdrive/c/gowork/src/github.com/mauri870/ransomware/build/ransomware/ransomware.syso: The system cannot find the path specified. make: *** [pre-build] Error 1