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

undefined: base64Decode, logUpdate, createDir #7

Open
Agent4757 opened this issue May 26, 2019 · 2 comments
Open

undefined: base64Decode, logUpdate, createDir #7

Agent4757 opened this issue May 26, 2019 · 2 comments

Comments

@Agent4757
Copy link

# command-line-arguments
C:\GoBot2\Console Server\Server.go:81:18: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:83:21: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:85:26: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:87:20: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:89:24: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:90:24: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:92:23: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:93:23: undefined: base64Decode
C:\GoBot2\Console Server\Server.go:205:7: undefined: logUpdate
C:\GoBot2\Console Server\Server.go:209:10: undefined: createDir
C:\GoBot2\Console Server\Server.go:209:10: too many errors

when i use

go build -o Server.exe "C:\GoBot2\Console Server\Server.go"

this command to compile console server, i got that error.
i saw same issue in github, but i cant resolve it. how can i resolve this error?

i compile that in windows 7 32bit, installed all package in README.md

@Goldinium
Copy link

@SaturnsVoid

Same error with me Adam
i reviewed the code but found no bug

@im4x5yn74x
Copy link

The build instructions for the "Console Server" in the README.md are incorrect. However, with each adjacent dependency file using the package main title and without the presents of a "main.go" file, you can simply run go build within the "Console Server" folder and it will compile successfully.
Once compiled, you can execute the binary using the required arguments matching the ControlUser and ControlPass values described in Server.go.
./Console\ Server root toor
Or test run it within the "Console Server" folder:
go run . root toor

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

3 participants