Skip to content

Instantly share code, notes, and snippets.

@vpnwall-services
Created May 14, 2018 17:10
Show Gist options
  • Save vpnwall-services/5102692a821d8d864ba34f96762bd0b8 to your computer and use it in GitHub Desktop.
Save vpnwall-services/5102692a821d8d864ba34f96762bd0b8 to your computer and use it in GitHub Desktop.
[OMP Commander] Simplify OMP commands #linux #openvas #shell
#!/bin/bash
if [ -z "$1" ];then
echo "Command ?"
else
COMMAND="$1"
omp --host=localhost --port=9390 --username=admin --password=admin $COMMAND
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment