Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Automate nuclei
nucleir() {
local TPL="$HOME/Documents/nuclei-templates"
[[ -z "${1}" ]] && { echo "-target/-l ?"; return; }
[[ -z "${2}" ]] && { echo "Input target?"; return; }
local T=""
for i in `ls -1d ${TPL}/*/`; do
if [[ ! "${i}" =~ (brute-force|examples|payloads) ]]; then
T+="-t ${i} "
fi
done
eval "nuclei -c 200 ${1} ${2} ${T} \
-exclude ${TPL}/technologies/tech-detect.yaml \
-o \"$(basename $2)_nuclei-results.txt\""
}
nucleir $1 $2
@maverickNerd

This comment has been minimized.

Copy link

@maverickNerd maverickNerd commented Sep 1, 2020

there is no -exclude option in nuclei :)

@dwisiswant0

This comment has been minimized.

Copy link
Owner Author

@dwisiswant0 dwisiswant0 commented Sep 2, 2020

there is no -exclude option in nuclei :)

> GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@master

@OviKing123

This comment has been minimized.

Copy link

@OviKing123 OviKing123 commented Dec 10, 2020

how to use this script bro?

@ooge0

This comment has been minimized.

Copy link

@ooge0 ooge0 commented Mar 5, 2021

@maverickNerd

there is no -exclude option in nuclei :)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment