Skip to content

Commit

Permalink
force implant building tests to run offline, document the need to kee…
Browse files Browse the repository at this point in the history
…p the implant vendor dir updated
  • Loading branch information
capnspacehook committed Jul 23, 2022
1 parent 8c8dd28 commit 09a97fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions go-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ else
fi

# server / generate
export GOPROXY=off
if go test -tags=server,$TAGS ./server/generate -timeout 6h ; then
:
else
Expand Down
8 changes: 7 additions & 1 deletion implant/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Implant
========
=======

This directory contains the code for Sliver's implant, implant source code is dynamically
rendered at runtime via the `generate` command. The code generation inserts the per-binary
Expand All @@ -11,3 +11,9 @@ that will be supported on different platforms.
Platform agnostic code is implemented in `_generic.go` files, and can be compiled for any
valid Go compiler target but only contains very generic commands/features.

Development
===========

Before committing any changes to any implant files, run `go generate` in this directory. This
will ensure the vendor directory is kept up to date so offline implant builds will function
correctly.

0 comments on commit 09a97fb

Please sign in to comment.