Created
December 2, 2015 09:30
-
-
Save bse666/089542569898a329c547 to your computer and use it in GitHub Desktop.
wmic on linux from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install autoconf -y | |
cd ~/Downloads | |
wget http://www.openvas.org/download/wmi/wmi-1.3.14.tar.bz2 | |
tar -xvf wmi-1.3.14.tar.bz2 | |
cd wmi-1.3.14 | |
sudo make "CPP=gcc -E -ffreestanding" | |
sudo cp Samba/source/bin/wmic /usr/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment