2019-02-16 00:16:52 +01:00
2019-02-16 00:16:52 +01:00
2019-02-16 00:16:52 +01:00
2019-02-16 00:16:52 +01:00
2019-02-16 00:16:52 +01:00
2019-02-16 00:10:19 +01:00

wmic

How to Compile

  • Tested on Debian 9 Stretch
  • cd /usr/src/
  • apt-get install autoconf gcc libdatetime-perl make build-essential g++ python-dev
  • git clone git@github.com:astbss/wmic.git
  • 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 administrator --password=very-secure-password //10.10.10.10 "SELECT * FROM Win32_OperatingSystem"

  • Get list of running processes

  • wmic -U administrator --password=very-secure-password //10.10.10.10 "select caption, name, parentprocessid, processid from win32_process"

S
Description
No description provided
Readme 4.7 MiB
Languages
C 90.3%
Perl 2.9%
Shell 2.2%
Makefile 1%
JavaScript 1%
Other 2.5%