You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can fix this by adding a compiler flag. See updated code below:
cmd := exec.Command(
"go",
"build",
"-ldflags=-s", // Using -s instructs Go to create the smallest output
"-ldflags=-w", // Using -w instructs Go to create the smallest output
"-ldflags=-H=windowsgui", // hide console window
"-o", outputFile,
"output/shellcode.go",
)
The text was updated successfully, but these errors were encountered:
You can fix this by adding a compiler flag. See updated code below:
The text was updated successfully, but these errors were encountered: