Skip to content

Commit

Permalink
Guess I'm supposed to check these in too :P
Browse files Browse the repository at this point in the history
  • Loading branch information
b0yd committed Mar 28, 2023
1 parent 8fd9487 commit 03d93b9
Show file tree
Hide file tree
Showing 7 changed files with 2,166 additions and 1,472 deletions.
8 changes: 5 additions & 3 deletions protobuf/clientpb/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions protobuf/commonpb/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions protobuf/dnspb/dns.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

695 changes: 358 additions & 337 deletions protobuf/rpcpb/services.pb.go

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions protobuf/rpcpb/services_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions protobuf/sliverpb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,21 @@ const (
MsgRportFwdListenersReq

MsgRPortfwdReq

// MsgChmodReq - Request to chmod a file
MsgChmodReq
// MsgChmod - Replies with file path
MsgChmod

// MsgChownReq - Request to chown a file
MsgChownReq
// MsgChown - Replies with file path
MsgChown

// MsgChtimesReq - Request to chtimes a file
MsgChtimesReq
// MsgChown - Replies with file path
MsgChtimes
)

// Constants to replace enums
Expand Down Expand Up @@ -524,6 +539,20 @@ func MsgNumber(request proto.Message) uint32 {
return MsgRportFwdListeners
case *RPortfwdReq:
return MsgRPortfwdReq

case *ChmodReq:
return MsgChmodReq
case *Chmod:
return MsgChmod
case *ChownReq:
return MsgChownReq
case *Chown:
return MsgChown
case *ChtimesReq:
return MsgChtimesReq
case *Chtimes:
return MsgChtimes

}
return uint32(0)
}
Loading

0 comments on commit 03d93b9

Please sign in to comment.