GoBot2 icon indicating copy to clipboard operation
GoBot2 copied to clipboard

undefined: base64Decode, logUpdate, createDir

Open Agent4757 opened this issue 6 years ago • 2 comments

# 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

Agent4757 avatar May 26 '19 03:05 Agent4757

@SaturnsVoid

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

Goldinium avatar Jun 03 '19 12:06 Goldinium

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

im4x5yn74x avatar Sep 03 '19 19:09 im4x5yn74x