Skip to content

Commit c8ba07b

Browse files
authored
Update run_as_psh.md
1 parent b57677b commit c8ba07b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/modules/post/windows/manage/run_as_psh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ By default, it will start an interactive cmd as the target user.
88
- **DOMAIN** - The domain of the user
99
- **EXE** - The program to run (default cmd.exe)
1010
- **PASS** - The program arguments
11-
- **PATH** - The path to run the program in (default C:\)
11+
- **PATH** - The path to run the program in (default C:\\)
1212
- **CHANNELIZE** - Channelize the output, required to read output or interact
1313
- **INTERACT** - Interact with program
1414
- **HIDDEN** - Hide the console window
@@ -33,11 +33,11 @@ meterpreter > run post/windows/manage/run_as_psh user=test pass=mypassword
3333
Microsoft Windows [Version 10.0.14393]
3434
(c) 2016 Microsoft Corporation. All rights reserved.
3535

36-
C:\>whoami
36+
C:\\>whoami
3737
whoami
3838
my-pc\test
3939

40-
C:\>
40+
C:\\>
4141

4242
meterpreter > run post/windows/manage/run_as_psh user=test pass=mypassword hidden=false channelize=false interactive=false exe=cmd path=C:\\windows args="/c start notepad"
4343

0 commit comments

Comments
 (0)