Skip to content

Commit 94d39c5

Browse files
committed
remove hard coded pipe name
1 parent bb4f5da commit 94d39c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/local/lenovo_systemupdate.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def write_named_pipe(pipe, command)
8888
handle = r['return']
8989

9090
if handle == invalid_handle_value
91-
fail_with(Failure::NoTarget, "\\\\.\\pipe\\SUPipeServer named pipe not found")
91+
fail_with(Failure::NoTarget, "#{pipe} named pipe not found")
9292
else
93-
vprint_good("Opended \\\\.\\pipe\\SUPipeServer! Proceeding...")
93+
vprint_good("Opended #{pipe}! Proceeding...")
9494
end
9595

9696
# First, write the string length as Int32 value

0 commit comments

Comments
 (0)