Skip to content

Instantly share code, notes, and snippets.

@jkomyno
Last active September 16, 2016 09:01
Show Gist options
  • Save jkomyno/cd54509015d4763da45d1a789c27d877 to your computer and use it in GitHub Desktop.
Save jkomyno/cd54509015d4763da45d1a789c27d877 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /data/tools/
wget http://www.openvas.org/download/wmi/wmi-1.3.14.tar.bz2
bzip2 -cd wmi-1.3.14.tar.bz2 | tar xf -
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