Git Product home page Git Product logo

nuclei-template-generator-for-wordpress-plugins's Introduction

Nuclei template generator for WordPress plugins

๐Ÿ›  Template Validate โ„๏ธ YAML Lint โœจ Update WordPress Plugin Templates

This is a simple script to scrape plugins from the WordPress website and then use to generate Nuclei templates.

image

Downloading templates

With Nuclei

You can consume these Nuclei templates directly from GitHub. Define the environment variable GITHUB_TEMPLATE_REPO like this:

export GITHUB_TEMPLATE_REPO=ricardomaia/nuclei-template-generator-for-wordpress-plugins

Update templates

$ nuclei -ut
                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.8.1

                projectdiscovery.io

[INF] ricardomaia/nuclei-template-generator-for-wordpress-plugins: already up-to-date
[INF] No new updates found for nuclei templates

Using the templates

nuclei -t github/nuclei-template-generator-for-wordpress-plugins/technologies/wordpress/plugins -u https://www.example.com

Cloning this Repo

$ git clone https://github.com/ricardomaia/nuclei-template-generator-for-wordpress-plugins.git
cd nuclei-template-generator-for-wordpress-plugin

With this option, you would run the templates as in the following examples.

Run templates

One target

nuclei -t technologies/wordpress/plugins -u https://www.example.com

One target & only TOP 100

nuclei -ud ./nuclei-templates -t technologies/wordpress/plugins -tags top-100 -u https://www.example.com

Multiple targets

nuclei -ud ./nuclei-templates -t technologies/wordpress -l list_of_targets.txt

image

Generate or update templates

(Windows)

docker compose up -d

(Linux)

docker-compose up -d

Filtering JSON results

To get only outdated plugins.

jq -r "select(.[\"matcher-name\"] != null) | .host, .info.metadata.plugin_namespace, .[\"extracted-results\"][], .[\"matcher-name\"], \"\n\" " < report.json

nuclei-template-generator-for-wordpress-plugins's People

Contributors

actions-user avatar ricardomaia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nuclei-template-generator-for-wordpress-plugins's Issues

YAML Lint error

YAML Lint error due to "trailing spaces". There is a blank line above all template files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.