Added find-nessus-plugin
This commit is contained in:
parent
ec9b741956
commit
72b74d2fd7
|
@ -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
|
||||
|
|
@ -199,6 +199,8 @@ pushd misc
|
|||
git_clone https://github.com/nullsecuritynet/tools.git
|
||||
git_clone https://github.com/leebaird/discover.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/wireghoul/graudit.git
|
||||
git_clone https://github.com/netbiosX/Checklists.git
|
||||
|
|
Loading…
Reference in New Issue