Skip to content

Commit

Permalink
Merge pull request #527 from BishopFox/dll-hijack-fix
Browse files Browse the repository at this point in the history
DLL Hijack update
  • Loading branch information
rkervella authored Oct 21, 2021
2 parents 9af5d91 + e31fd56 commit 13cbf53
Show file tree
Hide file tree
Showing 9 changed files with 645 additions and 646 deletions.
4 changes: 2 additions & 2 deletions client/command/dllhijack/dllhijack.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"io/ioutil"

"github.com/bishopfox/sliver/client/console"
"github.com/bishopfox/sliver/protobuf/sliverpb"
"github.com/bishopfox/sliver/protobuf/clientpb"
"github.com/desertbit/grumble"
)

Expand Down Expand Up @@ -78,7 +78,7 @@ func DllHijackCmd(ctx *grumble.Context, con *console.SliverConsoleClient) {
ctrl := make(chan bool)
msg := fmt.Sprintf("Crafting and planting DLL at %s ...", targetPath)
con.SpinUntil(msg, ctrl)
_, err = con.Rpc.HijackDLL(context.Background(), &sliverpb.DllHijackReq{
_, err = con.Rpc.HijackDLL(context.Background(), &clientpb.DllHijackReq{
ReferenceDLLPath: referencePath,
TargetLocation: targetPath,
ReferenceDLL: localRefData,
Expand Down
Loading

0 comments on commit 13cbf53

Please sign in to comment.