Skip to content

ptyspawnbinbash/template-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Enhancer

This tool utilizes the OpenAI API to improve the description, impact, and recommendation elements of a Nuclei template.

Requirements

The tool employs the OpenAI API, requiring an API key for access. You can conveniently store this key in your .bashrc file, for example.

export OPENAI_API_KEY=your-key-goes-here
pip install -r requirements.txt

Usage

python3 enhance-template.py <path-to-nuclei-template>

Or bash one-liner to run the script over multiple templates.

$high=$(nuclei -tl -s high); for i in $(echo $high); do python3 enhance-template.py $i ; done

This $high=$(nuclei -tl -s high) lists nuclei templates that have high severity.

This for i in $(echo $high); do python3 enhance-template.py $i ; done loops over each file-name in variable "high" and runs the script over them.

Before:

Before

After:

After

About

Tool queries the OpenAI API to enhance the description, impact, and recommendation keys of a nuclei template.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages