Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load package eventhough it's there #23

Open
misterch0c opened this issue Sep 9, 2019 · 1 comment
Open

Can't load package eventhough it's there #23

misterch0c opened this issue Sep 9, 2019 · 1 comment

Comments

@misterch0c
Copy link

I'm having this error and as you can see my GOPATH is copied and changed to /tmp/random.
I can see that the files are in the /tmp files but still I'm getting this, no idea why...

[unkn0wn@unkn0wn-pc gobfuscate]$ ./gobfuscate -verbose github.com/brimstone/go-shellcode /home/unkn0wn/test
2019/09/09 08:24:51 Copying GOPATH...
2019/09/09 08:24:52 Obfuscating package names...
2019/09/09 08:24:53 Obfuscating strings...
2019/09/09 08:24:53 Obfuscating symbols...

[Verbose] Temporary path: /tmp/064222581
[Verbose] Go build command: go build -ldflags=-s -w -extldflags "-static" -o /home/unkn0wn/test pngifcmecdidbeljejdf/docfeloaijbdnmfecioi/gbljnboigijdlafjfghg
[Verbose] Environment variables:
GOROOT=/usr/lib/go
GOARCH=amd64
GOOS=linux
GOPATH=/tmp/064222581
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GOCACHE=/tmp/064222581/cache

can't load package: package pngifcmecdidbeljejdf/docfeloaijbdnmfecioi/gbljnboigijdlafjfghg: cannot find package "pngifcmecdidbeljejdf/docfeloaijbdnmfecioi/gbljnboigijdlafjfghg" in any of:
	/usr/lib/go/src/pngifcmecdidbeljejdf/docfeloaijbdnmfecioi/gbljnboigijdlafjfghg (from $GOROOT)
	/tmp/064222581/src/pngifcmecdidbeljejdf/docfeloaijbdnmfecioi/gbljnboigijdlafjfghg (from $GOPATH)
Failed to compile: exit status 1

@unixpickle
Copy link
Owner

huh, this is super odd. Are the source files properly copied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants