From 72b74d2fd76aeccafa28f593dc5115e7f970eeb6 Mon Sep 17 00:00:00 2001 From: mgeeky Date: Tue, 25 Jun 2019 16:06:10 +0200 Subject: [PATCH] Added find-nessus-plugin --- linux/find-nessus-plugin.sh | 17 +++++++++++++++++ linux/prepare-kali.sh | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 linux/find-nessus-plugin.sh diff --git a/linux/find-nessus-plugin.sh b/linux/find-nessus-plugin.sh new file mode 100644 index 0000000..dae41c3 --- /dev/null +++ b/linux/find-nessus-plugin.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ $# -ne 1 ]; then + echo "Usage: ./find-nessus-plugin.sh " + 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 + diff --git a/linux/prepare-kali.sh b/linux/prepare-kali.sh index 6ce0ad3..8d92feb 100644 --- a/linux/prepare-kali.sh +++ b/linux/prepare-kali.sh @@ -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