Skip to content

Commit

Permalink
Outline external build api
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- committed Sep 18, 2022
1 parent 3c90e4b commit f12a605
Show file tree
Hide file tree
Showing 14 changed files with 2,016 additions and 1,701 deletions.
2 changes: 1 addition & 1 deletion client/command/rportfwd/portfwd-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func StartRportFwdListenerCmd(ctx *grumble.Context, con *console.SliverConsoleCl
if portNumberOnlyRegexp.MatchString(forwardAddress) {
forwardAddress = fmt.Sprintf("127.0.0.1:%s", forwardAddress)
}
rportfwdListener, err := con.Rpc.StartRportfwdListener(context.Background(), &sliverpb.RportFwdStartListenerReq{
rportfwdListener, err := con.Rpc.StartRportFwdListener(context.Background(), &sliverpb.RportFwdStartListenerReq{
Request: con.ActiveTarget.Request(ctx),
BindAddress: bindAddress,
ForwardAddress: forwardAddress,
Expand Down
2 changes: 1 addition & 1 deletion client/command/rportfwd/portfwd-rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func StopRportFwdListenerCmd(ctx *grumble.Context, con *console.SliverConsoleCli
}

listenerID := ctx.Flags.Int("id")
rportfwdListener, err := con.Rpc.StopRportfwdListener(context.Background(), &sliverpb.RportFwdStopListenerReq{
rportfwdListener, err := con.Rpc.StopRportFwdListener(context.Background(), &sliverpb.RportFwdStopListenerReq{
Request: con.ActiveTarget.Request(ctx),
ID: uint32(listenerID),
})
Expand Down
Loading

0 comments on commit f12a605

Please sign in to comment.