-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docker build enviroment. Add android as a build target.
- Loading branch information
1 parent
fa974c8
commit a583593
Showing
3 changed files
with
133 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM golang:1.16.6-buster | ||
RUN apt-get update | ||
RUN apt-get install -y upx sudo unzip gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev build-essential bison flex libssl-dev bc | ||
|
||
# Copy Source Files | ||
RUN mkdir /GoRAT | ||
WORKDIR /GoRAT | ||
COPY . . | ||
|
||
# Build Payload | ||
RUN go mod download -x | ||
RUN go get mvdan.cc/garble@latest | ||
RUN ./build_payload.sh -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters