Skip to content

Commit 0875865

Browse files
committed
Add 'services' command to list running services in README and usage guide
1 parent 739a509 commit 0875865

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ I also wanted to learn more about winrm and its internals, so this project will
3636
- Run local PowerShell scripts on the remote host. 🆕
3737
- Load local DLLs (in-memory) as PowerShell modules on the remote host. 🆕
3838
- Upload and execute local EXEs (in-memory) on the remote host. 🆕
39+
- List the running services (except system services) on the remote host. 🆕
3940
- Enable logging and debugging for better traceability.
4041
- Navigate command history using `up`/`down` arrow keys.
4142
- Display colorized output for improved readability.
@@ -152,6 +153,7 @@ evil-winrm-py -i 192.168.1.100 -u Administrator -p P@ssw0rd --ssl
152153

153154
```bash
154155
Menu:
156+
[+] services - Show the running services (except system services)
155157
[+] upload <local_path> <remote_path> - Upload a file
156158
[+] download <remote_path> <local_path> - Download a file
157159
[+] loadps <local_path>.ps1 - Load PowerShell functions from a local script

docs/usage.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ Inside the interactive shell, you can use the following commands:
179179
180180
```bash
181181
Menu:
182+
[+] services - Show the running services (except system services)
182183
[+] upload <local_path> <remote_path> - Upload a file
183184
[+] download <remote_path> <local_path> - Download a file
184185
[+] loadps <local_path>.ps1 - Load PowerShell functions from a local script
@@ -191,6 +192,14 @@ Menu:
191192
Note: Use absolute paths for upload/download for reliability.
192193
```
193194
195+
### Show Running Services
196+
197+
You can list the running services (except system services) on the remote host using the `services` command. This will display a list of services that are currently running, which can be useful for post-exploitation tasks.
198+
199+
```bash
200+
evil-winrm-py PS C:\Users\Administrator\Documents> services
201+
```
202+
194203
### File Transfer
195204
196205
You can upload and download files using the following commands:

0 commit comments

Comments
 (0)