optiv / ScareCrow

ScareCrow - Payload creation framework designed around EDR bypass.
2.71k stars 503 forks source link

Previous declaration when using any other loader #50

Closed g33gs closed 2 years ago

g33gs commented 2 years ago

Unable to find a resolution for this one. Any time I attempt to run using anything other than the default, it am presented an error from go I believe, relating to a previous declaration::

[*] Compiling Payload exit status 1: go list error: exit status 2: # igYzBjFwiyh ./tcpmon.go:10:3: base64 redeclared as imported package name /home/user/tools/ScareCrow/tcpmon/tcpmon.go:8:3: previous declaration

I didn't see this anywhere else, could it be a golang issue with the new version or something related to my current setup?

Thanks! And thank you for your work, it's fantastic.

Tylous commented 2 years ago

This should be addressed in the most recent update (that’s a few hours old) can you confirm are on the latest from today? And what commands you are running so I can replicate it on my end. Thank you

g33gs commented 2 years ago

UPDATE: This appears to be a potential issue using Kali WSL. Running ./Scarecrow -I beacon.bin -domain www.cisco.com -Loader wscript -O test.js resulted in successful creation.

g33gs commented 2 years ago

Awesome timing on my part, looks like I was a version behind. Pulling latest is now working as expected!

Thanks again!