Added find-nessus-plugin

This commit is contained in:
mgeeky 2019-06-25 16:06:10 +02:00
parent ec9b741956
commit 72b74d2fd7
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: ./find-nessus-plugin.sh <PLUGIN-ID>"
exit 1
fi
PLUGIN_ID=$1
PLUGINS_DIR=$(find / -name zinwave_series_3000_das_default_credentials.nasl -exec dirname {} \; -quit)
if [[ "$PLUGINS_DIR" == "" ]]; then
echo "[!] Could not find Nessus plugins directory."
exit 1
fi
grep -l -a -o -r -m 1 --include=*.nasl -G "script_id($PLUGIN_ID)" $PLUGINS_DIR

View File

@ -199,6 +199,8 @@ pushd misc
git_clone https://github.com/nullsecuritynet/tools.git git_clone https://github.com/nullsecuritynet/tools.git
git_clone https://github.com/leebaird/discover.git git_clone https://github.com/leebaird/discover.git
git_clone https://github.com/dxa4481/truffleHog.git git_clone https://github.com/dxa4481/truffleHog.git
git_clone https://github.com/internetwache/GitTools.git
git_clone https://github.com/kost/dvcs-ripper.git
git_clone https://github.com/XiphosResearch/exploits.git git_clone https://github.com/XiphosResearch/exploits.git
git_clone https://github.com/wireghoul/graudit.git git_clone https://github.com/wireghoul/graudit.git
git_clone https://github.com/netbiosX/Checklists.git git_clone https://github.com/netbiosX/Checklists.git