Which of the following commands will allow a tester to enumerate potential unquoted services paths on a host?

Which of the following commands will allow a tester to enumerate potential unquoted services paths on a host?
A . wmic environment get name, variablevalue, username / findstr /i “Path” | findstr /i “service”
B . wmic service get /format:hform > c:tempservices.html
C . wmic startup get caption, location, command | findstr /i “service” | findstr /v /i “%”
D . wmic service get name, displayname, patchname, startmode | findstr /i “auto” | findstr /i /v “c:windows\” | findstr /i /v “””

Answer: D

Explanation:

Reference: https://medium.com/@SumitVerma101/windows-privilege-escalation-part-1-unquoted-servicepath-c7a011a8d8ae

Latest PT0-001 Dumps Valid Version with 248 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments