From a071981beeffbbf14597a14bf8ce1ddadaf22e7c Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 20 Jul 2021 18:33:13 +0530 Subject: [PATCH] readme update --- .github/scripts/README.tmpl | 20 ++++++++------------ .github/scripts/update-readme.py | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/scripts/README.tmpl b/.github/scripts/README.tmpl index 6c658685008..5f0f630645d 100644 --- a/.github/scripts/README.tmpl +++ b/.github/scripts/README.tmpl @@ -32,19 +32,19 @@ We hope that you also contribute by sending templates via **pull requests** or [ ## Nuclei Templates overview -An overview of the nuclei template directory including number of templates associated with each directory. +An overview of the nuclei template project, including statistics on unique tags, author, directory, severity, and type of templates. The table below contains the top ten statistics for each matrix; an expanded version of this is [available here](TEMPLATES-STATS.md), and also available in [JSON](TEMPLATES-STATS.json) format for integration.
-| Templates | Counts | Templates | Counts | Templates | Counts | -| ---------------- | ------------------------------ | --------------- | ------------------------------- | -------------- | ---------------------------- | -| cves | {countTpl("cves/*")} | vulnerabilities | {countTpl("vulnerabilities/*")} | exposed-panels | {countTpl("exposed-panels")} | -| takeovers | {countTpl("takeovers")} | exposures | {countTpl("exposures/*")} | technologies | {countTpl("technologies")} | -| misconfiguration | {countTpl("misconfiguration")} | workflows | {countTpl("workflows")} | miscellaneous | {countTpl("miscellaneous")} | -| default-logins | {countTpl("default-logins/*")} | file | {countTpl("file/*")} | dns | {countTpl("dns")} | -| fuzzing | {countTpl("fuzzing")} | helpers | {countTpl("helpers/*")} | iot | {countTpl("iot")} | +## Nuclei Templates Top 10 statistics + + + +
+ +{get_top10()} **{command("tree", -2, None)}**. @@ -52,10 +52,6 @@ An overview of the nuclei template directory including number of templates assoc
- -{get_top10()} - - 📖 Documentation ----- diff --git a/.github/scripts/update-readme.py b/.github/scripts/update-readme.py index 814459587fa..d5856174777 100644 --- a/.github/scripts/update-readme.py +++ b/.github/scripts/update-readme.py @@ -9,7 +9,7 @@ def command(args, start=None, end=None): return "\n".join(subprocess.run(args, text=True, capture_output=True).stdout.split("\n")[start:end])[:-1] def get_top10(): - HEADER = "## Top 10 Contributors\n\n" + HEADER = "## Nuclei Templates Top 10 statistics\n\n" TOP10 = command(["cat", "TOP-10.md"]) return HEADER + TOP10 if len(TOP10) > 0 else ""