From 9027c1ece734a12c145b709d0f1400b718845fd8 Mon Sep 17 00:00:00 2001 From: Are Casilla Date: Sat, 16 Feb 2019 00:07:00 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b33b730..07e4177 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,11 @@ - cd /usr/src/wmic - make "CPP=gcc -E -ffreestanding", - cp Samba/source/bin/wmic /usr/local/bin/ + +### How to Test it +- #Get system information +- #./wmic -U[user]%[password] //[host/ip] "[WMI Query]" +- wmic -U administrator --password=very-secure-password //78.46.41.48 "SELECT * FROM Win32_OperatingSystem" + +- Get list of running processes +- wmic -U administrator --password=very-secure-password //78.46.41.48 "select caption, name, parentprocessid, processid from win32_process"