Skip to content

Commit 7093fa3

Browse files
authored
Update run_as_psh.md
1 parent 50fde48 commit 7093fa3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ By default, it will start an interactive cmd as the target user.
77
- **PASS** - The user's password
88
- **DOMAIN** - The domain of the user
99
- **EXE** - The program to run (default cmd.exe)
10-
- **PASS** - The program arguments
10+
- **ARGS** - The program arguments
1111
- **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
1515

1616
## Module Process
1717
The process will use the Start-Process command of powershell to run a process as another user.
18+
1819
## Limitations
1920
- Requires Powershell
2021
- Hidden Mode does not work with older powershell versions
21-
- Interactive mode needs to be ran from a meterpreter console
22+
- Interactive mode needs to be run from a meterpreter console
2223

2324
## Examples
2425

0 commit comments

Comments
 (0)